summaryrefslogtreecommitdiff
path: root/libopie/ofileselector/ofileselector.h
authorzecke <zecke>2002-10-06 15:40:28 (UTC)
committer zecke <zecke>2002-10-06 15:40:28 (UTC)
commit8d3e63d01c9a37dfd27f3b6bd9429c8a0274d90f (patch) (unidiff)
treefb73b4dd7035b56fd7271a689e80bc2c2067c719 /libopie/ofileselector/ofileselector.h
parent24393565a48df6bb65516c25c124280724af9a75 (diff)
downloadopie-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.h8
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
@@ -34,12 +34,13 @@
34#ifndef opiefileselector_h 34#ifndef opiefileselector_h
35#define opiefileselector_h 35#define opiefileselector_h
36 36
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>
43#include <qstringlist.h> 44#include <qstringlist.h>
44#include <qmap.h> 45#include <qmap.h>
45#include <qvaluelist.h> 46#include <qvaluelist.h>
@@ -228,12 +229,14 @@ class OFileSelector : public QWidget {
228 229
229 /** 230 /**
230 * set the Selector Mode 231 * set the Selector Mode
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 */
237 bool showDirs()const { return m_dir; } 240 bool showDirs()const { return m_dir; }
238 241
239 /** 242 /**
@@ -374,12 +377,13 @@ class OFileSelector : public QWidget {
374 377
375 private: 378 private:
376 379
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;
383 QComboBox *m_location, 387 QComboBox *m_location,
384 *m_mimeCheck, 388 *m_mimeCheck,
385 *m_viewCheck; 389 *m_viewCheck;
@@ -443,16 +447,16 @@ class OFileSelector : public QWidget {
443 /** 447 /**
444 * Updates the QComboBox with the current mimetypes 448 * Updates the QComboBox with the current mimetypes
445 */ 449 */
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
456 */ 460 */
457 QString currentMimeType()const; 461 QString currentMimeType()const;
458 class OFileSelectorPrivate; 462 class OFileSelectorPrivate;