author | llornkcor <llornkcor> | 2002-05-09 14:04:26 (UTC) |
---|---|---|
committer | llornkcor <llornkcor> | 2002-05-09 14:04:26 (UTC) |
commit | 2a21c7fdce37f76d47926b4d326ad0ab638f744b (patch) (unidiff) | |
tree | 50c216500b17b6df42166fb904253c674439c07a | |
parent | 9bc227708a13da276468b4c2ec815114e16ad980 (diff) | |
download | opie-2a21c7fdce37f76d47926b4d326ad0ab638f744b.zip opie-2a21c7fdce37f76d47926b4d326ad0ab638f744b.tar.gz opie-2a21c7fdce37f76d47926b4d326ad0ab638f744b.tar.bz2 |
fileBrowser.h already has class QRegExp forward declaration, no need for including it also
-rw-r--r-- | core/apps/textedit/fileBrowser.h | 9 |
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 | ** |
13 | copyright Sun 02-17-2002 22:28:23 L. J. Potter ljp@llornkcor.com | 13 | copyright 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> |
32 | class QLineEdit; | ||
33 | 31 | ||
32 | class QLineEdit; | ||
34 | class QVBoxLayout; | 33 | class QVBoxLayout; |
35 | class QHBoxLayout; | 34 | class QHBoxLayout; |
36 | class QGridLayout; | 35 | class QGridLayout; |
37 | class QListView; | 36 | class QListView; |
38 | class QListViewItem; | 37 | class QListViewItem; |
39 | class QPushButton; | 38 | class QPushButton; |
40 | class QComboBox; | 39 | class QComboBox; |
41 | class QWidgetStack; | 40 | class QWidgetStack; |
42 | class FileSelector; | 41 | class FileSelector; |
43 | class QPoint; | 42 | class QPoint; |
44 | class MenuButton; | 43 | class MenuButton; |
45 | class QRegExp; | 44 | class QRegExp; |
46 | 45 | ||
47 | 46 | ||
48 | class fileBrowser : public QDialog | 47 | class fileBrowser : public QDialog |
49 | { | 48 | { |
50 | Q_OBJECT | 49 | Q_OBJECT |
51 | 50 | ||
52 | public: | 51 | public: |
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 | ||
101 | protected slots: | 100 | protected slots: |
102 | 101 | ||
103 | protected: | 102 | protected: |
104 | 103 | ||
105 | }; | 104 | }; |
106 | 105 | ||
107 | 106 | ||
108 | class InputDialog : public QDialog | 107 | class InputDialog : public QDialog |
109 | { | 108 | { |
110 | Q_OBJECT | 109 | Q_OBJECT |
111 | 110 | ||
112 | public: | 111 | public: |
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 | ||