Diffstat (limited to 'noncore/net/opieftp/opieftp.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/net/opieftp/opieftp.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/noncore/net/opieftp/opieftp.h b/noncore/net/opieftp/opieftp.h index c88a15b..52ed885 100644 --- a/noncore/net/opieftp/opieftp.h +++ b/noncore/net/opieftp/opieftp.h | |||
@@ -15,94 +15,97 @@ | |||
15 | #include <qvariant.h> | 15 | #include <qvariant.h> |
16 | #include <qdialog.h> | 16 | #include <qdialog.h> |
17 | #include <qmainwindow.h> | 17 | #include <qmainwindow.h> |
18 | #include <qdir.h> | 18 | #include <qdir.h> |
19 | #include <qstring.h> | 19 | #include <qstring.h> |
20 | #include <qpoint.h> | 20 | #include <qpoint.h> |
21 | 21 | ||
22 | class QVBoxLayout; | 22 | class QVBoxLayout; |
23 | class QHBoxLayout; | 23 | class QHBoxLayout; |
24 | class QGridLayout; | 24 | class QGridLayout; |
25 | class QComboBox; | 25 | class QComboBox; |
26 | class QListView; | 26 | class QListView; |
27 | class QListviewItem; | 27 | class QListviewItem; |
28 | class QLabel; | 28 | class QLabel; |
29 | class QProgressBar; | 29 | class QProgressBar; |
30 | class QSpinBox; | 30 | class QSpinBox; |
31 | class QTabWidget; | 31 | class QTabWidget; |
32 | class QWidget; | 32 | class QWidget; |
33 | class QPEToolBar; | 33 | class QPEToolBar; |
34 | class QPEMenuBar; | 34 | class QPEMenuBar; |
35 | class QPopupMenu; | 35 | class QPopupMenu; |
36 | class QFile; | 36 | class QFile; |
37 | class QListViewItem; | 37 | class QListViewItem; |
38 | class QLineEdit; | 38 | class QLineEdit; |
39 | class QPushButton; | ||
39 | 40 | ||
40 | class OpieFtp : public QMainWindow | 41 | class OpieFtp : public QMainWindow |
41 | { | 42 | { |
42 | Q_OBJECT | 43 | Q_OBJECT |
43 | 44 | ||
44 | public: | 45 | public: |
45 | OpieFtp( ); | 46 | OpieFtp( ); |
46 | ~OpieFtp(); | 47 | ~OpieFtp(); |
47 | 48 | ||
48 | QTabWidget *TabWidget; | 49 | QTabWidget *TabWidget; |
49 | QWidget *tab, *tab_2, *tab_3; | 50 | QWidget *tab, *tab_2, *tab_3; |
50 | QListView *Local_View, *Remote_View; | 51 | QListView *Local_View, *Remote_View; |
51 | 52 | ||
52 | QComboBox *UsernameComboBox, *ServerComboBox; | 53 | QComboBox *UsernameComboBox, *ServerComboBox; |
53 | QLineEdit *PasswordEdit, *remotePath, *currentPathEdit; | 54 | QLineEdit *PasswordEdit, *remotePath, *currentPathEdit; |
54 | QLabel *TextLabel2, *TextLabel1, *TextLabel3, *TextLabel4;; | 55 | QLabel *TextLabel2, *TextLabel1, *TextLabel3, *TextLabel4;; |
55 | QSpinBox* PortSpinBox; | 56 | QSpinBox* PortSpinBox; |
56 | QPopupMenu *connectionMenu, *localMenu, *remoteMenu, *tabMenu; | 57 | QPopupMenu *connectionMenu, *localMenu, *remoteMenu, *tabMenu; |
57 | QDir currentDir; | 58 | QDir currentDir; |
58 | QString currentRemoteDir; | 59 | QString currentRemoteDir; |
59 | QString filterStr; | 60 | QString filterStr; |
60 | QListViewItem * item; | 61 | QListViewItem * item; |
62 | QPushButton *connectServerBtn; | ||
61 | bool b; | 63 | bool b; |
62 | 64 | int currentServerConfig; | |
63 | protected slots: | 65 | protected slots: |
66 | void serverComboEdited(const QString & ); | ||
64 | void showLocalMenu( QListViewItem *); | 67 | void showLocalMenu( QListViewItem *); |
65 | void showRemoteMenu( QListViewItem *); | 68 | void showRemoteMenu( QListViewItem *); |
66 | void doLocalCd(); | 69 | void doLocalCd(); |
67 | void doRemoteCd(); | 70 | void doRemoteCd(); |
68 | void localUpload(); | 71 | void localUpload(); |
69 | void remoteDownload(); | 72 | void remoteDownload(); |
70 | void newConnection(); | 73 | void newConnection(); |
71 | void connector(); | 74 | void connector(); |
72 | void disConnector(); | 75 | void disConnector(); |
73 | void populateLocalView(); | 76 | void populateLocalView(); |
74 | bool populateRemoteView(); | 77 | bool populateRemoteView(); |
75 | void showHidden(); | 78 | void showHidden(); |
76 | void writeConfig(); | 79 | void writeConfig(); |
77 | void readConfig(); | 80 | void readConfig(); |
78 | void localListClicked(QListViewItem *); | 81 | void localListClicked(QListViewItem *); |
79 | void remoteListClicked(QListViewItem *); | 82 | void remoteListClicked(QListViewItem *); |
80 | void ListPressed( int, QListViewItem *, const QPoint&, int); | 83 | void ListPressed( int, QListViewItem *, const QPoint&, int); |
81 | void RemoteListPressed( int, QListViewItem *, const QPoint&, int); | 84 | void RemoteListPressed( int, QListViewItem *, const QPoint&, int); |
82 | void localMakDir(); | 85 | void localMakDir(); |
83 | void localDelete(); | 86 | void localDelete(); |
84 | void remoteMakDir(); | 87 | void remoteMakDir(); |
85 | void remoteDelete(); | 88 | void remoteDelete(); |
86 | bool remoteDirList(const QString &); | 89 | bool remoteDirList(const QString &); |
87 | bool remoteChDir(const QString &); | 90 | bool remoteChDir(const QString &); |
88 | void tabChanged(QWidget*); | 91 | void tabChanged(QWidget*); |
89 | void cleanUp(); | 92 | void cleanUp(); |
90 | void remoteRename(); | 93 | void remoteRename(); |
91 | void localRename(); | 94 | void localRename(); |
92 | void currentPathEditChanged(); | 95 | void currentPathEditChanged(); |
93 | void switchToLocalTab(); | 96 | void switchToLocalTab(); |
94 | void switchToRemoteTab(); | 97 | void switchToRemoteTab(); |
95 | void switchToConfigTab(); | 98 | void switchToConfigTab(); |
96 | void fillCombos(); | 99 | void fillCombos(); |
97 | void serverComboSelected(int); | 100 | void serverComboSelected(int); |
98 | void deleteServer(); | 101 | void deleteServer(); |
99 | 102 | void connectorBtnToggled(bool); | |
100 | protected: | 103 | protected: |
101 | void nullifyCallBack(); | 104 | void nullifyCallBack(); |
102 | QGridLayout* tabLayout; | 105 | QGridLayout* tabLayout; |
103 | QGridLayout* tabLayout_2; | 106 | QGridLayout* tabLayout_2; |
104 | QGridLayout* tabLayout_3; | 107 | QGridLayout* tabLayout_3; |
105 | 108 | ||
106 | }; | 109 | }; |
107 | 110 | ||
108 | #endif // OPIEFTP_H | 111 | #endif // OPIEFTP_H |