Changeset View
Changeset View
Standalone View
Standalone View
libs/widgetutils/KoFileDialog.h
- This file was moved from libs/widgets/KoFileDialog.h.
Show All 14 Lines | 1 | /* This file is part of the KDE project | |||
---|---|---|---|---|---|
15 | along with this library; see the file COPYING.LIB. If not, write to | 15 | along with this library; see the file COPYING.LIB. If not, write to | ||
16 | the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | 16 | the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | ||
17 | * Boston, MA 02110-1301, USA. | 17 | * Boston, MA 02110-1301, USA. | ||
18 | */ | 18 | */ | ||
19 | 19 | | |||
20 | #ifndef KOFILEDIALOG_H | 20 | #ifndef KOFILEDIALOG_H | ||
21 | #define KOFILEDIALOG_H | 21 | #define KOFILEDIALOG_H | ||
22 | 22 | | |||
23 | #include "kowidgets_export.h" | 23 | #include "kowidgetutils_export.h" | ||
24 | 24 | | |||
25 | #include <QFileDialog> | 25 | #include <QFileDialog> | ||
26 | #include <QString> | 26 | #include <QString> | ||
27 | #include <QUrl> | 27 | #include <QUrl> | ||
28 | #include <QStringList> | 28 | #include <QStringList> | ||
29 | #include <QList> | 29 | #include <QList> | ||
30 | 30 | | |||
31 | 31 | | |||
32 | /** | 32 | /** | ||
33 | * Wrapper around QFileDialog providing native file dialogs | 33 | * Wrapper around QFileDialog providing native file dialogs | ||
34 | * on KDE/Gnome/Windows/OSX/etc. | 34 | * on KDE/Gnome/Windows/OSX/etc. | ||
35 | */ | 35 | */ | ||
36 | class KOWIDGETS_EXPORT KoFileDialog : public QObject | 36 | class KOWIDGETUTILS_EXPORT KoFileDialog : public QObject | ||
37 | { | 37 | { | ||
38 | Q_OBJECT | 38 | Q_OBJECT | ||
39 | 39 | | |||
40 | public: | 40 | public: | ||
41 | enum DialogType { | 41 | enum DialogType { | ||
42 | OpenFile, | 42 | OpenFile, | ||
43 | OpenFiles, | 43 | OpenFiles, | ||
44 | OpenDirectory, | 44 | OpenDirectory, | ||
▲ Show 20 Lines • Show All 111 Lines • Show Last 20 Lines |