author | llornkcor <llornkcor> | 2003-02-23 03:36:24 (UTC) |
---|---|---|
committer | llornkcor <llornkcor> | 2003-02-23 03:36:24 (UTC) |
commit | d51ca116a8c4d234db93021ccad36506980c317f (patch) (unidiff) | |
tree | 62fcb42c66ec95bbbb8d81b629fad7a7d4db4a1b /noncore/apps/advancedfm/advancedfm.h | |
parent | 98ed23c5281a57d08c6c18b464fc50b4638385f8 (diff) | |
download | opie-d51ca116a8c4d234db93021ccad36506980c317f.zip opie-d51ca116a8c4d234db93021ccad36506980c317f.tar.gz opie-d51ca116a8c4d234db93021ccad36506980c317f.tar.bz2 |
added menubutton directory bookmarks
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; | |||
46 | class QLineEdit; | 46 | class QLineEdit; |
47 | class MenuButton; | ||
47 | 48 | ||
@@ -57,19 +58,2 @@ public: | |||
57 | ~AdvancedFm(); | 58 | ~AdvancedFm(); |
58 | |||
59 | OTabWidget *TabWidget; | ||
60 | // QTabWidget *TabWidget; | ||
61 | QWidget *tab, *tab_2, *tab_3; | ||
62 | QListView *Local_View, *Remote_View; | ||
63 | |||
64 | QLineEdit *currentPathEdit; | ||
65 | QPopupMenu *fileMenu, *localMenu, *remoteMenu, *viewMenu; | ||
66 | QToolButton *homeButton, *docButton, *cdUpButton, *sdButton, *cfButton, *qpeDirButton; | ||
67 | // QPushButton *homeButton, *docButton, *cdUpButton, *sdButton, *cfButton, *qpeDirButton; | ||
68 | QDir currentDir, currentRemoteDir; | ||
69 | QComboBox *currentPathCombo; | ||
70 | QString filterStr; | ||
71 | QListViewItem * item; | ||
72 | bool b; | ||
73 | QStringList fileSystemTypeList, fsList; | ||
74 | int currentServerConfig; | ||
75 | protected slots: | 59 | protected slots: |
@@ -116,2 +100,19 @@ protected slots: | |||
116 | protected: | 100 | protected: |
101 | |||
102 | OTabWidget *TabWidget; | ||
103 | // QTabWidget *TabWidget; | ||
104 | QWidget *tab, *tab_2, *tab_3; | ||
105 | QListView *Local_View, *Remote_View; | ||
106 | |||
107 | QLineEdit *currentPathEdit; | ||
108 | QPopupMenu *fileMenu, *localMenu, *remoteMenu, *viewMenu /*, *customDirMenu*/; | ||
109 | QToolButton *homeButton, *docButton, *cdUpButton, *sdButton, *cfButton, *qpeDirButton; | ||
110 | // QPushButton *homeButton, *docButton, *cdUpButton, *sdButton, *cfButton, *qpeDirButton; | ||
111 | QDir currentDir, currentRemoteDir; | ||
112 | QComboBox *currentPathCombo; | ||
113 | QString filterStr, s_addBookmark, s_removeBookmark; | ||
114 | QListViewItem * item; | ||
115 | bool b; | ||
116 | QStringList fileSystemTypeList, fsList; | ||
117 | int currentServerConfig; | ||
117 | bool zaurusDevice; | 118 | bool zaurusDevice; |
@@ -131,2 +132,3 @@ protected: | |||
131 | protected slots: | 132 | protected slots: |
133 | void dirMenuSelected(int); | ||
132 | void showFileMenu(); | 134 | void showFileMenu(); |
@@ -153,2 +155,3 @@ protected slots: | |||
153 | private: | 155 | private: |
156 | MenuButton *menuButton; | ||
154 | QString oldName; | 157 | QString oldName; |
@@ -160,4 +163,9 @@ private: | |||
160 | void okRename(); | 163 | void okRename(); |
164 | void customDirsToMenu(); | ||
165 | void addCustomDir(); | ||
166 | void removeCustomDir(); | ||
167 | |||
161 | private slots: | 168 | private slots: |
162 | void processEnded(); | 169 | void processEnded(); |
170 | void gotoCustomDir(const QString &); | ||
163 | }; | 171 | }; |