summaryrefslogtreecommitdiff
authoralwin <alwin>2004-03-15 13:04:19 (UTC)
committer alwin <alwin>2004-03-15 13:04:19 (UTC)
commitf5ee3aa552fcf1a66e7f6e2399a008c6713f0d50 (patch) (side-by-side diff)
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 @@
/*
* Copyright (C) 2002 SHARP CORPORATION All rights reserved.
*/
#ifndef _SLFILESELECTOR_H_INCLUDED
#define _SLFILESELECTOR_H_INCLUDED
#include <opie2/ofileselector.h>
-using namespace Opie;
#include <qhbox.h>
#include <qvbox.h>
#include <qlistview.h>
#include <qiconview.h>
#include <qtoolbutton.h>
#include <qfileinfo.h>
#include <qtableview.h>
#include <qwidgetstack.h>
#include <qvaluelist.h>
#include <qpe/applnk.h>
#include <qpe/mimetype.h>
#include <sl/slmisc.h>
class QComboBox;
class SlFileItemType;
class QCopChannel;
struct SlFileListItemPrivate;
class SlFileListItem
{
public:
SlFileListItem(const QFileInfo&,const MimeType&);
~SlFileListItem();
@@ -132,49 +131,49 @@ protected slots:
signals:
void keyPressed(QKeyEvent *e,bool &isAccepted);
private:
friend class SlFileSelector;
SlFileIconViewPrivate *p;
SlFileIconView(const SlFileIconView&);
};
class SlFileSelectorFilter : public QObject
{
public:
SlFileSelectorFilter(QWidget *parent,const char *name=0);
~SlFileSelectorFilter();
virtual bool isAddToList(QFileInfo&) const = 0;
private:
SlFileSelectorFilter(const SlFileSelectorFilter&);
};
typedef QList<MimeType> SlFileMimeTypeList;
struct SlFileSelectorPrivate;
-class SlFileSelector : public OFileSelector /*QVBox*/
+class SlFileSelector : public Opie::Ui::OFileSelector /*QVBox*/
{
Q_OBJECT
public:
enum SlFileSelectorViewType {
ListView = 1,
IconView
};
enum SlFileOverwirteMode {
Overwrite = 1,
NewName,
Error
};
SlFileSelector(const QString &dirPath,
const QString &mimefilter,