author | alwin <alwin> | 2004-03-15 13:04:19 (UTC) |
---|---|---|
committer | alwin <alwin> | 2004-03-15 13:04:19 (UTC) |
commit | f5ee3aa552fcf1a66e7f6e2399a008c6713f0d50 (patch) (unidiff) | |
tree | c8965f9cd8b95ad01d502f5c8903b678a08122db | |
parent | cc240cf40ff290e3c2ff74344d47bb55de45d2ad (diff) | |
download | opie-f5ee3aa552fcf1a66e7f6e2399a008c6713f0d50.zip opie-f5ee3aa552fcf1a66e7f6e2399a008c6713f0d50.tar.gz opie-f5ee3aa552fcf1a66e7f6e2399a008c6713f0d50.tar.bz2 |
namespace fix
-rw-r--r-- | libslcompat/slfileselector.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/libslcompat/slfileselector.h b/libslcompat/slfileselector.h index 35fd11b..94ed3b7 100644 --- a/libslcompat/slfileselector.h +++ b/libslcompat/slfileselector.h | |||
@@ -1,32 +1,31 @@ | |||
1 | /* | 1 | /* |
2 | * Copyright (C) 2002 SHARP CORPORATION All rights reserved. | 2 | * Copyright (C) 2002 SHARP CORPORATION All rights reserved. |
3 | */ | 3 | */ |
4 | #ifndef _SLFILESELECTOR_H_INCLUDED | 4 | #ifndef _SLFILESELECTOR_H_INCLUDED |
5 | #define _SLFILESELECTOR_H_INCLUDED | 5 | #define _SLFILESELECTOR_H_INCLUDED |
6 | 6 | ||
7 | #include <opie2/ofileselector.h> | 7 | #include <opie2/ofileselector.h> |
8 | using namespace Opie; | ||
9 | #include <qhbox.h> | 8 | #include <qhbox.h> |
10 | #include <qvbox.h> | 9 | #include <qvbox.h> |
11 | #include <qlistview.h> | 10 | #include <qlistview.h> |
12 | #include <qiconview.h> | 11 | #include <qiconview.h> |
13 | #include <qtoolbutton.h> | 12 | #include <qtoolbutton.h> |
14 | #include <qfileinfo.h> | 13 | #include <qfileinfo.h> |
15 | #include <qtableview.h> | 14 | #include <qtableview.h> |
16 | #include <qwidgetstack.h> | 15 | #include <qwidgetstack.h> |
17 | #include <qvaluelist.h> | 16 | #include <qvaluelist.h> |
18 | 17 | ||
19 | #include <qpe/applnk.h> | 18 | #include <qpe/applnk.h> |
20 | #include <qpe/mimetype.h> | 19 | #include <qpe/mimetype.h> |
21 | #include <sl/slmisc.h> | 20 | #include <sl/slmisc.h> |
22 | 21 | ||
23 | class QComboBox; | 22 | class QComboBox; |
24 | class SlFileItemType; | 23 | class SlFileItemType; |
25 | class QCopChannel; | 24 | class QCopChannel; |
26 | 25 | ||
27 | struct SlFileListItemPrivate; | 26 | struct SlFileListItemPrivate; |
28 | class SlFileListItem | 27 | class SlFileListItem |
29 | { | 28 | { |
30 | public: | 29 | public: |
31 | SlFileListItem(const QFileInfo&,const MimeType&); | 30 | SlFileListItem(const QFileInfo&,const MimeType&); |
32 | ~SlFileListItem(); | 31 | ~SlFileListItem(); |
@@ -132,49 +131,49 @@ protected slots: | |||
132 | 131 | ||
133 | signals: | 132 | signals: |
134 | void keyPressed(QKeyEvent *e,bool &isAccepted); | 133 | void keyPressed(QKeyEvent *e,bool &isAccepted); |
135 | 134 | ||
136 | private: | 135 | private: |
137 | friend class SlFileSelector; | 136 | friend class SlFileSelector; |
138 | SlFileIconViewPrivate *p; | 137 | SlFileIconViewPrivate *p; |
139 | SlFileIconView(const SlFileIconView&); | 138 | SlFileIconView(const SlFileIconView&); |
140 | }; | 139 | }; |
141 | 140 | ||
142 | class SlFileSelectorFilter : public QObject | 141 | class SlFileSelectorFilter : public QObject |
143 | { | 142 | { |
144 | public: | 143 | public: |
145 | SlFileSelectorFilter(QWidget *parent,const char *name=0); | 144 | SlFileSelectorFilter(QWidget *parent,const char *name=0); |
146 | ~SlFileSelectorFilter(); | 145 | ~SlFileSelectorFilter(); |
147 | 146 | ||
148 | virtual bool isAddToList(QFileInfo&) const = 0; | 147 | virtual bool isAddToList(QFileInfo&) const = 0; |
149 | private: | 148 | private: |
150 | SlFileSelectorFilter(const SlFileSelectorFilter&); | 149 | SlFileSelectorFilter(const SlFileSelectorFilter&); |
151 | }; | 150 | }; |
152 | 151 | ||
153 | typedef QList<MimeType> SlFileMimeTypeList; | 152 | typedef QList<MimeType> SlFileMimeTypeList; |
154 | 153 | ||
155 | struct SlFileSelectorPrivate; | 154 | struct SlFileSelectorPrivate; |
156 | class SlFileSelector : public OFileSelector /*QVBox*/ | 155 | class SlFileSelector : public Opie::Ui::OFileSelector /*QVBox*/ |
157 | { | 156 | { |
158 | Q_OBJECT | 157 | Q_OBJECT |
159 | 158 | ||
160 | public: | 159 | public: |
161 | 160 | ||
162 | 161 | ||
163 | enum SlFileSelectorViewType { | 162 | enum SlFileSelectorViewType { |
164 | 163 | ||
165 | ListView = 1, | 164 | ListView = 1, |
166 | 165 | ||
167 | IconView | 166 | IconView |
168 | }; | 167 | }; |
169 | 168 | ||
170 | 169 | ||
171 | enum SlFileOverwirteMode { | 170 | enum SlFileOverwirteMode { |
172 | 171 | ||
173 | Overwrite = 1, | 172 | Overwrite = 1, |
174 | 173 | ||
175 | NewName, | 174 | NewName, |
176 | 175 | ||
177 | Error | 176 | Error |
178 | }; | 177 | }; |
179 | SlFileSelector(const QString &dirPath, | 178 | SlFileSelector(const QString &dirPath, |
180 | const QString &mimefilter, | 179 | const QString &mimefilter, |