Diffstat (limited to 'noncore/apps/advancedfm/advancedfm.h') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/apps/advancedfm/advancedfm.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/noncore/apps/advancedfm/advancedfm.h b/noncore/apps/advancedfm/advancedfm.h index 8eec6ba..024ab29 100644 --- a/noncore/apps/advancedfm/advancedfm.h +++ b/noncore/apps/advancedfm/advancedfm.h | |||
@@ -42,53 +42,51 @@ class QPEToolBar; | |||
42 | class QPEMenuBar; | 42 | class QPEMenuBar; |
43 | class QPopupMenu; | 43 | class QPopupMenu; |
44 | class QFile; | 44 | class QFile; |
45 | class QListViewItem; | 45 | class QListViewItem; |
46 | class QLineEdit; | 46 | class QLineEdit; |
47 | class MenuButton; | 47 | class MenuButton; |
48 | 48 | ||
49 | //class QPushButton; | 49 | //class QPushButton; |
50 | class QToolButton; | 50 | class QToolButton; |
51 | class Ir; | 51 | class Ir; |
52 | 52 | ||
53 | class AdvancedFm : public QMainWindow | 53 | class AdvancedFm : public QMainWindow |
54 | { | 54 | { |
55 | Q_OBJECT | 55 | Q_OBJECT |
56 | public: | 56 | public: |
57 | AdvancedFm(); | 57 | AdvancedFm(); |
58 | ~AdvancedFm(); | 58 | ~AdvancedFm(); |
59 | protected slots: | 59 | protected slots: |
60 | void selectAll(); | 60 | void selectAll(); |
61 | void addToDocs(); | 61 | void addToDocs(); |
62 | void doDirChange(); | 62 | void doDirChange(); |
63 | void mkDir(); | 63 | void mkDir(); |
64 | void del(); | 64 | void del(); |
65 | void rn(); | 65 | void rn(); |
66 | void populateLocalView(); | 66 | void populateView(); |
67 | void populateRemoteView(); | ||
68 | void showHidden(); | 67 | void showHidden(); |
69 | void showMenuHidden(); | 68 | void showMenuHidden(); |
70 | // void showRemoteHidden(); | ||
71 | void writeConfig(); | 69 | void writeConfig(); |
72 | void readConfig(); | 70 | void readConfig(); |
73 | void ListClicked(QListViewItem *); | 71 | void ListClicked(QListViewItem *); |
74 | void ListPressed( int, QListViewItem *, const QPoint&, int); | 72 | void ListPressed( int, QListViewItem *, const QPoint&, int); |
75 | void makeDir(); | 73 | void makeDir(); |
76 | void doDelete(); | 74 | void doDelete(); |
77 | void tabChanged(QWidget*); | 75 | void tabChanged(QWidget*); |
78 | void cleanUp(); | 76 | void cleanUp(); |
79 | void renameIt(); | 77 | void renameIt(); |
80 | void runThis(); | 78 | void runThis(); |
81 | void runText(); | 79 | void runText(); |
82 | void filePerms(); | 80 | void filePerms(); |
83 | void doProperties(); | 81 | void doProperties(); |
84 | void runCommand(); | 82 | void runCommand(); |
85 | void runCommandStd(); | 83 | void runCommandStd(); |
86 | QStringList getPath(); | 84 | QStringList getPath(); |
87 | void mkSym(); | 85 | void mkSym(); |
88 | void switchToLocalTab(); | 86 | void switchToLocalTab(); |
89 | void switchToRemoteTab(); | 87 | void switchToRemoteTab(); |
90 | 88 | ||
91 | protected: | 89 | protected: |
92 | 90 | ||
93 | OTabWidget *TabWidget; | 91 | OTabWidget *TabWidget; |
94 | int whichTab; | 92 | int whichTab; |
@@ -104,49 +102,49 @@ protected: | |||
104 | QComboBox *currentPathCombo; | 102 | QComboBox *currentPathCombo; |
105 | QString filterStr, s_addBookmark, s_removeBookmark; | 103 | QString filterStr, s_addBookmark, s_removeBookmark; |
106 | QListViewItem * item; | 104 | QListViewItem * item; |
107 | bool b; | 105 | bool b; |
108 | QStringList fileSystemTypeList, fsList; | 106 | QStringList fileSystemTypeList, fsList; |
109 | int currentServerConfig; | 107 | int currentServerConfig; |
110 | bool zaurusDevice; | 108 | bool zaurusDevice; |
111 | QGridLayout *tabLayout, *tabLayout_2, *tabLayout_3; | 109 | QGridLayout *tabLayout, *tabLayout_2, *tabLayout_3; |
112 | QStringList remoteDirPathStringList, localDirPathStringList; | 110 | QStringList remoteDirPathStringList, localDirPathStringList; |
113 | QLineEdit *renameBox; | 111 | QLineEdit *renameBox; |
114 | 112 | ||
115 | void init(); | 113 | void init(); |
116 | void initConnections(); | 114 | void initConnections(); |
117 | void keyReleaseEvent( QKeyEvent *); | 115 | void keyReleaseEvent( QKeyEvent *); |
118 | void keyPressEvent( QKeyEvent *); | 116 | void keyPressEvent( QKeyEvent *); |
119 | QString getFileSystemType(const QString &); | 117 | QString getFileSystemType(const QString &); |
120 | QString getDiskSpace(const QString &); | 118 | QString getDiskSpace(const QString &); |
121 | void parsetab(const QString &fileName); | 119 | void parsetab(const QString &fileName); |
122 | QString checkDiskSpace(const QString &); | 120 | QString checkDiskSpace(const QString &); |
123 | QString dealWithSymName(const QString &); | 121 | QString dealWithSymName(const QString &); |
124 | QDir *CurrentDir(); | 122 | QDir *CurrentDir(); |
125 | QDir *OtherDir(); | 123 | QDir *OtherDir(); |
126 | QListView *CurrentView(); | 124 | QListView *CurrentView(); |
127 | QListView *OtherView(); | 125 | QListView *OtherView(); |
128 | void PopulateView(); | 126 | void setOtherTabCurrent(); |
129 | 127 | ||
130 | protected slots: | 128 | protected slots: |
131 | void dirMenuSelected(int); | 129 | void dirMenuSelected(int); |
132 | void showFileMenu(); | 130 | void showFileMenu(); |
133 | void cancelMenuTimer(); | 131 | void cancelMenuTimer(); |
134 | void homeButtonPushed(); | 132 | void homeButtonPushed(); |
135 | void docButtonPushed(); | 133 | void docButtonPushed(); |
136 | void SDButtonPushed(); | 134 | void SDButtonPushed(); |
137 | void CFButtonPushed(); | 135 | void CFButtonPushed(); |
138 | void QPEButtonPushed(); | 136 | void QPEButtonPushed(); |
139 | void upDir(); | 137 | void upDir(); |
140 | void currentPathComboChanged(); | 138 | void currentPathComboChanged(); |
141 | void copy(); | 139 | void copy(); |
142 | void copyAs(); | 140 | void copyAs(); |
143 | void copySameDir(); | 141 | void copySameDir(); |
144 | void currentPathComboActivated(const QString &); | 142 | void currentPathComboActivated(const QString &); |
145 | void fillCombo(const QString &); | 143 | void fillCombo(const QString &); |
146 | bool copyFile( const QString & , const QString & ); | 144 | bool copyFile( const QString & , const QString & ); |
147 | void move(); | 145 | void move(); |
148 | void fileStatus(); | 146 | void fileStatus(); |
149 | void doAbout(); | 147 | void doAbout(); |
150 | void doBeam(); | 148 | void doBeam(); |
151 | void fileBeamFinished( Ir *); | 149 | void fileBeamFinished( Ir *); |
152 | 150 | ||