author | llornkcor <llornkcor> | 2002-05-09 17:24:59 (UTC) |
---|---|---|
committer | llornkcor <llornkcor> | 2002-05-09 17:24:59 (UTC) |
commit | 52ddcfe41eaaf782d477b3e0312b2f5e0f71489c (patch) (unidiff) | |
tree | 1806120cc6a63ccd27970949b7a025517b1e87e1 | |
parent | bdb0fabbab969d7ebb7f1e0c1396070123c33e7e (diff) | |
download | opie-52ddcfe41eaaf782d477b3e0312b2f5e0f71489c.zip opie-52ddcfe41eaaf782d477b3e0312b2f5e0f71489c.tar.gz opie-52ddcfe41eaaf782d477b3e0312b2f5e0f71489c.tar.bz2 |
replaced declaration of qregexp to be an include
-rw-r--r-- | core/apps/textedit/fileBrowser.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/core/apps/textedit/fileBrowser.h b/core/apps/textedit/fileBrowser.h index e89b62b..45c8b8f 100644 --- a/core/apps/textedit/fileBrowser.h +++ b/core/apps/textedit/fileBrowser.h | |||
@@ -7,62 +7,63 @@ | |||
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 <qstringlist.h> | 22 | #include <qstringlist.h> |
23 | #include <qlabel.h> | 23 | #include <qlabel.h> |
24 | #include <qstring.h> | 24 | #include <qstring.h> |
25 | #include <qdict.h> | 25 | #include <qdict.h> |
26 | 26 | ||
27 | #include <qpe/filemanager.h> | 27 | #include <qpe/filemanager.h> |
28 | 28 | ||
29 | #include <qvariant.h> | 29 | #include <qvariant.h> |
30 | #include <qdialog.h> | 30 | #include <qdialog.h> |
31 | #include <qregexp.h> | ||
32 | |||
31 | 33 | ||
32 | class QLineEdit; | 34 | class QLineEdit; |
33 | class QVBoxLayout; | 35 | class QVBoxLayout; |
34 | class QHBoxLayout; | 36 | class QHBoxLayout; |
35 | class QGridLayout; | 37 | class QGridLayout; |
36 | class QListView; | 38 | class QListView; |
37 | class QListViewItem; | 39 | class QListViewItem; |
38 | class QPushButton; | 40 | class QPushButton; |
39 | class QComboBox; | 41 | class QComboBox; |
40 | class QWidgetStack; | 42 | class QWidgetStack; |
41 | class FileSelector; | 43 | class FileSelector; |
42 | class QPoint; | 44 | class QPoint; |
43 | class MenuButton; | 45 | class MenuButton; |
44 | class QRegExp; | ||
45 | 46 | ||
46 | 47 | ||
47 | class fileBrowser : public QDialog | 48 | class fileBrowser : public QDialog |
48 | { | 49 | { |
49 | Q_OBJECT | 50 | Q_OBJECT |
50 | 51 | ||
51 | public: | 52 | public: |
52 | fileBrowser( QWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0 ,const QString filter=0); | 53 | fileBrowser( QWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0 ,const QString filter=0); |
53 | ~fileBrowser(); | 54 | ~fileBrowser(); |
54 | 55 | ||
55 | QString selectedFileName; | 56 | QString selectedFileName; |
56 | QFile file; | 57 | QFile file; |
57 | QStringList fileList; | 58 | QStringList fileList; |
58 | QComboBox *SelectionCombo; | 59 | QComboBox *SelectionCombo; |
59 | public slots: | 60 | public slots: |
60 | void setFileView( int ); | 61 | void setFileView( int ); |
61 | 62 | ||
62 | private: | 63 | private: |
63 | // QDict<void> mimes; | 64 | // QDict<void> mimes; |
64 | QPushButton *buttonOk, *buttonCancel, *homeButton, *docButton, *hideButton, *cdUpButton; | 65 | QPushButton *buttonOk, *buttonCancel, *homeButton, *docButton, *hideButton, *cdUpButton; |
65 | QListView* ListView; | 66 | QListView* ListView; |
66 | QLabel *dirLabel; | 67 | QLabel *dirLabel; |
67 | QString filterStr, mimeType; | 68 | QString filterStr, mimeType; |
68 | QDir currentDir; | 69 | QDir currentDir; |
@@ -96,24 +97,30 @@ private slots: | |||
96 | void updateMimeTypeMenu(); | 97 | void updateMimeTypeMenu(); |
97 | void showType(const QString &); | 98 | void showType(const QString &); |
98 | void dirPathEditPressed(); | 99 | void dirPathEditPressed(); |
99 | 100 | ||
100 | protected slots: | 101 | protected slots: |
101 | 102 | ||
102 | protected: | 103 | protected: |
103 | 104 | ||
104 | }; | 105 | }; |
105 | 106 | ||
106 | 107 | ||
107 | class InputDialog : public QDialog | 108 | class InputDialog : public QDialog |
108 | { | 109 | { |
109 | Q_OBJECT | 110 | Q_OBJECT |
110 | 111 | ||
111 | public: | 112 | public: |
112 | InputDialog( QWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0 ); | 113 | InputDialog( QWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0 ); |
113 | ~InputDialog(); | 114 | ~InputDialog(); |
114 | QString inputText; | 115 | QString inputText; |
115 | QLineEdit* LineEdit1; | 116 | QLineEdit* LineEdit1; |
116 | void setTextEdit(const QString &); | 117 | void setTextEdit(const QString &); |
117 | }; | 118 | }; |
118 | 119 | ||
119 | #endif // FILEBROWSER_H | 120 | #endif // FILEBROWSER_H |
121 | QString inputText; | ||
122 | QLineEdit* LineEdit1; | ||
123 | void setTextEdit(const QString &); | ||
124 | }; | ||
125 | |||
126 | #endif // FILEBROWSER_H | ||