Diffstat (limited to 'noncore/apps/advancedfm/advancedfm.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/apps/advancedfm/advancedfm.h | 42 |
1 files changed, 25 insertions, 17 deletions
diff --git a/noncore/apps/advancedfm/advancedfm.h b/noncore/apps/advancedfm/advancedfm.h index 42775ee..7478dcb 100644 --- a/noncore/apps/advancedfm/advancedfm.h +++ b/noncore/apps/advancedfm/advancedfm.h @@ -46,2 +46,3 @@ class QListViewItem; class QLineEdit; +class MenuButton; @@ -57,19 +58,2 @@ public: ~AdvancedFm(); - - OTabWidget *TabWidget; -// QTabWidget *TabWidget; - QWidget *tab, *tab_2, *tab_3; - QListView *Local_View, *Remote_View; - - QLineEdit *currentPathEdit; - QPopupMenu *fileMenu, *localMenu, *remoteMenu, *viewMenu; - QToolButton *homeButton, *docButton, *cdUpButton, *sdButton, *cfButton, *qpeDirButton; -// QPushButton *homeButton, *docButton, *cdUpButton, *sdButton, *cfButton, *qpeDirButton; - QDir currentDir, currentRemoteDir; - QComboBox *currentPathCombo; - QString filterStr; - QListViewItem * item; - bool b; - QStringList fileSystemTypeList, fsList; - int currentServerConfig; protected slots: @@ -116,2 +100,19 @@ protected slots: protected: + + OTabWidget *TabWidget; +// QTabWidget *TabWidget; + QWidget *tab, *tab_2, *tab_3; + QListView *Local_View, *Remote_View; + + QLineEdit *currentPathEdit; + QPopupMenu *fileMenu, *localMenu, *remoteMenu, *viewMenu /*, *customDirMenu*/; + QToolButton *homeButton, *docButton, *cdUpButton, *sdButton, *cfButton, *qpeDirButton; +// QPushButton *homeButton, *docButton, *cdUpButton, *sdButton, *cfButton, *qpeDirButton; + QDir currentDir, currentRemoteDir; + QComboBox *currentPathCombo; + QString filterStr, s_addBookmark, s_removeBookmark; + QListViewItem * item; + bool b; + QStringList fileSystemTypeList, fsList; + int currentServerConfig; bool zaurusDevice; @@ -131,2 +132,3 @@ protected: protected slots: + void dirMenuSelected(int); void showFileMenu(); @@ -153,2 +155,3 @@ protected slots: private: + MenuButton *menuButton; QString oldName; @@ -160,4 +163,9 @@ private: void okRename(); + void customDirsToMenu(); + void addCustomDir(); + void removeCustomDir(); + private slots: void processEnded(); + void gotoCustomDir(const QString &); }; |