Diffstat (limited to 'noncore/graphics/opie-eye/impl/dir/dir_lister.h') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/graphics/opie-eye/impl/dir/dir_lister.h | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/noncore/graphics/opie-eye/impl/dir/dir_lister.h b/noncore/graphics/opie-eye/impl/dir/dir_lister.h index d6ca6c0..445adbf 100644 --- a/noncore/graphics/opie-eye/impl/dir/dir_lister.h +++ b/noncore/graphics/opie-eye/impl/dir/dir_lister.h @@ -15,3 +15,3 @@ class Dir_DirLister : public PDirLister { public: - Dir_DirLister( bool ); + Dir_DirLister(bool,bool,int); virtual ~Dir_DirLister(){} @@ -32,4 +32,12 @@ public: private: - bool m_allFiles; + bool m_allFiles:1; + bool m_recursive:1; + int m_recDepth; QDir m_currentDir; + //! recursive listing. + /*! + * \param path this is the offset to the current path. eg. when currentDepth = 0 then it MUST empty + */ + QStringList recFiles(const QString&path,int currentDepth)const; + QString m_Filter; }; |