summaryrefslogtreecommitdiff
authoralwin <alwin>2004-03-15 13:04:19 (UTC)
committer alwin <alwin>2004-03-15 13:04:19 (UTC)
commitf5ee3aa552fcf1a66e7f6e2399a008c6713f0d50 (patch) (unidiff)
treec8965f9cd8b95ad01d502f5c8903b678a08122db
parentcc240cf40ff290e3c2ff74344d47bb55de45d2ad (diff)
downloadopie-f5ee3aa552fcf1a66e7f6e2399a008c6713f0d50.zip
opie-f5ee3aa552fcf1a66e7f6e2399a008c6713f0d50.tar.gz
opie-f5ee3aa552fcf1a66e7f6e2399a008c6713f0d50.tar.bz2
namespace fix
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--libslcompat/slfileselector.h3
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>
8using 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
23class QComboBox; 22class QComboBox;
24class SlFileItemType; 23class SlFileItemType;
25class QCopChannel; 24class QCopChannel;
26 25
27struct SlFileListItemPrivate; 26struct SlFileListItemPrivate;
28class SlFileListItem 27class SlFileListItem
29{ 28{
30public: 29public:
31 SlFileListItem(const QFileInfo&,const MimeType&); 30 SlFileListItem(const QFileInfo&,const MimeType&);
32 ~SlFileListItem(); 31 ~SlFileListItem();
@@ -132,49 +131,49 @@ protected slots:
132 131
133signals: 132signals:
134 void keyPressed(QKeyEvent *e,bool &isAccepted); 133 void keyPressed(QKeyEvent *e,bool &isAccepted);
135 134
136private: 135private:
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
142class SlFileSelectorFilter : public QObject 141class SlFileSelectorFilter : public QObject
143{ 142{
144public: 143public:
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;
149private: 148private:
150 SlFileSelectorFilter(const SlFileSelectorFilter&); 149 SlFileSelectorFilter(const SlFileSelectorFilter&);
151}; 150};
152 151
153typedef QList<MimeType> SlFileMimeTypeList; 152typedef QList<MimeType> SlFileMimeTypeList;
154 153
155struct SlFileSelectorPrivate; 154struct SlFileSelectorPrivate;
156class SlFileSelector : public OFileSelector /*QVBox*/ 155class SlFileSelector : public Opie::Ui::OFileSelector /*QVBox*/
157{ 156{
158 Q_OBJECT 157 Q_OBJECT
159 158
160public: 159public:
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,