Diffstat (limited to 'noncore/apps/advancedfm/advancedfm.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/apps/advancedfm/advancedfm.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/noncore/apps/advancedfm/advancedfm.h b/noncore/apps/advancedfm/advancedfm.h index 5e2c769..5f6eabb 100644 --- a/noncore/apps/advancedfm/advancedfm.h +++ b/noncore/apps/advancedfm/advancedfm.h | |||
@@ -49,24 +49,25 @@ class QLineEdit; | |||
49 | class MenuButton; | 49 | class MenuButton; |
50 | 50 | ||
51 | class QToolButton; | 51 | class QToolButton; |
52 | class Ir; | 52 | class Ir; |
53 | 53 | ||
54 | class AdvancedFm : public QMainWindow | 54 | class AdvancedFm : public QMainWindow |
55 | { | 55 | { |
56 | Q_OBJECT | 56 | Q_OBJECT |
57 | public: | 57 | public: |
58 | AdvancedFm(); | 58 | AdvancedFm(); |
59 | ~AdvancedFm(); | 59 | ~AdvancedFm(); |
60 | protected slots: | 60 | protected slots: |
61 | void slotSwitchMenu(int); | ||
61 | void selectAll(); | 62 | void selectAll(); |
62 | void addToDocs(); | 63 | void addToDocs(); |
63 | void doDirChange(); | 64 | void doDirChange(); |
64 | void mkDir(); | 65 | void mkDir(); |
65 | void del(); | 66 | void del(); |
66 | void rn(); | 67 | void rn(); |
67 | void populateView(); | 68 | void populateView(); |
68 | void rePopulate(); | 69 | void rePopulate(); |
69 | void showHidden(); | 70 | void showHidden(); |
70 | void showMenuHidden(); | 71 | void showMenuHidden(); |
71 | void writeConfig(); | 72 | void writeConfig(); |
72 | void readConfig(); | 73 | void readConfig(); |
@@ -119,62 +120,66 @@ protected: | |||
119 | void keyReleaseEvent( QKeyEvent *); | 120 | void keyReleaseEvent( QKeyEvent *); |
120 | void keyPressEvent( QKeyEvent *); | 121 | void keyPressEvent( QKeyEvent *); |
121 | QString getFileSystemType(const QString &); | 122 | QString getFileSystemType(const QString &); |
122 | QString getDiskSpace(const QString &); | 123 | QString getDiskSpace(const QString &); |
123 | void parsetab(const QString &fileName); | 124 | void parsetab(const QString &fileName); |
124 | QString checkDiskSpace(const QString &); | 125 | QString checkDiskSpace(const QString &); |
125 | QString dealWithSymName(const QString &); | 126 | QString dealWithSymName(const QString &); |
126 | QDir *CurrentDir(); | 127 | QDir *CurrentDir(); |
127 | QDir *OtherDir(); | 128 | QDir *OtherDir(); |
128 | QListView *CurrentView(); | 129 | QListView *CurrentView(); |
129 | QListView *OtherView(); | 130 | QListView *OtherView(); |
130 | void setOtherTabCurrent(); | 131 | void setOtherTabCurrent(); |
132 | void dealWithSchmooSchmaa(QWidget *); | ||
131 | 133 | ||
132 | protected slots: | 134 | protected slots: |
135 | void openSearch(); | ||
133 | void dirMenuSelected(int); | 136 | void dirMenuSelected(int); |
134 | void showFileMenu(); | 137 | void showFileMenu(); |
135 | void cancelMenuTimer(); | 138 | void cancelMenuTimer(); |
136 | void homeButtonPushed(); | 139 | void homeButtonPushed(); |
137 | void docButtonPushed(); | 140 | void docButtonPushed(); |
138 | void SDButtonPushed(); | 141 | void SDButtonPushed(); |
139 | void CFButtonPushed(); | 142 | void CFButtonPushed(); |
140 | void QPEButtonPushed(); | 143 | void QPEButtonPushed(); |
141 | void upDir(); | 144 | void upDir(); |
142 | void currentPathComboChanged(); | 145 | void currentPathComboChanged(); |
143 | void copy(); | 146 | void copy(); |
144 | void copyAs(); | 147 | void copyAs(); |
145 | void copySameDir(); | 148 | void copySameDir(); |
146 | void currentPathComboActivated(const QString &); | 149 | void currentPathComboActivated(const QString &); |
147 | void fillCombo(const QString &); | 150 | void fillCombo(const QString &); |
148 | bool copyFile( const QString & , const QString & ); | 151 | bool copyFile( const QString & , const QString & ); |
149 | void move(); | 152 | void move(); |
150 | void fileStatus(); | 153 | void fileStatus(); |
151 | void doAbout(); | 154 | void doAbout(); |
152 | void doBeam(); | 155 | void doBeam(); |
153 | void fileBeamFinished( Ir *); | 156 | void fileBeamFinished( Ir *); |
154 | 157 | ||
158 | // void slotSwitchtoLocal(int); | ||
159 | |||
155 | private: | 160 | private: |
156 | MenuButton *menuButton; | 161 | MenuButton *menuButton; |
157 | QString oldName; | 162 | QString oldName; |
158 | QTimer menuTimer; | 163 | QTimer menuTimer; |
159 | void startProcess(const QString &); | 164 | void startProcess(const QString &); |
160 | bool eventFilter( QObject * , QEvent * ); | 165 | bool eventFilter( QObject * , QEvent * ); |
161 | void cancelRename(); | 166 | void cancelRename(); |
162 | void doRename(QListView *); | 167 | void doRename(QListView *); |
163 | void okRename(); | 168 | void okRename(); |
164 | void customDirsToMenu(); | 169 | void customDirsToMenu(); |
165 | void addCustomDir(); | 170 | void addCustomDir(); |
166 | void removeCustomDir(); | 171 | void removeCustomDir(); |
167 | void gotoDirectory(const QString &); | 172 | void gotoDirectory(const QString &); |
168 | void openSearch(); | 173 | void navigateToSelected(); |
169 | void findFile(const QString &); | 174 | void findFile(const QString &); |
170 | 175 | ||
171 | private slots: | 176 | private slots: |
172 | void processEnded(OProcess *); | 177 | void processEnded(OProcess *); |
173 | void oprocessStderr(OProcess *, char *, int); | 178 | void oprocessStderr(OProcess *, char *, int); |
174 | void gotoCustomDir(const QString &); | 179 | void gotoCustomDir(const QString &); |
175 | void qcopReceive(const QCString&, const QByteArray&); | 180 | void qcopReceive(const QCString&, const QByteArray&); |
176 | void setDocument(const QString &); | 181 | void setDocument(const QString &); |
177 | 182 | ||
178 | }; | 183 | }; |
179 | 184 | ||
180 | #endif // ADVANCEDFM_H | 185 | #endif // ADVANCEDFM_H |