summaryrefslogtreecommitdiff
path: root/noncore/apps/advancedfm/advancedfm.h
Unidiff
Diffstat (limited to 'noncore/apps/advancedfm/advancedfm.h') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/apps/advancedfm/advancedfm.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/noncore/apps/advancedfm/advancedfm.h b/noncore/apps/advancedfm/advancedfm.h
index b2705b8..12ad474 100644
--- a/noncore/apps/advancedfm/advancedfm.h
+++ b/noncore/apps/advancedfm/advancedfm.h
@@ -1,37 +1,38 @@
1/*************************************************************************** 1/***************************************************************************
2 advancedfm.h 2 advancedfm.h
3 ------------------- 3 -------------------
4** Created: Sat Mar 9 23:33:09 2002 4** Created: Sat Mar 9 23:33:09 2002
5 copyright : (C) 2002 by ljp 5 copyright : (C) 2002 by ljp
6 email : ljp@llornkcor.com 6 email : ljp@llornkcor.com
7 * This program is free software; you can redistribute it and/or modify * 7 * This program is free software; you can redistribute it and/or modify *
8 * it under the terms of the GNU General Public License as published by * 8 * it under the terms of the GNU General Public License as published by *
9 * the Free Software Foundation; either version 2 of the License, or * 9 * the Free Software Foundation; either version 2 of the License, or *
10 * (at your option) any later version. * 10 * (at your option) any later version. *
11 ***************************************************************************/ 11 ***************************************************************************/
12#ifndef ADVANCEDFM_H 12#ifndef ADVANCEDFM_H
13#define ADVANCEDFM_H 13#define ADVANCEDFM_H
14#define QTOPIA_INTERNAL_FSLP // to get access to fileproperties
14 15
15#include <qpe/ir.h> 16#include <qpe/ir.h>
16 17
17#include <qvariant.h> 18#include <qvariant.h>
18#include <qdialog.h> 19#include <qdialog.h>
19#include <qmainwindow.h> 20#include <qmainwindow.h>
20#include <qstringlist.h> 21#include <qstringlist.h>
21#include <qdir.h> 22#include <qdir.h>
22#include <qstring.h> 23#include <qstring.h>
23#include <qpoint.h> 24#include <qpoint.h>
24#include <qtimer.h> 25#include <qtimer.h>
25 26
26class QVBoxLayout; 27class QVBoxLayout;
27class QHBoxLayout; 28class QHBoxLayout;
28class QGridLayout; 29class QGridLayout;
29class QComboBox; 30class QComboBox;
30class QListView; 31class QListView;
31class QListviewItem; 32class QListviewItem;
32class QLabel; 33class QLabel;
33class QProgressBar; 34class QProgressBar;
34class QSpinBox; 35class QSpinBox;
35class QTabWidget; 36class QTabWidget;
36class QWidget; 37class QWidget;
37class QPEToolBar; 38class QPEToolBar;
@@ -56,48 +57,49 @@ public:
56 QListView *Local_View, *Remote_View; 57 QListView *Local_View, *Remote_View;
57 58
58 QLineEdit *currentPathEdit; 59 QLineEdit *currentPathEdit;
59 QPopupMenu *fileMenu, *localMenu, *remoteMenu, *viewMenu; 60 QPopupMenu *fileMenu, *localMenu, *remoteMenu, *viewMenu;
60 QToolButton *homeButton, *docButton, *cdUpButton, *sdButton, *cfButton, *qpeDirButton; 61 QToolButton *homeButton, *docButton, *cdUpButton, *sdButton, *cfButton, *qpeDirButton;
61// QPushButton *homeButton, *docButton, *cdUpButton, *sdButton, *cfButton, *qpeDirButton; 62// QPushButton *homeButton, *docButton, *cdUpButton, *sdButton, *cfButton, *qpeDirButton;
62 QDir currentDir, currentRemoteDir; 63 QDir currentDir, currentRemoteDir;
63 QComboBox *currentPathCombo; 64 QComboBox *currentPathCombo;
64 QString filterStr; 65 QString filterStr;
65 QListViewItem * item; 66 QListViewItem * item;
66 bool b; 67 bool b;
67 QStringList fileSystemTypeList, fsList; 68 QStringList fileSystemTypeList, fsList;
68 int currentServerConfig; 69 int currentServerConfig;
69protected slots: 70protected slots:
70 void addToDocs(); 71 void addToDocs();
71 void doLocalCd(); 72 void doLocalCd();
72 void doRemoteCd(); 73 void doRemoteCd();
73// void copy(); 74// void copy();
74 void mkDir(); 75 void mkDir();
75 void del(); 76 void del();
76 void rn(); 77 void rn();
77 void populateLocalView(); 78 void populateLocalView();
78 void populateRemoteView(); 79 void populateRemoteView();
79 void showHidden(); 80 void showHidden();
81 void showMenuHidden();
80 void showRemoteHidden(); 82 void showRemoteHidden();
81 void writeConfig(); 83 void writeConfig();
82 void readConfig(); 84 void readConfig();
83 void localListClicked(QListViewItem *); 85 void localListClicked(QListViewItem *);
84 void remoteListClicked(QListViewItem *); 86 void remoteListClicked(QListViewItem *);
85 void localListPressed( int, QListViewItem *, const QPoint&, int); 87 void localListPressed( int, QListViewItem *, const QPoint&, int);
86 void remoteListPressed( int, QListViewItem *, const QPoint&, int); 88 void remoteListPressed( int, QListViewItem *, const QPoint&, int);
87 void localMakDir(); 89 void localMakDir();
88 void localDelete(); 90 void localDelete();
89 void remoteMakDir(); 91 void remoteMakDir();
90 void remoteDelete(); 92 void remoteDelete();
91/* bool remoteDirList(const QString &); */ 93/* bool remoteDirList(const QString &); */
92/* bool remoteChDir(const QString &); */ 94/* bool remoteChDir(const QString &); */
93 void tabChanged(QWidget*); 95 void tabChanged(QWidget*);
94 void cleanUp(); 96 void cleanUp();
95 void remoteRename(); 97 void remoteRename();
96 void localRename(); 98 void localRename();
97 void runThis(); 99 void runThis();
98 void runText(); 100 void runText();
99 void filePerms(); 101 void filePerms();
100 void doProperties(); 102 void doProperties();
101 void runCommand(); 103 void runCommand();
102 void runCommandStd(); 104 void runCommandStd();
103 QStringList getPath(); 105 QStringList getPath();