author | zecke <zecke> | 2002-10-06 15:40:28 (UTC) |
---|---|---|
committer | zecke <zecke> | 2002-10-06 15:40:28 (UTC) |
commit | 8d3e63d01c9a37dfd27f3b6bd9429c8a0274d90f (patch) (unidiff) | |
tree | fb73b4dd7035b56fd7271a689e80bc2c2067c719 /libopie/ofileselector/ofileselector.h | |
parent | 24393565a48df6bb65516c25c124280724af9a75 (diff) | |
download | opie-8d3e63d01c9a37dfd27f3b6bd9429c8a0274d90f.zip opie-8d3e63d01c9a37dfd27f3b6bd9429c8a0274d90f.tar.gz opie-8d3e63d01c9a37dfd27f3b6bd9429c8a0274d90f.tar.bz2 |
As promised here is the switching
It's working as expected
I'll clean up it a bit fix some UI bugs
and then put it into the libopie.pro
Diffstat (limited to 'libopie/ofileselector/ofileselector.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | libopie/ofileselector/ofileselector.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/libopie/ofileselector/ofileselector.h b/libopie/ofileselector/ofileselector.h index 3e834fb..76c3ced 100644 --- a/libopie/ofileselector/ofileselector.h +++ b/libopie/ofileselector/ofileselector.h | |||
@@ -37,6 +37,7 @@ | |||
37 | #include <qpe/fileselector.h> | 37 | #include <qpe/fileselector.h> |
38 | 38 | ||
39 | #include <qdir.h> | 39 | #include <qdir.h> |
40 | #include <qguardedptr.h> | ||
40 | #include <qwidget.h> | 41 | #include <qwidget.h> |
41 | #include <qstring.h> | 42 | #include <qstring.h> |
42 | #include <qpixmap.h> | 43 | #include <qpixmap.h> |
@@ -231,6 +232,8 @@ class OFileSelector : public QWidget { | |||
231 | */ | 232 | */ |
232 | void setMode( int ); | 233 | void setMode( int ); |
233 | 234 | ||
235 | void setLister( const QString& name ); | ||
236 | void setView( const QString& all ); | ||
234 | /** | 237 | /** |
235 | * whether or not to show dirs | 238 | * whether or not to show dirs |
236 | */ | 239 | */ |
@@ -377,6 +380,7 @@ class OFileSelector : public QWidget { | |||
377 | OFileFactory* m_fileFactory; | 380 | OFileFactory* m_fileFactory; |
378 | OFileSelectorMain* m_mainView; | 381 | OFileSelectorMain* m_mainView; |
379 | OLister* m_lister; | 382 | OLister* m_lister; |
383 | QString m_listerName; | ||
380 | OFileView* m_fileView; | 384 | OFileView* m_fileView; |
381 | FileSelector* m_select; | 385 | FileSelector* m_select; |
382 | int m_mode, m_selector; | 386 | int m_mode, m_selector; |
@@ -446,10 +450,10 @@ class OFileSelector : public QWidget { | |||
446 | void updateMimeCheck(); | 450 | void updateMimeCheck(); |
447 | 451 | ||
448 | void initializeOldSelector(); | 452 | void initializeOldSelector(); |
449 | void initLister(); | ||
450 | void initToolbar(); | 453 | void initToolbar(); |
451 | void initLocations(); | 454 | void initLocations(); |
452 | void initializeView() {}; // FIXME | 455 | void initializeView(); // FIXME |
456 | void fillList(); | ||
453 | void initFactory(); | 457 | void initFactory(); |
454 | /** | 458 | /** |
455 | * Returns the current mimetype | 459 | * Returns the current mimetype |