summaryrefslogtreecommitdiff
authorllornkcor <llornkcor>2002-05-09 14:04:26 (UTC)
committer llornkcor <llornkcor>2002-05-09 14:04:26 (UTC)
commit2a21c7fdce37f76d47926b4d326ad0ab638f744b (patch) (unidiff)
tree50c216500b17b6df42166fb904253c674439c07a
parent9bc227708a13da276468b4c2ec815114e16ad980 (diff)
downloadopie-2a21c7fdce37f76d47926b4d326ad0ab638f744b.zip
opie-2a21c7fdce37f76d47926b4d326ad0ab638f744b.tar.gz
opie-2a21c7fdce37f76d47926b4d326ad0ab638f744b.tar.bz2
fileBrowser.h already has class QRegExp forward declaration, no need for including it also
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--core/apps/textedit/fileBrowser.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/core/apps/textedit/fileBrowser.h b/core/apps/textedit/fileBrowser.h
index 8607b8b..515da3d 100644
--- a/core/apps/textedit/fileBrowser.h
+++ b/core/apps/textedit/fileBrowser.h
@@ -1,57 +1,56 @@
1/**************************************************************************** 1/****************************************************************************
2** 2**
3** Created: Fri Dec 14 08:16:02 2001 3** Created: Fri Dec 14 08:16:02 2001
4** 4**
5** This file may be distributed and/or modified under the terms of the 5** This file may be distributed and/or modified under the terms of the
6** GNU General Public License version 2 as published by the Free Software 6** GNU General Public License version 2 as published by the Free Software
7** Foundation and appearing in the file LICENSE.GPL included in the 7** Foundation and appearing in the file LICENSE.GPL included in the
8** packaging of this file. 8** packaging of this file.
9** 9**
10** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE 10** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
11** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. 11** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
12** 12**
13copyright Sun 02-17-2002 22:28:23 L. J. Potter ljp@llornkcor.com 13copyright Sun 02-17-2002 22:28:23 L. J. Potter ljp@llornkcor.com
14****************************************************************************/ 14****************************************************************************/
15#ifndef FILEBROWSER_H 15#ifndef FILEBROWSER_H
16#define FILEBROWSER_H 16#define FILEBROWSER_H
17 17
18//#include <qvariant.h> 18//#include <qvariant.h>
19#include <qdialog.h> 19#include <qdialog.h>
20#include <qfile.h> 20#include <qfile.h>
21#include <qdir.h> 21#include <qdir.h>
22#include <qregexp.h>
23#include <qstringlist.h> 22#include <qstringlist.h>
24#include <qlabel.h> 23#include <qlabel.h>
25#include <qstring.h> 24#include <qstring.h>
26#include <qdict.h> 25#include <qdict.h>
27 26
28#include <qpe/filemanager.h> 27#include <qpe/filemanager.h>
29 28
30#include <qvariant.h> 29#include <qvariant.h>
31#include <qdialog.h> 30#include <qdialog.h>
32class QLineEdit;
33 31
32class QLineEdit;
34class QVBoxLayout; 33class QVBoxLayout;
35class QHBoxLayout; 34class QHBoxLayout;
36class QGridLayout; 35class QGridLayout;
37class QListView; 36class QListView;
38class QListViewItem; 37class QListViewItem;
39class QPushButton; 38class QPushButton;
40class QComboBox; 39class QComboBox;
41class QWidgetStack; 40class QWidgetStack;
42class FileSelector; 41class FileSelector;
43class QPoint; 42class QPoint;
44class MenuButton; 43class MenuButton;
45class QRegExp; 44class QRegExp;
46 45
47 46
48class fileBrowser : public QDialog 47class fileBrowser : public QDialog
49{ 48{
50 Q_OBJECT 49 Q_OBJECT
51 50
52public: 51public:
53 fileBrowser( QWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0 ,const QString filter=0); 52 fileBrowser( QWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0 ,const QString filter=0);
54 ~fileBrowser(); 53 ~fileBrowser();
55 54
56 QString selectedFileName; 55 QString selectedFileName;
57 QFile file; 56 QFile file;
@@ -97,24 +96,30 @@ private slots:
97 void updateMimeTypeMenu(); 96 void updateMimeTypeMenu();
98 void showType(const QString &); 97 void showType(const QString &);
99 void dirPathEditPressed(); 98 void dirPathEditPressed();
100 99
101protected slots: 100protected slots:
102 101
103protected: 102protected:
104 103
105}; 104};
106 105
107 106
108class InputDialog : public QDialog 107class InputDialog : public QDialog
109{ 108{
110 Q_OBJECT 109 Q_OBJECT
111 110
112public: 111public:
113 InputDialog( QWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0 ); 112 InputDialog( QWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0 );
114 ~InputDialog(); 113 ~InputDialog();
115 QString inputText; 114 QString inputText;
116 QLineEdit* LineEdit1; 115 QLineEdit* LineEdit1;
117 void setTextEdit(const QString &); 116 void setTextEdit(const QString &);
118}; 117};
119 118
120#endif // FILEBROWSER_H 119#endif // FILEBROWSER_H
120 QString inputText;
121 QLineEdit* LineEdit1;
122 void setTextEdit(const QString &);
123};
124
125#endif // FILEBROWSER_H