author | llornkcor <llornkcor> | 2002-07-20 02:35:34 (UTC) |
---|---|---|
committer | llornkcor <llornkcor> | 2002-07-20 02:35:34 (UTC) |
commit | 8256eec0103a50f80905e71891904a4267754559 (patch) (unidiff) | |
tree | 8dc249ea2db645d38c9ce39a6000e9ee833978b4 /noncore/net/opieftp/opieftp.h | |
parent | a4a56e27ba0f4fd2bdbc56e20c9e7f4ccc8be535 (diff) | |
download | opie-8256eec0103a50f80905e71891904a4267754559.zip opie-8256eec0103a50f80905e71891904a4267754559.tar.gz opie-8256eec0103a50f80905e71891904a4267754559.tar.bz2 |
fixes and changes.. _should_ remember servers. Still needs work
-rw-r--r-- | noncore/net/opieftp/opieftp.h | 22 |
1 files changed, 19 insertions, 3 deletions
diff --git a/noncore/net/opieftp/opieftp.h b/noncore/net/opieftp/opieftp.h index ad36b1d..2aa691a 100644 --- a/noncore/net/opieftp/opieftp.h +++ b/noncore/net/opieftp/opieftp.h | |||
@@ -24,7 +24,7 @@ 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; |
@@ -34,11 +34,11 @@ class QPEToolBar; | |||
34 | class QPEMenuBar; | 34 | class QPEMenuBar; |
35 | class QPopupMenu; | 35 | class QPopupMenu; |
36 | class QFile; | 36 | class QFile; |
37 | class QListViewItem; | ||
38 | class QLineEdit; | 37 | class QLineEdit; |
39 | class QPushButton; | 38 | class QPushButton; |
40 | class QToolButton; | 39 | class QToolButton; |
41 | class QStringList; | 40 | class QStringList; |
41 | class QListBox; | ||
42 | 42 | ||
43 | class OpieFtp : public QMainWindow | 43 | class OpieFtp : public QMainWindow |
44 | { | 44 | { |
@@ -51,6 +51,7 @@ public: | |||
51 | QTabWidget *TabWidget; | 51 | QTabWidget *TabWidget; |
52 | QWidget *tab, *tab_2, *tab_3; | 52 | QWidget *tab, *tab_2, *tab_3; |
53 | QListView *Local_View, *Remote_View; | 53 | QListView *Local_View, *Remote_View; |
54 | QListBox *serverListView; | ||
54 | 55 | ||
55 | QComboBox *UsernameComboBox, *ServerComboBox, *currentPathCombo; | 56 | QComboBox *UsernameComboBox, *ServerComboBox, *currentPathCombo; |
56 | QLineEdit *PasswordEdit, *remotePath; | 57 | QLineEdit *PasswordEdit, *remotePath; |
@@ -61,7 +62,7 @@ public: | |||
61 | QString currentRemoteDir; | 62 | QString currentRemoteDir; |
62 | QString filterStr; | 63 | QString filterStr; |
63 | QListViewItem * item; | 64 | QListViewItem * item; |
64 | QPushButton *connectServerBtn;// | 65 | QPushButton *connectServerBtn, *newServerButton;// |
65 | QToolButton *cdUpButton, *homeButton, *docButton; | 66 | QToolButton *cdUpButton, *homeButton, *docButton; |
66 | bool b; | 67 | bool b; |
67 | int currentServerConfig; | 68 | int currentServerConfig; |
@@ -70,7 +71,11 @@ protected slots: | |||
70 | void homeButtonPushed(); | 71 | void homeButtonPushed(); |
71 | void docButtonPushed(); | 72 | void docButtonPushed(); |
72 | void doAbout(); | 73 | void doAbout(); |
74 | |||
73 | void serverComboEdited(const QString & ); | 75 | void serverComboEdited(const QString & ); |
76 | void UsernameComboBoxEdited(const QString & ); | ||
77 | void PasswordEditEdited(const QString & ); | ||
78 | |||
74 | void showLocalMenu( QListViewItem *); | 79 | void showLocalMenu( QListViewItem *); |
75 | void showRemoteMenu( QListViewItem *); | 80 | void showRemoteMenu( QListViewItem *); |
76 | void doLocalCd(); | 81 | void doLocalCd(); |
@@ -93,25 +98,36 @@ protected slots: | |||
93 | void localDelete(); | 98 | void localDelete(); |
94 | void remoteMakDir(); | 99 | void remoteMakDir(); |
95 | void remoteDelete(); | 100 | void remoteDelete(); |
101 | |||
96 | bool remoteDirList(const QString &); | 102 | bool remoteDirList(const QString &); |
97 | bool remoteChDir(const QString &); | 103 | bool remoteChDir(const QString &); |
104 | |||
98 | void tabChanged(QWidget*); | 105 | void tabChanged(QWidget*); |
99 | void cleanUp(); | 106 | void cleanUp(); |
107 | |||
100 | void remoteRename(); | 108 | void remoteRename(); |
101 | void localRename(); | 109 | void localRename(); |
110 | |||
102 | void currentPathComboChanged(); | 111 | void currentPathComboChanged(); |
103 | void currentPathComboActivated(const QString &); | 112 | void currentPathComboActivated(const QString &); |
104 | void switchToLocalTab(); | 113 | void switchToLocalTab(); |
105 | void switchToRemoteTab(); | 114 | void switchToRemoteTab(); |
106 | void switchToConfigTab(); | 115 | void switchToConfigTab(); |
116 | |||
107 | void fillCombos(); | 117 | void fillCombos(); |
118 | void clearCombos(); | ||
108 | void fillRemoteCombo(const QString&); | 119 | void fillRemoteCombo(const QString&); |
109 | void fillCombo(const QString &); | 120 | void fillCombo(const QString &); |
110 | void serverComboSelected(int); | 121 | void serverComboSelected(int); |
111 | void deleteServer(); | 122 | void deleteServer(); |
112 | void connectorBtnToggled(bool); | 123 | void connectorBtnToggled(bool); |
124 | void NewServer(); | ||
125 | void serverListClicked( const QString &); | ||
126 | |||
113 | protected: | 127 | protected: |
128 | bool fuckeduphack; | ||
114 | QStringList remoteDirPathStringList, localDirPathStringList; | 129 | QStringList remoteDirPathStringList, localDirPathStringList; |
130 | QString newServerName; | ||
115 | void nullifyCallBack(); | 131 | void nullifyCallBack(); |
116 | QGridLayout* tabLayout; | 132 | QGridLayout* tabLayout; |
117 | QGridLayout* tabLayout_2; | 133 | QGridLayout* tabLayout_2; |