summaryrefslogtreecommitdiff
path: root/noncore/apps/advancedfm/advancedfm.h
authorllornkcor <llornkcor>2002-04-18 03:02:37 (UTC)
committer llornkcor <llornkcor>2002-04-18 03:02:37 (UTC)
commit65748a36a621a19078789cc277a89c8a1f341351 (patch) (side-by-side diff)
treeb512d4b7ce7521c1d5d475ad3b3f5827f5bdffe7 /noncore/apps/advancedfm/advancedfm.h
parent276f934cd66542d8cc403bb74e9cb661264ddd2f (diff)
downloadopie-65748a36a621a19078789cc277a89c8a1f341351.zip
opie-65748a36a621a19078789cc277a89c8a1f341351.tar.gz
opie-65748a36a621a19078789cc277a89c8a1f341351.tar.bz2
initial offering
Diffstat (limited to 'noncore/apps/advancedfm/advancedfm.h') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/apps/advancedfm/advancedfm.h118
1 files changed, 118 insertions, 0 deletions
diff --git a/noncore/apps/advancedfm/advancedfm.h b/noncore/apps/advancedfm/advancedfm.h
new file mode 100644
index 0000000..2ca45b1
--- a/dev/null
+++ b/noncore/apps/advancedfm/advancedfm.h
@@ -0,0 +1,118 @@
+/***************************************************************************
+ 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 ADVANCEDFM_H
+#define ADVANCEDFM_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 QPushButton;
+
+class AdvancedFm : public QMainWindow
+{
+ Q_OBJECT
+public:
+ AdvancedFm();
+ ~AdvancedFm();
+
+ QTabWidget *TabWidget;
+ QWidget *tab, *tab_2, *tab_3;
+ QListView *Local_View, *Remote_View;
+
+ QLineEdit *currentPathEdit;
+ QPopupMenu *fileMenu, *localMenu, *remoteMenu, *viewMenu;
+ QPushButton *homeButton, *docButton, *cdUpButton, *sdButton, *cfButton;
+ QDir currentDir, currentRemoteDir;
+ QComboBox *currentPathCombo;
+ QString filterStr;
+ QListViewItem * item;
+ bool b;
+ int currentServerConfig;
+protected slots:
+ void showLocalMenu( QListViewItem *);
+ void showRemoteMenu( QListViewItem *);
+ void doLocalCd();
+ void doRemoteCd();
+// void copy();
+
+ void populateLocalView();
+ void populateRemoteView();
+ void showHidden();
+ void showRemoteHidden();
+ void writeConfig();
+ void readConfig();
+ void localListClicked(QListViewItem *);
+ void remoteListClicked(QListViewItem *);
+ void localListPressed( 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 runThis();
+ void runText();
+ void filePerms();
+ void doProperties();
+ void runCommand();
+ void runCommandStd();
+ QString getPath();
+ void switchToLocalTab();
+ void switchToRemoteTab();
+
+protected:
+ QGridLayout *tabLayout, *tabLayout_2, *tabLayout_3;
+ QStringList remoteDirPathStringList, localDirPathStringList;
+
+protected slots:
+ void homeButtonPushed();
+ void docButtonPushed();
+ void SDButtonPushed();
+ void CFButtonPushed();
+ void upDir();
+ void currentPathComboChanged();
+ void copy();
+ void copyAs();
+ void currentPathComboActivated(const QString &);
+ void fillCombo(const QString &);
+ bool copyFile( const QString & , const QString & );
+ void move();
+ void fileStatus();
+};
+
+#endif // ADVANCEDFM_H