summaryrefslogtreecommitdiff
path: root/noncore/net/opieftp/opieftp.h
Unidiff
Diffstat (limited to 'noncore/net/opieftp/opieftp.h') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/net/opieftp/opieftp.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/noncore/net/opieftp/opieftp.h b/noncore/net/opieftp/opieftp.h
index 2aa691a..109b5f8 100644
--- a/noncore/net/opieftp/opieftp.h
+++ b/noncore/net/opieftp/opieftp.h
@@ -18,76 +18,78 @@
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
22class QVBoxLayout; 22class QVBoxLayout;
23class QHBoxLayout; 23class QHBoxLayout;
24class QGridLayout; 24class QGridLayout;
25class QComboBox; 25class QComboBox;
26class QListView; 26class QListView;
27class QListViewItem; 27class QListViewItem;
28class QLabel; 28class QLabel;
29class QProgressBar; 29class QProgressBar;
30class QSpinBox; 30class QSpinBox;
31class QTabWidget; 31class QTabWidget;
32class QWidget; 32class QWidget;
33class QPEToolBar; 33class QPEToolBar;
34class QPEMenuBar; 34class QPEMenuBar;
35class QPopupMenu; 35class QPopupMenu;
36class QFile; 36class QFile;
37class QLineEdit; 37class QLineEdit;
38class QPushButton; 38class QPushButton;
39class QToolButton; 39class QToolButton;
40class QStringList; 40class QStringList;
41class QListBox; 41class QListBox;
42class QTimer;
42 43
43class OpieFtp : public QMainWindow 44class OpieFtp : public QMainWindow
44{ 45{
45 Q_OBJECT 46 Q_OBJECT
46 47
47public: 48public:
48 OpieFtp( ); 49 OpieFtp( );
49 ~OpieFtp(); 50 ~OpieFtp();
50 51
51 QTabWidget *TabWidget; 52 QTabWidget *TabWidget;
52 QWidget *tab, *tab_2, *tab_3; 53 QWidget *tab, *tab_2, *tab_3;
53 QListView *Local_View, *Remote_View; 54 QListView *Local_View, *Remote_View;
54 QListBox *serverListView; 55 QListBox *serverListView;
55 56
56 QComboBox *UsernameComboBox, *ServerComboBox, *currentPathCombo; 57 QComboBox *UsernameComboBox, *ServerComboBox, *currentPathCombo;
57 QLineEdit *PasswordEdit, *remotePath; 58 QLineEdit *PasswordEdit, *remotePath;
58 QLabel *TextLabel2, *TextLabel1, *TextLabel3, *TextLabel4;; 59 QLabel *TextLabel2, *TextLabel1, *TextLabel3, *TextLabel4;;
59 QSpinBox* PortSpinBox; 60 QSpinBox* PortSpinBox;
60 QPopupMenu *connectionMenu, *localMenu, *remoteMenu, *tabMenu, *aboutMenu; 61 QPopupMenu *connectionMenu, *localMenu, *remoteMenu, *tabMenu, *aboutMenu;
61 QDir currentDir; 62 QDir currentDir;
62 QString currentRemoteDir; 63 QString currentRemoteDir;
63 QString filterStr; 64 QString filterStr;
64 QListViewItem * item; 65 QListViewItem * item;
65 QPushButton *connectServerBtn, *newServerButton;// 66 QPushButton *connectServerBtn, *newServerButton;//
66 QToolButton *cdUpButton, *homeButton, *docButton; 67 QToolButton *cdUpButton, *homeButton, *docButton;
67 bool b; 68 bool b;
68 int currentServerConfig; 69 int currentServerConfig;
69protected slots: 70protected slots:
71 void timerOut();
70 void upDir(); 72 void upDir();
71 void homeButtonPushed(); 73 void homeButtonPushed();
72 void docButtonPushed(); 74 void docButtonPushed();
73 void doAbout(); 75 void doAbout();
74 76
75 void serverComboEdited(const QString & ); 77 void serverComboEdited(const QString & );
76 void UsernameComboBoxEdited(const QString & ); 78 void UsernameComboBoxEdited(const QString & );
77 void PasswordEditEdited(const QString & ); 79 void PasswordEditEdited(const QString & );
78 80
79 void showLocalMenu( QListViewItem *); 81 void showLocalMenu( QListViewItem *);
80 void showRemoteMenu( QListViewItem *); 82 void showRemoteMenu( QListViewItem *);
81 void doLocalCd(); 83 void doLocalCd();
82 void doRemoteCd(); 84 void doRemoteCd();
83 void localUpload(); 85 void localUpload();
84 void remoteDownload(); 86 void remoteDownload();
85 void newConnection(); 87 void newConnection();
86 void connector(); 88 void connector();
87 void disConnector(); 89 void disConnector();
88 void populateLocalView(); 90 void populateLocalView();
89 bool populateRemoteView(); 91 bool populateRemoteView();
90 void showHidden(); 92 void showHidden();
91 void writeConfig(); 93 void writeConfig();
92 void readConfig(); 94 void readConfig();
93 void localListClicked(QListViewItem *); 95 void localListClicked(QListViewItem *);