author | ar <ar> | 2004-09-15 21:11:32 (UTC) |
---|---|---|
committer | ar <ar> | 2004-09-15 21:11:32 (UTC) |
commit | 6a60be54b98f1eb50df5a37454bb71bd52475f43 (patch) (side-by-side diff) | |
tree | b14d617d0108f9612ce16e95d03c9b55b5d0cbd7 /libopie2/opieui/fileselector/ofileselector.h | |
parent | e3709ce5db7f07cbac94900cb7b66ad3e7a6f791 (diff) | |
download | opie-6a60be54b98f1eb50df5a37454bb71bd52475f43.zip opie-6a60be54b98f1eb50df5a37454bb71bd52475f43.tar.gz opie-6a60be54b98f1eb50df5a37454bb71bd52475f43.tar.bz2 |
- implement a QStringList* m_allList for show all files/directories if a "All Item" is selected. (hope the description is not too confused ;) )
Diffstat (limited to 'libopie2/opieui/fileselector/ofileselector.h') (more/less context) (show whitespace changes)
-rw-r--r-- | libopie2/opieui/fileselector/ofileselector.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libopie2/opieui/fileselector/ofileselector.h b/libopie2/opieui/fileselector/ofileselector.h index b1cd405..d96712a 100644 --- a/libopie2/opieui/fileselector/ofileselector.h +++ b/libopie2/opieui/fileselector/ofileselector.h @@ -112,24 +112,25 @@ public: QString selectedName()const; QString selectedPath()const; QString directory()const; DocLnk selectedDocument()const; int fileCount()const; void reread(); int mode()const; int selector()const; + bool allItem( const QString& )const; /** * Set the Icon visible * @param b Show or Hide the New Button */ void setNewVisible( bool b ); /** * Set the Icon visible */ void setCloseVisible( bool b ); @@ -203,24 +204,26 @@ private: MimeTypes m_mimeType; // list of mimetypes QMap<QString, Internal::OFileViewInterface*> m_views; // QString translated view name + ViewInterface Ptr /* views register themselves automatically */ QList<Internal::OFileViewInterface> m_viewsPtr; QHBox* m_nameBox; // the LineEdit + Label is hold here QHBox* m_cmbBox; // this holds the two combo boxes QString m_startDir; int m_mode; int m_selector; + QStringList* m_allList; + struct Data; // used for future versions Data *d; private slots: void slotMimeTypeChanged(); /* will set the text of the lineedit and emit a fileChanged signal */ void slotDocLnkBridge( const DocLnk& ); void slotFileBridge( const QString& ); void slotViewChange( const QString& ); bool eventFilter (QObject *o, QEvent *e); |