summaryrefslogtreecommitdiff
path: root/noncore/net/opieftp/opieftp.h
authorllornkcor <llornkcor>2002-07-20 02:35:34 (UTC)
committer llornkcor <llornkcor>2002-07-20 02:35:34 (UTC)
commit8256eec0103a50f80905e71891904a4267754559 (patch) (side-by-side diff)
tree8dc249ea2db645d38c9ce39a6000e9ee833978b4 /noncore/net/opieftp/opieftp.h
parenta4a56e27ba0f4fd2bdbc56e20c9e7f4ccc8be535 (diff)
downloadopie-8256eec0103a50f80905e71891904a4267754559.zip
opie-8256eec0103a50f80905e71891904a4267754559.tar.gz
opie-8256eec0103a50f80905e71891904a4267754559.tar.bz2
fixes and changes.. _should_ remember servers. Still needs work
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
@@ -24,7 +24,7 @@ class QHBoxLayout;
class QGridLayout;
class QComboBox;
class QListView;
-class QListviewItem;
+class QListViewItem;
class QLabel;
class QProgressBar;
class QSpinBox;
@@ -34,11 +34,11 @@ class QPEToolBar;
class QPEMenuBar;
class QPopupMenu;
class QFile;
-class QListViewItem;
class QLineEdit;
class QPushButton;
class QToolButton;
class QStringList;
+class QListBox;
class OpieFtp : public QMainWindow
{
@@ -51,6 +51,7 @@ public:
QTabWidget *TabWidget;
QWidget *tab, *tab_2, *tab_3;
QListView *Local_View, *Remote_View;
+ QListBox *serverListView;
QComboBox *UsernameComboBox, *ServerComboBox, *currentPathCombo;
QLineEdit *PasswordEdit, *remotePath;
@@ -61,7 +62,7 @@ public:
QString currentRemoteDir;
QString filterStr;
QListViewItem * item;
- QPushButton *connectServerBtn;//
+ QPushButton *connectServerBtn, *newServerButton;//
QToolButton *cdUpButton, *homeButton, *docButton;
bool b;
int currentServerConfig;
@@ -70,7 +71,11 @@ protected slots:
void homeButtonPushed();
void docButtonPushed();
void doAbout();
+
void serverComboEdited(const QString & );
+ void UsernameComboBoxEdited(const QString & );
+ void PasswordEditEdited(const QString & );
+
void showLocalMenu( QListViewItem *);
void showRemoteMenu( QListViewItem *);
void doLocalCd();
@@ -93,25 +98,36 @@ protected slots:
void localDelete();
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;
QGridLayout* tabLayout_2;