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.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/noncore/net/opieftp/opieftp.h b/noncore/net/opieftp/opieftp.h
index 6852b1c..218a958 100644
--- a/noncore/net/opieftp/opieftp.h
+++ b/noncore/net/opieftp/opieftp.h
@@ -10,109 +10,109 @@
10 * (at your option) any later version. * 10 * (at your option) any later version. *
11 ***************************************************************************/ 11 ***************************************************************************/
12#ifndef OPIEFTP_H 12#ifndef OPIEFTP_H
13#define OPIEFTP_H 13#define OPIEFTP_H
14 14
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
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 QListViewItem; 37class QListViewItem;
38class QLineEdit; 38class QLineEdit;
39class QPushButton; 39class QPushButton;
40class QStringList; 40class QStringList;
41 41
42class OpieFtp : public QMainWindow 42class OpieFtp : public QMainWindow
43{ 43{
44 Q_OBJECT 44 Q_OBJECT
45 45
46public: 46public:
47 OpieFtp( ); 47 OpieFtp( );
48 ~OpieFtp(); 48 ~OpieFtp();
49 49
50 QTabWidget *TabWidget; 50 QTabWidget *TabWidget;
51 QWidget *tab, *tab_2, *tab_3; 51 QWidget *tab, *tab_2, *tab_3;
52 QListView *Local_View, *Remote_View; 52 QListView *Local_View, *Remote_View;
53 53
54 QComboBox *UsernameComboBox, *ServerComboBox, *currentPathCombo; 54 QComboBox *UsernameComboBox, *ServerComboBox, *currentPathCombo;
55 QLineEdit *PasswordEdit, *remotePath; 55 QLineEdit *PasswordEdit, *remotePath;
56 QLabel *TextLabel2, *TextLabel1, *TextLabel3, *TextLabel4;; 56 QLabel *TextLabel2, *TextLabel1, *TextLabel3, *TextLabel4;;
57 QSpinBox* PortSpinBox; 57 QSpinBox* PortSpinBox;
58 QPopupMenu *connectionMenu, *localMenu, *remoteMenu, *tabMenu; 58 QPopupMenu *connectionMenu, *localMenu, *remoteMenu, *tabMenu, *aboutMenu;
59 QDir currentDir; 59 QDir currentDir;
60 QString currentRemoteDir; 60 QString currentRemoteDir;
61 QString filterStr; 61 QString filterStr;
62 QListViewItem * item; 62 QListViewItem * item;
63 QPushButton *connectServerBtn, *cdUpButton, *homeButton, *docButton; 63 QPushButton *connectServerBtn, *cdUpButton, *homeButton, *docButton;
64 bool b; 64 bool b;
65 int currentServerConfig; 65 int currentServerConfig;
66protected slots: 66protected slots:
67 void upDir(); 67 void upDir();
68 void homeButtonPushed(); 68 void homeButtonPushed();
69 void docButtonPushed(); 69 void docButtonPushed();
70 70 void doAbout();
71 void serverComboEdited(const QString & ); 71 void serverComboEdited(const QString & );
72 void showLocalMenu( QListViewItem *); 72 void showLocalMenu( QListViewItem *);
73 void showRemoteMenu( QListViewItem *); 73 void showRemoteMenu( QListViewItem *);
74 void doLocalCd(); 74 void doLocalCd();
75 void doRemoteCd(); 75 void doRemoteCd();
76 void localUpload(); 76 void localUpload();
77 void remoteDownload(); 77 void remoteDownload();
78 void newConnection(); 78 void newConnection();
79 void connector(); 79 void connector();
80 void disConnector(); 80 void disConnector();
81 void populateLocalView(); 81 void populateLocalView();
82 bool populateRemoteView(); 82 bool populateRemoteView();
83 void showHidden(); 83 void showHidden();
84 void writeConfig(); 84 void writeConfig();
85 void readConfig(); 85 void readConfig();
86 void localListClicked(QListViewItem *); 86 void localListClicked(QListViewItem *);
87 void remoteListClicked(QListViewItem *); 87 void remoteListClicked(QListViewItem *);
88 void ListPressed( int, QListViewItem *, const QPoint&, int); 88 void ListPressed( int, QListViewItem *, const QPoint&, int);
89 void RemoteListPressed( int, QListViewItem *, const QPoint&, int); 89 void RemoteListPressed( int, QListViewItem *, const QPoint&, int);
90 void localMakDir(); 90 void localMakDir();
91 void localDelete(); 91 void localDelete();
92 void remoteMakDir(); 92 void remoteMakDir();
93 void remoteDelete(); 93 void remoteDelete();
94 bool remoteDirList(const QString &); 94 bool remoteDirList(const QString &);
95 bool remoteChDir(const QString &); 95 bool remoteChDir(const QString &);
96 void tabChanged(QWidget*); 96 void tabChanged(QWidget*);
97 void cleanUp(); 97 void cleanUp();
98 void remoteRename(); 98 void remoteRename();
99 void localRename(); 99 void localRename();
100 void currentPathComboChanged(); 100 void currentPathComboChanged();
101 void currentPathComboActivated(const QString &); 101 void currentPathComboActivated(const QString &);
102 void switchToLocalTab(); 102 void switchToLocalTab();
103 void switchToRemoteTab(); 103 void switchToRemoteTab();
104 void switchToConfigTab(); 104 void switchToConfigTab();
105 void fillCombos(); 105 void fillCombos();
106 void fillRemoteCombo(const QString&); 106 void fillRemoteCombo(const QString&);
107 void fillCombo(const QString &); 107 void fillCombo(const QString &);
108 void serverComboSelected(int); 108 void serverComboSelected(int);
109 void deleteServer(); 109 void deleteServer();
110 void connectorBtnToggled(bool); 110 void connectorBtnToggled(bool);
111protected: 111protected:
112 QStringList remoteDirPathStringList, localDirPathStringList; 112 QStringList remoteDirPathStringList, localDirPathStringList;
113 void nullifyCallBack(); 113 void nullifyCallBack();
114 QGridLayout* tabLayout; 114 QGridLayout* tabLayout;
115 QGridLayout* tabLayout_2; 115 QGridLayout* tabLayout_2;
116 QGridLayout* tabLayout_3; 116 QGridLayout* tabLayout_3;
117 117
118}; 118};