author | llornkcor <llornkcor> | 2002-03-12 01:17:36 (UTC) |
---|---|---|
committer | llornkcor <llornkcor> | 2002-03-12 01:17:36 (UTC) |
commit | 3e450bfc664c55e1e185953ba47e83f2b981ee68 (patch) (unidiff) | |
tree | 684808759ad7c60ee273c1832925da4231da05af /noncore/net/opieftp/opieftp.h | |
parent | 13b87f9eb4c51c43dc127b7fbce2ccdbf0353da2 (diff) | |
download | opie-3e450bfc664c55e1e185953ba47e83f2b981ee68.zip opie-3e450bfc664c55e1e185953ba47e83f2b981ee68.tar.gz opie-3e450bfc664c55e1e185953ba47e83f2b981ee68.tar.bz2 |
added opieftp- the opief tp client
Diffstat (limited to 'noncore/net/opieftp/opieftp.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/net/opieftp/opieftp.h | 92 |
1 files changed, 92 insertions, 0 deletions
diff --git a/noncore/net/opieftp/opieftp.h b/noncore/net/opieftp/opieftp.h new file mode 100644 index 0000000..20dd0d0 --- a/dev/null +++ b/noncore/net/opieftp/opieftp.h | |||
@@ -0,0 +1,92 @@ | |||
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 OPIEFTP_H | ||
13 | #define OPIEFTP_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 | |||
40 | class OpieFtp : public QMainWindow | ||
41 | { | ||
42 | Q_OBJECT | ||
43 | |||
44 | public: | ||
45 | OpieFtp( ); | ||
46 | ~OpieFtp(); | ||
47 | |||
48 | QTabWidget *TabWidget; | ||
49 | QWidget *tab, *tab_2, *tab_3;; | ||
50 | QListView *Local_View, *Remote_View; | ||
51 | |||
52 | QComboBox *UsernameComboBox, *ServerComboBox; | ||
53 | QLineEdit *PasswordEdit, *remotePath, *currentPathEdit; | ||
54 | QLabel *TextLabel2, *TextLabel1, *TextLabel3, *TextLabel4;; | ||
55 | QSpinBox* PortSpinBox; | ||
56 | QPopupMenu *connectionMenu, *localMenu, *remoteMenu; | ||
57 | QDir currentDir; | ||
58 | QString currentRemoteDir; | ||
59 | QString filterStr; | ||
60 | QListViewItem * item; | ||
61 | bool b; | ||
62 | |||
63 | protected slots: | ||
64 | void showLocalMenu( ); | ||
65 | void showRemoteMenu( ); | ||
66 | void localUpload(); | ||
67 | void remoteDownload(); | ||
68 | void newConnection(); | ||
69 | void connector(); | ||
70 | void disConnector(); | ||
71 | void populateLocalView(); | ||
72 | bool populateRemoteView(); | ||
73 | void showHidden(); | ||
74 | |||
75 | void localListClicked(QListViewItem *); | ||
76 | void remoteListClicked(QListViewItem *); | ||
77 | void ListPressed( int, QListViewItem *, const QPoint&, int); | ||
78 | void RemoteListPressed( int, QListViewItem *, const QPoint&, int); | ||
79 | void localMakDir(); | ||
80 | void localDelete(); | ||
81 | void remoteMakDir(); | ||
82 | void remoteDelete(); | ||
83 | bool remoteDirList(const QString &); | ||
84 | bool remoteChDir(const QString &); | ||
85 | void tabChanged(QWidget*); | ||
86 | void cleanUp(); | ||
87 | void remoteRename(); | ||
88 | void localRename(); | ||
89 | void currentPathEditChanged(); | ||
90 | }; | ||
91 | |||
92 | #endif // OPIEFTP_H | ||