-rw-r--r-- | libopie/ofileselector.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/libopie/ofileselector.h b/libopie/ofileselector.h index 458e552..b91c0ea 100644 --- a/libopie/ofileselector.h +++ b/libopie/ofileselector.h @@ -154,9 +154,10 @@ class OFileSelector : public QWidget { int mode()const { return m_mode; }; int selector()const { return m_selector; }; void setSelector( int ); - + bool showPopup()const { return m_showPopup; }; + void setShowPopup( bool pop ) { m_showPopup = pop; }; void setPopupMenu( QPopupMenu * ); void updateLay(); @@ -194,14 +195,16 @@ class OFileSelector : public QWidget { protected: private: -int m_mode, m_selector; + int m_mode, m_selector; QComboBox *m_location, *m_mimeCheck, *m_viewCheck; QPushButton *m_homeButton, *m_docButton, *m_hideButton, *m_ok, *m_cancel; QPushButton *m_reread, *m_up; QListView *m_View; QCheckBox *m_checkPerm; + QWidget *m_pseudo; + QVBoxLayout *m_pseudoLayout; QString m_currentDir; QString m_name; QStringList m_mimetypes; @@ -229,8 +232,9 @@ int m_mode, m_selector; bool m_autoMime:1; bool m_case:1; bool m_dir:1; bool m_files:1; + bool m_showPopup:1; // implementation todo virtual void addFile(const QString &mime, QFileInfo *info, bool symlink = FALSE ); virtual void addDir( const QString &mime, QFileInfo *info , bool symlink = FALSE ); @@ -261,8 +265,9 @@ private slots: virtual void slotOpen(); virtual void slotRescan(); virtual void slotRename(); virtual void slotDelete(); + virtual void cdUP(); }; |