author | llornkcor <llornkcor> | 2002-04-18 03:02:37 (UTC) |
---|---|---|
committer | llornkcor <llornkcor> | 2002-04-18 03:02:37 (UTC) |
commit | 65748a36a621a19078789cc277a89c8a1f341351 (patch) (unidiff) | |
tree | b512d4b7ce7521c1d5d475ad3b3f5827f5bdffe7 /noncore/apps/advancedfm/advancedfm.h | |
parent | 276f934cd66542d8cc403bb74e9cb661264ddd2f (diff) | |
download | opie-65748a36a621a19078789cc277a89c8a1f341351.zip opie-65748a36a621a19078789cc277a89c8a1f341351.tar.gz opie-65748a36a621a19078789cc277a89c8a1f341351.tar.bz2 |
initial offering
Diffstat (limited to 'noncore/apps/advancedfm/advancedfm.h') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/apps/advancedfm/advancedfm.h | 118 |
1 files changed, 118 insertions, 0 deletions
diff --git a/noncore/apps/advancedfm/advancedfm.h b/noncore/apps/advancedfm/advancedfm.h new file mode 100644 index 0000000..2ca45b1 --- a/dev/null +++ b/noncore/apps/advancedfm/advancedfm.h | |||
@@ -0,0 +1,118 @@ | |||
1 | /*************************************************************************** | ||
2 | opieftp.h | ||
3 | ------------------- | ||
4 | ** Created: Sat Mar 9 23:33:09 2002 | ||
5 | copyright : (C) 2002 by ljp | ||
6 | email : ljp@llornkcor.com | ||
7 | * This program is free software; you can redistribute it and/or modify * | ||
8 | * it under the terms of the GNU General Public License as published by * | ||
9 | * the Free Software Foundation; either version 2 of the License, or * | ||
10 | * (at your option) any later version. * | ||
11 | ***************************************************************************/ | ||
12 | #ifndef ADVANCEDFM_H | ||
13 | #define ADVANCEDFM_H | ||
14 | |||
15 | #include <qvariant.h> | ||
16 | #include <qdialog.h> | ||
17 | #include <qmainwindow.h> | ||
18 | #include <qdir.h> | ||
19 | #include <qstring.h> | ||
20 | #include <qpoint.h> | ||
21 | |||
22 | class QVBoxLayout; | ||
23 | class QHBoxLayout; | ||
24 | class QGridLayout; | ||
25 | class QComboBox; | ||
26 | class QListView; | ||
27 | class QListviewItem; | ||
28 | class QLabel; | ||
29 | class QProgressBar; | ||
30 | class QSpinBox; | ||
31 | class QTabWidget; | ||
32 | class QWidget; | ||
33 | class QPEToolBar; | ||
34 | class QPEMenuBar; | ||
35 | class QPopupMenu; | ||
36 | class QFile; | ||
37 | class QListViewItem; | ||
38 | class QLineEdit; | ||
39 | class QPushButton; | ||
40 | |||
41 | class AdvancedFm : public QMainWindow | ||
42 | { | ||
43 | Q_OBJECT | ||
44 | public: | ||
45 | AdvancedFm(); | ||
46 | ~AdvancedFm(); | ||
47 | |||
48 | QTabWidget *TabWidget; | ||
49 | QWidget *tab, *tab_2, *tab_3; | ||
50 | QListView *Local_View, *Remote_View; | ||
51 | |||
52 | QLineEdit *currentPathEdit; | ||
53 | QPopupMenu *fileMenu, *localMenu, *remoteMenu, *viewMenu; | ||
54 | QPushButton *homeButton, *docButton, *cdUpButton, *sdButton, *cfButton; | ||
55 | QDir currentDir, currentRemoteDir; | ||
56 | QComboBox *currentPathCombo; | ||
57 | QString filterStr; | ||
58 | QListViewItem * item; | ||
59 | bool b; | ||
60 | int currentServerConfig; | ||
61 | protected slots: | ||
62 | void showLocalMenu( QListViewItem *); | ||
63 | void showRemoteMenu( QListViewItem *); | ||
64 | void doLocalCd(); | ||
65 | void doRemoteCd(); | ||
66 | // void copy(); | ||
67 | |||
68 | void populateLocalView(); | ||
69 | void populateRemoteView(); | ||
70 | void showHidden(); | ||
71 | void showRemoteHidden(); | ||
72 | void writeConfig(); | ||
73 | void readConfig(); | ||
74 | void localListClicked(QListViewItem *); | ||
75 | void remoteListClicked(QListViewItem *); | ||
76 | void localListPressed( int, QListViewItem *, const QPoint&, int); | ||
77 | void remoteListPressed( int, QListViewItem *, const QPoint&, int); | ||
78 | void localMakDir(); | ||
79 | void localDelete(); | ||
80 | void remoteMakDir(); | ||
81 | void remoteDelete(); | ||
82 | /* bool remoteDirList(const QString &); */ | ||
83 | /* bool remoteChDir(const QString &); */ | ||
84 | void tabChanged(QWidget*); | ||
85 | void cleanUp(); | ||
86 | void remoteRename(); | ||
87 | void localRename(); | ||
88 | void runThis(); | ||
89 | void runText(); | ||
90 | void filePerms(); | ||
91 | void doProperties(); | ||
92 | void runCommand(); | ||
93 | void runCommandStd(); | ||
94 | QString getPath(); | ||
95 | void switchToLocalTab(); | ||
96 | void switchToRemoteTab(); | ||
97 | |||
98 | protected: | ||
99 | QGridLayout *tabLayout, *tabLayout_2, *tabLayout_3; | ||
100 | QStringList remoteDirPathStringList, localDirPathStringList; | ||
101 | |||
102 | protected slots: | ||
103 | void homeButtonPushed(); | ||
104 | void docButtonPushed(); | ||
105 | void SDButtonPushed(); | ||
106 | void CFButtonPushed(); | ||
107 | void upDir(); | ||
108 | void currentPathComboChanged(); | ||
109 | void copy(); | ||
110 | void copyAs(); | ||
111 | void currentPathComboActivated(const QString &); | ||
112 | void fillCombo(const QString &); | ||
113 | bool copyFile( const QString & , const QString & ); | ||
114 | void move(); | ||
115 | void fileStatus(); | ||
116 | }; | ||
117 | |||
118 | #endif // ADVANCEDFM_H | ||