Diffstat (limited to 'noncore/apps/advancedfm/advancedfm.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/apps/advancedfm/advancedfm.h | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/noncore/apps/advancedfm/advancedfm.h b/noncore/apps/advancedfm/advancedfm.h index 5817fca..0cf94c6 100644 --- a/noncore/apps/advancedfm/advancedfm.h +++ b/noncore/apps/advancedfm/advancedfm.h | |||
@@ -12,14 +12,16 @@ | |||
12 | #ifndef ADVANCEDFM_H | 12 | #ifndef ADVANCEDFM_H |
13 | #define ADVANCEDFM_H | 13 | #define ADVANCEDFM_H |
14 | 14 | ||
15 | #include <qpe/ir.h> | ||
16 | |||
15 | #include <qvariant.h> | 17 | #include <qvariant.h> |
16 | #include <qdialog.h> | 18 | #include <qdialog.h> |
17 | #include <qmainwindow.h> | 19 | #include <qmainwindow.h> |
20 | #include <qstringlist.h> | ||
18 | #include <qdir.h> | 21 | #include <qdir.h> |
19 | #include <qstring.h> | 22 | #include <qstring.h> |
20 | #include <qpoint.h> | 23 | #include <qpoint.h> |
21 | #include <qstringlist.h> | 24 | #include <qtimer.h> |
22 | #include <qpe/ir.h> | ||
23 | 25 | ||
24 | class QVBoxLayout; | 26 | class QVBoxLayout; |
25 | class QHBoxLayout; | 27 | class QHBoxLayout; |
@@ -39,6 +41,7 @@ class QFile; | |||
39 | class QListViewItem; | 41 | class QListViewItem; |
40 | class QLineEdit; | 42 | class QLineEdit; |
41 | class QPushButton; | 43 | class QPushButton; |
44 | class Ir; | ||
42 | 45 | ||
43 | class AdvancedFm : public QMainWindow | 46 | class AdvancedFm : public QMainWindow |
44 | { | 47 | { |
@@ -62,8 +65,6 @@ public: | |||
62 | QStringList fileSystemTypeList, fsList; | 65 | QStringList fileSystemTypeList, fsList; |
63 | int currentServerConfig; | 66 | int currentServerConfig; |
64 | protected slots: | 67 | protected slots: |
65 | void showLocalMenu( QListViewItem *); | ||
66 | void showRemoteMenu( QListViewItem *); | ||
67 | void doLocalCd(); | 68 | void doLocalCd(); |
68 | void doRemoteCd(); | 69 | void doRemoteCd(); |
69 | // void copy(); | 70 | // void copy(); |
@@ -104,11 +105,14 @@ protected slots: | |||
104 | protected: | 105 | protected: |
105 | QGridLayout *tabLayout, *tabLayout_2, *tabLayout_3; | 106 | QGridLayout *tabLayout, *tabLayout_2, *tabLayout_3; |
106 | QStringList remoteDirPathStringList, localDirPathStringList; | 107 | QStringList remoteDirPathStringList, localDirPathStringList; |
108 | |||
107 | void keyReleaseEvent( QKeyEvent *); | 109 | void keyReleaseEvent( QKeyEvent *); |
108 | QString getFileSystemType(const QString &); | 110 | QString getFileSystemType(const QString &); |
109 | void parsetab(const QString &fileName); | 111 | void parsetab(const QString &fileName); |
110 | 112 | ||
111 | protected slots: | 113 | protected slots: |
114 | void showFileMenu(); | ||
115 | void cancelMenuTimer(); | ||
112 | void homeButtonPushed(); | 116 | void homeButtonPushed(); |
113 | void docButtonPushed(); | 117 | void docButtonPushed(); |
114 | void SDButtonPushed(); | 118 | void SDButtonPushed(); |
@@ -125,7 +129,9 @@ protected slots: | |||
125 | void fileStatus(); | 129 | void fileStatus(); |
126 | void doAbout(); | 130 | void doAbout(); |
127 | void doBeam(); | 131 | void doBeam(); |
128 | void fileBeamFinished( Ir *ir); | 132 | void fileBeamFinished( Ir *); |
133 | private: | ||
134 | QTimer menuTimer; | ||
129 | }; | 135 | }; |
130 | 136 | ||
131 | #endif // ADVANCEDFM_H | 137 | #endif // ADVANCEDFM_H |