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/ofilefactory.h | |
parent | f1773ad179cb68b8e7777f3d43667ed5ebf1968d (diff) | |
download | opie-7e1dce1560e45ef7fad91a8da2d0d96c1b166df9.zip opie-7e1dce1560e45ef7fad91a8da2d0d96c1b166df9.tar.gz opie-7e1dce1560e45ef7fad91a8da2d0d96c1b166df9.tar.bz2 |
die here too
Diffstat (limited to 'libopie/ofileselector/ofilefactory.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | libopie/ofileselector/ofilefactory.h | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/libopie/ofileselector/ofilefactory.h b/libopie/ofileselector/ofilefactory.h deleted file mode 100644 index 96fb00d..0000000 --- a/libopie/ofileselector/ofilefactory.h +++ b/dev/null | |||
@@ -1,32 +0,0 @@ | |||
1 | #ifndef OFILE_FACTORY_H | ||
2 | #define OFILE_FACTORY_H | ||
3 | |||
4 | #include "olister.h" | ||
5 | #include "ofileview.h" | ||
6 | class OFileFactory { | ||
7 | public: | ||
8 | typedef OLister* (*listerFact)(OFileSelector*); | ||
9 | typedef OFileView* (*viewFact)(OFileSelector*, QWidget*); | ||
10 | OFileFactory(); | ||
11 | ~OFileFactory(); | ||
12 | |||
13 | QStringList lister()const; | ||
14 | QStringList views()const; | ||
15 | |||
16 | OFileView* view( const QString& name, OFileSelector*, QWidget* ); | ||
17 | OLister* lister( const QString& name, OFileSelector* ); | ||
18 | |||
19 | void addLister( const QString&, listerFact fact ); | ||
20 | void addView( const QString&, viewFact ); | ||
21 | |||
22 | void removeLister( const QString& ); | ||
23 | void removeView( const QString& ); | ||
24 | |||
25 | private: | ||
26 | QMap<QString, listerFact> m_lister; | ||
27 | QMap<QString, viewFact> m_view; | ||
28 | |||
29 | }; | ||
30 | |||
31 | |||
32 | #endif | ||