author | zecke <zecke> | 2003-05-25 17:51:52 (UTC) |
---|---|---|
committer | zecke <zecke> | 2003-05-25 17:51:52 (UTC) |
commit | 7e1dce1560e45ef7fad91a8da2d0d96c1b166df9 (patch) (unidiff) | |
tree | c896c8ab6129414fa80df712a3a5794fa933716f /libopie/ofileselector/opixmapprovider.h | |
parent | f1773ad179cb68b8e7777f3d43667ed5ebf1968d (diff) | |
download | opie-7e1dce1560e45ef7fad91a8da2d0d96c1b166df9.zip opie-7e1dce1560e45ef7fad91a8da2d0d96c1b166df9.tar.gz opie-7e1dce1560e45ef7fad91a8da2d0d96c1b166df9.tar.bz2 |
die here too
Diffstat (limited to 'libopie/ofileselector/opixmapprovider.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | libopie/ofileselector/opixmapprovider.h | 41 |
1 files changed, 0 insertions, 41 deletions
diff --git a/libopie/ofileselector/opixmapprovider.h b/libopie/ofileselector/opixmapprovider.h deleted file mode 100644 index 2165fdb..0000000 --- a/libopie/ofileselector/opixmapprovider.h +++ b/dev/null | |||
@@ -1,41 +0,0 @@ | |||
1 | #ifndef OPIE_PIXMPAP_PROVIDER | ||
2 | #define OPIE_PIXMPAP_PROVIDER | ||
3 | |||
4 | #include <qpixmap.h> | ||
5 | |||
6 | #include "ofileselector.h" | ||
7 | |||
8 | /** | ||
9 | * This is a basic interface for a Pixmap provider | ||
10 | * it provides pixmaps for a URL | ||
11 | * So the OLocalLister provides mimetype icons | ||
12 | */ | ||
13 | class QFileInfo; | ||
14 | class OPixmapProvider { | ||
15 | public: | ||
16 | /* you can or these | ||
17 | * but File | Dir would be insane ;) | ||
18 | */ | ||
19 | enum Type { File = 0, Dir = 1, Symlink = 2 }; | ||
20 | OPixmapProvider( OFileSelector* sel ); | ||
21 | virtual ~OPixmapProvider(); | ||
22 | |||
23 | virtual QPixmap pixmap( int t, const QString& mime, QFileInfo*, | ||
24 | bool isLocked = FALSE ); | ||
25 | virtual QPixmap pixmap( int t, const QString& mime, | ||
26 | const QString& dir, const QString& file, | ||
27 | bool isLocked = FALSE ); | ||
28 | |||
29 | protected: | ||
30 | OFileSelector* selector(); | ||
31 | private: | ||
32 | QPixmap file( QFileInfo*, | ||
33 | bool sym, bool is ); | ||
34 | QPixmap dir ( QFileInfo*, | ||
35 | bool sym, bool is ); | ||
36 | QPixmap sym ( QFileInfo*, | ||
37 | bool is ); | ||
38 | OFileSelector* m_sel; | ||
39 | }; | ||
40 | |||
41 | #endif | ||