Diffstat (limited to 'noncore/graphics/opie-eye/impl/doc/doc_lister.h') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/graphics/opie-eye/impl/doc/doc_lister.h | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/noncore/graphics/opie-eye/impl/doc/doc_lister.h b/noncore/graphics/opie-eye/impl/doc/doc_lister.h new file mode 100644 index 0000000..d89b579 --- a/dev/null +++ b/noncore/graphics/opie-eye/impl/doc/doc_lister.h | |||
@@ -0,0 +1,42 @@ | |||
1 | /* | ||
2 | * GPLv2 zecke@handhelds.org | ||
3 | */ | ||
4 | |||
5 | #ifndef DOC_LISTER_INTERFACE_LISTER_H | ||
6 | #define DOC_LISTER_INTERFACE_LISTER_H | ||
7 | |||
8 | #include <iface/dirlister.h> | ||
9 | |||
10 | #include <qstring.h> | ||
11 | #include <qmap.h> | ||
12 | |||
13 | class Config; | ||
14 | class Doc_DirLister : public PDirLister { | ||
15 | Q_OBJECT | ||
16 | public: | ||
17 | Doc_DirLister(); | ||
18 | virtual ~Doc_DirLister(){} | ||
19 | |||
20 | QString defaultPath()const; | ||
21 | QString setStartPath( const QString& ); | ||
22 | QString currentPath()const; | ||
23 | QStringList folders()const; | ||
24 | QStringList files()const; | ||
25 | |||
26 | void deleteImage( const QString& ); | ||
27 | void thumbNail( const QString&, int, int ); | ||
28 | QImage image( const QString&, Factor, int ); | ||
29 | void imageInfo( const QString& ); | ||
30 | void fullImageInfo( const QString& ); | ||
31 | virtual QString nameToFname(const QString&name)const; | ||
32 | |||
33 | private: | ||
34 | QMap<QString,QString> m_namemap,m_filemap; | ||
35 | QStringList m_out; | ||
36 | protected slots: | ||
37 | virtual void slotFullInfo(const QString&, const QString&); | ||
38 | virtual void slotThumbInfo(const QString&, const QString&); | ||
39 | virtual void slotThumbNail(const QString&, const QPixmap&); | ||
40 | }; | ||
41 | |||
42 | #endif | ||