Diffstat (limited to 'noncore/graphics/opie-eye/impl/dir/dir_lister.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/graphics/opie-eye/impl/dir/dir_lister.h | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/noncore/graphics/opie-eye/impl/dir/dir_lister.h b/noncore/graphics/opie-eye/impl/dir/dir_lister.h new file mode 100644 index 0000000..fc63bb0 --- a/dev/null +++ b/noncore/graphics/opie-eye/impl/dir/dir_lister.h | |||
@@ -0,0 +1,34 @@ | |||
1 | /* | ||
2 | * GPLv2 zecke@handhelds.org | ||
3 | */ | ||
4 | |||
5 | #ifndef DIR_LISTER_INTERFACE_LISTER_H | ||
6 | #define DIR_LISTER_INTERFACE_LISTER_H | ||
7 | |||
8 | #include <qdir.h> | ||
9 | |||
10 | #include <iface/dirlister.h> | ||
11 | |||
12 | class Config; | ||
13 | class Dir_DirLister : public PDirLister { | ||
14 | public: | ||
15 | Dir_DirLister( bool ); | ||
16 | |||
17 | QString defaultPath()const; | ||
18 | QString setStartPath( const QString& ); | ||
19 | QString currentPath()const; | ||
20 | QStringList folders()const; | ||
21 | QStringList files()const; | ||
22 | |||
23 | void deleteImage( const QString& ); | ||
24 | void thumbNail( const QString&, int, int ); | ||
25 | QImage image( const QString&, Factor, int ); | ||
26 | void imageInfo( const QString& ); | ||
27 | void fullImageInfo( const QString& ); | ||
28 | |||
29 | private: | ||
30 | bool m_allFiles; | ||
31 | QDir m_currentDir; | ||
32 | }; | ||
33 | |||
34 | #endif | ||