summaryrefslogtreecommitdiff
path: root/libopie/ofileselector/ofileselector.h
Side-by-side diff
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 @@
#ifndef opiefileselector_h
#define opiefileselector_h
#include <qpe/fileselector.h>
#include <qdir.h>
+#include <qguardedptr.h>
#include <qwidget.h>
#include <qstring.h>
#include <qpixmap.h>
#include <qstringlist.h>
#include <qmap.h>
#include <qvaluelist.h>
@@ -228,12 +229,14 @@ class OFileSelector : public QWidget {
/**
* set the Selector Mode
*/
void setMode( int );
+ void setLister( const QString& name );
+ void setView( const QString& all );
/**
* whether or not to show dirs
*/
bool showDirs()const { return m_dir; }
/**
@@ -374,12 +377,13 @@ class OFileSelector : public QWidget {
private:
OFileFactory* m_fileFactory;
OFileSelectorMain* m_mainView;
OLister* m_lister;
+ QString m_listerName;
OFileView* m_fileView;
FileSelector* m_select;
int m_mode, m_selector;
QComboBox *m_location,
*m_mimeCheck,
*m_viewCheck;
@@ -443,16 +447,16 @@ class OFileSelector : public QWidget {
/**
* Updates the QComboBox with the current mimetypes
*/
void updateMimeCheck();
void initializeOldSelector();
- void initLister();
void initToolbar();
void initLocations();
- void initializeView() {}; // FIXME
+ void initializeView(); // FIXME
+ void fillList();
void initFactory();
/**
* Returns the current mimetype
*/
QString currentMimeType()const;
class OFileSelectorPrivate;