summaryrefslogtreecommitdiff
path: root/noncore/apps/advancedfm/advancedfm.h
Unidiff
Diffstat (limited to 'noncore/apps/advancedfm/advancedfm.h') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/apps/advancedfm/advancedfm.h42
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
@@ -44,6 +44,7 @@ class QPopupMenu;
44class QFile; 44class QFile;
45class QListViewItem; 45class QListViewItem;
46class QLineEdit; 46class QLineEdit;
47class MenuButton;
47 48
48//class QPushButton; 49//class QPushButton;
49class QToolButton; 50class QToolButton;
@@ -55,23 +56,6 @@ class AdvancedFm : public QMainWindow
55public: 56public:
56 AdvancedFm(); 57 AdvancedFm();
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;
75protected slots: 59protected slots:
76 void selectAll(); 60 void selectAll();
77 void addToDocs(); 61 void addToDocs();
@@ -114,6 +98,23 @@ protected slots:
114 void switchToRemoteTab(); 98 void switchToRemoteTab();
115 99
116protected: 100protected:
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;
118 QGridLayout *tabLayout, *tabLayout_2, *tabLayout_3; 119 QGridLayout *tabLayout, *tabLayout_2, *tabLayout_3;
119 QStringList remoteDirPathStringList, localDirPathStringList; 120 QStringList remoteDirPathStringList, localDirPathStringList;
@@ -129,6 +130,7 @@ protected:
129 QString dealWithSymName(const QString &); 130 QString dealWithSymName(const QString &);
130 131
131protected slots: 132protected slots:
133 void dirMenuSelected(int);
132 void showFileMenu(); 134 void showFileMenu();
133 void cancelMenuTimer(); 135 void cancelMenuTimer();
134 void homeButtonPushed(); 136 void homeButtonPushed();
@@ -151,6 +153,7 @@ protected slots:
151 void fileBeamFinished( Ir *); 153 void fileBeamFinished( Ir *);
152 154
153private: 155private:
156 MenuButton *menuButton;
154 QString oldName; 157 QString oldName;
155 QTimer menuTimer; 158 QTimer menuTimer;
156 void startProcess(const QString &); 159 void startProcess(const QString &);
@@ -158,8 +161,13 @@ private:
158 void cancelRename(); 161 void cancelRename();
159 void doRename(QListView *); 162 void doRename(QListView *);
160 void okRename(); 163 void okRename();
164 void customDirsToMenu();
165 void addCustomDir();
166 void removeCustomDir();
167
161private slots: 168private slots:
162 void processEnded(); 169 void processEnded();
170 void gotoCustomDir(const QString &);
163}; 171};
164 172
165#endif // ADVANCEDFM_H 173#endif // ADVANCEDFM_H