diff options
author | Mavridis Philippe <[email protected]> | 2021-03-16 10:20:22 +0200 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2021-03-18 19:55:00 +0900 |
commit | b43a934bb7abd7af1ab279b5bc6193052f597df5 (patch) | |
tree | 568bca9ca548bfd12f0020e7c94163ea6b7c58a1 /src/directorylist.h | |
parent | 769a496bf77457ac4bcb06cdc19a4fde721d40a8 (diff) | |
download | klamav-b43a934bb7abd7af1ab279b5bc6193052f597df5.tar.gz klamav-b43a934bb7abd7af1ab279b5bc6193052f597df5.zip |
Klamscan, Scheduler: Reset DirectoryList after use
Signed-off-by: Mavridis Philippe <[email protected]>
(cherry picked from commit 69817f0eae3ed0e420a7d0e58c29953dd65dda97)
Diffstat (limited to 'src/directorylist.h')
-rw-r--r-- | src/directorylist.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/directorylist.h b/src/directorylist.h index 79f3b9c..aebbeec 100644 --- a/src/directorylist.h +++ b/src/directorylist.h @@ -48,9 +48,11 @@ public: static TQStringList pruneSelectedDirs( TQStringList listOfUrls = 0 ); void writeConfig( const char* optGroup, const char* optName ); + void reset(); signals: void dirsSelected(TQStringList& dirs); + void resetDirs(); public slots: @@ -85,6 +87,7 @@ public: public slots: void newItems( const KFileItemList& ); void completed() { if( childCount() == 0 ) { setExpandable( false ); repaint(); } } + void reset(); private: CollectionSetup *collectionSetup; @@ -113,6 +116,7 @@ class DeviceItem : public TQObject, public TQCheckListItem public slots: void newItems( const KFileItemList& ); void completed() { if( childCount() == 0 ) { setExpandable( false ); repaint(); } } + void reset(); private: void mountDevice(const TQString & device); CollectionSetup *collectionSetup; |