author | llornkcor <llornkcor> | 2002-03-12 01:17:36 (UTC) |
---|---|---|
committer | llornkcor <llornkcor> | 2002-03-12 01:17:36 (UTC) |
commit | 3e450bfc664c55e1e185953ba47e83f2b981ee68 (patch) (side-by-side diff) | |
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
-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 @@ +/*************************************************************************** + opieftp.h + ------------------- +** Created: Sat Mar 9 23:33:09 2002 + copyright : (C) 2002 by ljp + email : ljp@llornkcor.com + * This program is free software; you can redistribute it and/or modify * + * it under the terms of the GNU General Public License as published by * + * the Free Software Foundation; either version 2 of the License, or * + * (at your option) any later version. * + ***************************************************************************/ +#ifndef OPIEFTP_H +#define OPIEFTP_H + +#include <qvariant.h> +#include <qdialog.h> +#include <qmainwindow.h> +#include <qdir.h> +#include <qstring.h> +#include <qpoint.h> + +class QVBoxLayout; +class QHBoxLayout; +class QGridLayout; +class QComboBox; +class QListView; +class QListviewItem; +class QLabel; +class QProgressBar; +class QSpinBox; +class QTabWidget; +class QWidget; +class QPEToolBar; +class QPEMenuBar; +class QPopupMenu; +class QFile; +class QListViewItem; +class QLineEdit; + +class OpieFtp : public QMainWindow +{ + Q_OBJECT + +public: + OpieFtp( ); + ~OpieFtp(); + + QTabWidget *TabWidget; + QWidget *tab, *tab_2, *tab_3;; + QListView *Local_View, *Remote_View; + + QComboBox *UsernameComboBox, *ServerComboBox; + QLineEdit *PasswordEdit, *remotePath, *currentPathEdit; + QLabel *TextLabel2, *TextLabel1, *TextLabel3, *TextLabel4;; + QSpinBox* PortSpinBox; + QPopupMenu *connectionMenu, *localMenu, *remoteMenu; + QDir currentDir; + QString currentRemoteDir; + QString filterStr; + QListViewItem * item; + bool b; + +protected slots: + void showLocalMenu( ); + void showRemoteMenu( ); + void localUpload(); + void remoteDownload(); + void newConnection(); + void connector(); + void disConnector(); + void populateLocalView(); + bool populateRemoteView(); + void showHidden(); + + void localListClicked(QListViewItem *); + void remoteListClicked(QListViewItem *); + void ListPressed( int, QListViewItem *, const QPoint&, int); + void RemoteListPressed( int, QListViewItem *, const QPoint&, int); + void localMakDir(); + void localDelete(); + void remoteMakDir(); + void remoteDelete(); + bool remoteDirList(const QString &); + bool remoteChDir(const QString &); + void tabChanged(QWidget*); + void cleanUp(); + void remoteRename(); + void localRename(); + void currentPathEditChanged(); +}; + +#endif // OPIEFTP_H |