KIO
kabstractfilemodule.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020 #ifndef KABSTRACTFILEMODULE_H
00021 #define KABSTRACTFILEMODULE_H
00022
00023 #include <kio/kio_export.h>
00024 #include <QtCore/QObject>
00025 #include <kurl.h>
00026 class QWidget;
00027
00035 class KIO_EXPORT KAbstractFileModule : public QObject
00036 {
00037 Q_OBJECT
00038 public:
00039 KAbstractFileModule(QObject* parent);
00040
00042 virtual QWidget* createFileWidget(const KUrl& startDir, QWidget *parent) = 0;
00043
00044 virtual KUrl getStartUrl( const KUrl& startDir, QString& recentDirClass ) = 0;
00045
00046 virtual void setStartDir( const KUrl& directory ) = 0;
00047
00052 virtual KUrl selectDirectory( const KUrl& startDir,
00053 bool localOnly, QWidget *parent,
00054 const QString& caption ) = 0;
00055
00056
00057 };
00058
00059 #endif