summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforms/qnx/qqnxfiledialoghelper.h
diff options
context:
space:
mode:
authorKevin Ottens <ervin@kde.org>2013-05-15 16:22:39 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-07-18 13:17:41 +0200
commitf5dbc876378ae58a7bdfe1e9664fc81caca18dfb (patch)
tree7682b1288c85b9e71e9bfe7de66d021d07f2a6aa /src/plugins/platforms/qnx/qqnxfiledialoghelper.h
parentc96a6ab627100452864eb4d8da973300401c1bfa (diff)
Have QFileDialog use QUrl internally
When using the native dialog and through the helper, we use QUrl in QFileDialog. It is preparatory work for having QUrl based methods on QFileDialog interface itself. Done-with: sean.harmer@kdab.com Done-with: faure@kde.org Change-Id: I61e99d498252241f38ec05724702a90ba050c4bb Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
Diffstat (limited to 'src/plugins/platforms/qnx/qqnxfiledialoghelper.h')
-rw-r--r--src/plugins/platforms/qnx/qqnxfiledialoghelper.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/plugins/platforms/qnx/qqnxfiledialoghelper.h b/src/plugins/platforms/qnx/qqnxfiledialoghelper.h
index ad2483365b..e7c68f6ff5 100644
--- a/src/plugins/platforms/qnx/qqnxfiledialoghelper.h
+++ b/src/plugins/platforms/qnx/qqnxfiledialoghelper.h
@@ -74,10 +74,10 @@ public:
void hide();
bool defaultNameFilterDisables() const;
- void setDirectory(const QString &directory);
- QString directory() const;
- void selectFile(const QString &fileName);
- QStringList selectedFiles() const;
+ void setDirectory(const QUrl &directory) Q_DECL_OVERRIDE;
+ QUrl directory() const Q_DECL_OVERRIDE;
+ void selectFile(const QUrl &fileName) Q_DECL_OVERRIDE;
+ QList<QUrl> selectedFiles() const Q_DECL_OVERRIDE;
void setFilter();
void selectNameFilter(const QString &filter);
QString selectedNameFilter() const;
@@ -98,7 +98,7 @@ private:
QPlatformDialogHelper::DialogCode m_result;
#if defined(Q_OS_BLACKBERRY_TABLET)
- QStringList m_paths;
+ QList<QUrl> m_paths;
#endif
};