diff options
Diffstat (limited to 'src/directorylist.h')
-rw-r--r-- | src/directorylist.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/directorylist.h b/src/directorylist.h index 6c6b451..c1820c8 100644 --- a/src/directorylist.h +++ b/src/directorylist.h @@ -22,6 +22,7 @@ #include <tqcheckbox.h> //inlined functions #include <tqlistview.h> //baseclass #include <tqvbox.h> //baseclass +#include <tqstringlist.h> #include <kdirlister.h> //stack allocated #include <kurl.h> //stack allocated @@ -47,6 +48,8 @@ public: TQStringList m_dirs; TQMap<TQString,int> m_refcount; + TQStringList pruneSelectedDirs(); + signals: void dirsSelected(TQStringList& dirs); @@ -99,11 +102,11 @@ class DeviceItem : public TQObject, public TQCheckListItem public: DeviceItem( TQListView *parent ); DeviceItem( TQListViewItem *parent, const TQString &name, const KURL &url ); - + TQCheckListItem *parent() const { return (TQCheckListItem*)TQListViewItem::parent(); } bool isDisabled() const { return CollectionSetup::instance()->recursive() && parent() && parent()->isOn(); } TQString fullPath() const; - + void setOpen( bool b ); // reimpl. void stateChange( bool ); // reimpl. void activate(); // reimpl. |