summaryrefslogtreecommitdiff
path: root/noncore/net/opieftp/opieftp.h
Side-by-side diff
Diffstat (limited to 'noncore/net/opieftp/opieftp.h') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/net/opieftp/opieftp.h42
1 files changed, 29 insertions, 13 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
@@ -25,5 +25,5 @@ class QGridLayout;
class QComboBox;
class QListView;
-class QListviewItem;
+class QListViewItem;
class QLabel;
class QProgressBar;
@@ -35,9 +35,9 @@ class QPEMenuBar;
class QPopupMenu;
class QFile;
-class QListViewItem;
class QLineEdit;
class QPushButton;
class QToolButton;
class QStringList;
+class QListBox;
class OpieFtp : public QMainWindow
@@ -52,4 +52,5 @@ public:
QWidget *tab, *tab_2, *tab_3;
QListView *Local_View, *Remote_View;
+ QListBox *serverListView;
QComboBox *UsernameComboBox, *ServerComboBox, *currentPathCombo;
@@ -62,5 +63,5 @@ public:
QString filterStr;
QListViewItem * item;
- QPushButton *connectServerBtn;//
+ QPushButton *connectServerBtn, *newServerButton;//
QToolButton *cdUpButton, *homeButton, *docButton;
bool b;
@@ -71,5 +72,9 @@ protected slots:
void docButtonPushed();
void doAbout();
+
void serverComboEdited(const QString & );
+ void UsernameComboBoxEdited(const QString & );
+ void PasswordEditEdited(const QString & );
+
void showLocalMenu( QListViewItem *);
void showRemoteMenu( QListViewItem *);
@@ -94,23 +99,34 @@ protected slots:
void remoteMakDir();
void remoteDelete();
+
bool remoteDirList(const QString &);
bool remoteChDir(const QString &);
+
void tabChanged(QWidget*);
void cleanUp();
+
void remoteRename();
void localRename();
+
void currentPathComboChanged();
- void currentPathComboActivated(const QString &);
- void switchToLocalTab();
- void switchToRemoteTab();
- void switchToConfigTab();
- void fillCombos();
- void fillRemoteCombo(const QString&);
- void fillCombo(const QString &);
- void serverComboSelected(int);
- void deleteServer();
- void connectorBtnToggled(bool);
+ void currentPathComboActivated(const QString &);
+ void switchToLocalTab();
+ void switchToRemoteTab();
+ void switchToConfigTab();
+
+ void fillCombos();
+ void clearCombos();
+ void fillRemoteCombo(const QString&);
+ void fillCombo(const QString &);
+ void serverComboSelected(int);
+ void deleteServer();
+ void connectorBtnToggled(bool);
+ void NewServer();
+ void serverListClicked( const QString &);
+
protected:
+ bool fuckeduphack;
QStringList remoteDirPathStringList, localDirPathStringList;
+ QString newServerName;
void nullifyCallBack();
QGridLayout* tabLayout;