author | zecke <zecke> | 2002-09-15 22:23:21 (UTC) |
---|---|---|
committer | zecke <zecke> | 2002-09-15 22:23:21 (UTC) |
commit | db5920256d8ee5e7276ac2bdd32c66b99dd88fa0 (patch) (unidiff) | |
tree | 797d385c64595293d666d3e3fb61abad696dd612 /libopie/ofileselector/olister.h~ | |
parent | aabe567e96d040c483b947f5758a1405cc312fdc (diff) | |
download | opie-db5920256d8ee5e7276ac2bdd32c66b99dd88fa0.zip opie-db5920256d8ee5e7276ac2bdd32c66b99dd88fa0.tar.gz opie-db5920256d8ee5e7276ac2bdd32c66b99dd88fa0.tar.bz2 |
remove bogus files
Diffstat (limited to 'libopie/ofileselector/olister.h~') (more/less context) (show whitespace changes)
-rw-r--r-- | libopie/ofileselector/olister.h~ | 57 |
1 files changed, 0 insertions, 57 deletions
diff --git a/libopie/ofileselector/olister.h~ b/libopie/ofileselector/olister.h~ deleted file mode 100644 index bb6304c..0000000 --- a/libopie/ofileselector/olister.h~ +++ b/dev/null | |||
@@ -1,57 +0,0 @@ | |||
1 | #ifndef OPIE_FILE_LISTER_H | ||
2 | #define OPIE_FILE_LISTER_H | ||
3 | |||
4 | #include <qfileinfo.h> | ||
5 | #include <qmap.h> | ||
6 | #include <qstring.h> | ||
7 | |||
8 | class OFileSelector; | ||
9 | /** | ||
10 | * lister is something like KIO but very | ||
11 | * very basic and currently only for | ||
12 | * populating our views. | ||
13 | * This is a base class which needs to be implemented. | ||
14 | * @see OLocalLister for a filesystem based implementation | ||
15 | */ | ||
16 | class OLister { | ||
17 | public: | ||
18 | OLister( OFileSelector* ); | ||
19 | virtual ~OLister(); | ||
20 | virtual void reparse(const QString& path) = 0; | ||
21 | |||
22 | /** | ||
23 | * return a list of available mimetypes | ||
24 | */ | ||
25 | virtual QMap<QString, QString> mimeTypes( const QString& dir ) = 0; | ||
26 | |||
27 | protected: | ||
28 | |||
29 | void addFile( const QString& mine, | ||
30 | QFileInfo*, | ||
31 | bool isSymlink = FALSE ); | ||
32 | void addFile( const QString& mine, | ||
33 | const QString& path, | ||
34 | const QString& file, | ||
35 | bool isSymlink = FALSE ); | ||
36 | void addDir( const QString& mine, | ||
37 | QFileInfo*, | ||
38 | bool isSymlink = FALSE ); | ||
39 | void addDir( const QString& mine, | ||
40 | const QString& path, | ||
41 | const QString& dir, | ||
42 | bool isSymlink = FALSE ); | ||
43 | void addSymlink( const QString& mine, | ||
44 | QFileInfo* info, | ||
45 | bool isSymlink = FALSE); | ||
46 | void addSymlink( const QString& mine, | ||
47 | const QString& path, | ||
48 | const QString& name, | ||
49 | bool isSymlink = FALSE ); | ||
50 | OFileSelector* view(); | ||
51 | private: | ||
52 | OFileSelector* m_view; | ||
53 | |||
54 | |||
55 | }; | ||
56 | |||
57 | #endif | ||