summaryrefslogtreecommitdiffstats
path: root/src/corelib/io/qfileselector_p.h
diff options
context:
space:
mode:
authorJ-P Nurmi <jpnurmi@qt.io>2016-05-27 10:51:48 +0200
committerJ-P Nurmi <jpnurmi@qt.io>2016-05-27 12:23:21 +0000
commitbbf596890f5c351241cda4cd2a9dc050ceda3e51 (patch)
tree333a9ce1fa58275e9d41c11b3875e90d53900012 /src/corelib/io/qfileselector_p.h
parent5c08fed2641ecd1071db2e3320a40f37ffa0b110 (diff)
Expose QFileSelectorPrivate::selectionHelper()
Let QQuickStyleSelector in Qt Quick Controls 2 re-use the same selection helper implementation. Change-Id: I34cbba0aa178e342bb4004313e7ff56811e6be19 Reviewed-by: Liang Qi <liang.qi@qt.io>
Diffstat (limited to 'src/corelib/io/qfileselector_p.h')
-rw-r--r--src/corelib/io/qfileselector_p.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/corelib/io/qfileselector_p.h b/src/corelib/io/qfileselector_p.h
index f93eb0ccb3..024d0b190d 100644
--- a/src/corelib/io/qfileselector_p.h
+++ b/src/corelib/io/qfileselector_p.h
@@ -70,6 +70,8 @@ public:
static void updateSelectors();
static QStringList platformSelectors();
static void addStatics(const QStringList &); //For loading GUI statics from other Qt modules
+ static QString selectionHelper(const QString &path, const QString &fileName,
+ const QStringList &selectors, const QChar &indicator = QLatin1Char('+'));
QFileSelectorPrivate();
QString select(const QString &filePath) const;