summaryrefslogtreecommitdiff
path: root/noncore/apps/advancedfm/advancedfm.h
authorllornkcor <llornkcor>2003-02-24 01:37:16 (UTC)
committer llornkcor <llornkcor>2003-02-24 01:37:16 (UTC)
commit56b89312a374b62ee20f6ad2b62b6426183d4d26 (patch) (side-by-side diff)
treef57607a3f7b9e267245e79ea38a43694ebdefbb3 /noncore/apps/advancedfm/advancedfm.h
parent041eda0d7482d60cd67731b81fd36104fcd3120f (diff)
downloadopie-56b89312a374b62ee20f6ad2b62b6426183d4d26.zip
opie-56b89312a374b62ee20f6ad2b62b6426183d4d26.tar.gz
opie-56b89312a374b62ee20f6ad2b62b6426183d4d26.tar.bz2
first part refactoring simplify
Diffstat (limited to 'noncore/apps/advancedfm/advancedfm.h') (more/less context) (show whitespace changes)
-rw-r--r--noncore/apps/advancedfm/advancedfm.h30
1 files changed, 14 insertions, 16 deletions
diff --git a/noncore/apps/advancedfm/advancedfm.h b/noncore/apps/advancedfm/advancedfm.h
index 7478dcb..8eec6ba 100644
--- a/noncore/apps/advancedfm/advancedfm.h
+++ b/noncore/apps/advancedfm/advancedfm.h
@@ -50,93 +50,91 @@ class MenuButton;
class QToolButton;
class Ir;
class AdvancedFm : public QMainWindow
{
Q_OBJECT
public:
AdvancedFm();
~AdvancedFm();
protected slots:
void selectAll();
void addToDocs();
- void doLocalCd();
- void doRemoteCd();
-// void copy();
+ void doDirChange();
void mkDir();
void del();
void rn();
void populateLocalView();
void populateRemoteView();
void showHidden();
void showMenuHidden();
- void showRemoteHidden();
+// 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 ListClicked(QListViewItem *);
+ void ListPressed( int, QListViewItem *, const QPoint&, int);
+ void makeDir();
+ void doDelete();
void tabChanged(QWidget*);
void cleanUp();
- void remoteRename();
- void localRename();
+ void renameIt();
void runThis();
void runText();
void filePerms();
void doProperties();
void runCommand();
void runCommandStd();
QStringList getPath();
void mkSym();
void switchToLocalTab();
void switchToRemoteTab();
protected:
OTabWidget *TabWidget;
+ int whichTab;
// QTabWidget *TabWidget;
QWidget *tab, *tab_2, *tab_3;
QListView *Local_View, *Remote_View;
QLineEdit *currentPathEdit;
QPopupMenu *fileMenu, *localMenu, *remoteMenu, *viewMenu /*, *customDirMenu*/;
QToolButton *homeButton, *docButton, *cdUpButton, *sdButton, *cfButton, *qpeDirButton;
// QPushButton *homeButton, *docButton, *cdUpButton, *sdButton, *cfButton, *qpeDirButton;
QDir currentDir, currentRemoteDir;
QComboBox *currentPathCombo;
QString filterStr, s_addBookmark, s_removeBookmark;
QListViewItem * item;
bool b;
QStringList fileSystemTypeList, fsList;
int currentServerConfig;
bool zaurusDevice;
QGridLayout *tabLayout, *tabLayout_2, *tabLayout_3;
QStringList remoteDirPathStringList, localDirPathStringList;
QLineEdit *renameBox;
void init();
void initConnections();
void keyReleaseEvent( QKeyEvent *);
+ void keyPressEvent( QKeyEvent *);
QString getFileSystemType(const QString &);
QString getDiskSpace(const QString &);
void parsetab(const QString &fileName);
QString checkDiskSpace(const QString &);
QString dealWithSymName(const QString &);
+ QDir *CurrentDir();
+ QDir *OtherDir();
+ QListView *CurrentView();
+ QListView *OtherView();
+ void PopulateView();
protected slots:
void dirMenuSelected(int);
void showFileMenu();
void cancelMenuTimer();
void homeButtonPushed();
void docButtonPushed();
void SDButtonPushed();
void CFButtonPushed();
void QPEButtonPushed();
void upDir();
void currentPathComboChanged();