diff options
author | J-P Nurmi <jpnurmi@theqtcompany.com> | 2016-03-17 15:27:40 +0100 |
---|---|---|
committer | J-P Nurmi <jpnurmi@theqtcompany.com> | 2016-03-18 22:14:31 +0000 |
commit | 94136244c58ed035be44183bd8eb00314bccf7df (patch) | |
tree | 193a92473f4ed478f62512f748b7bb3fc8de3c4b /src/controls/qquickstyleselector_p_p.h | |
parent | e1963859d6ade7a3341a48229f1bb64ef3c9ea68 (diff) |
Cleanup QQuickStyleSelector
Remove some unneeded cruft that originates from QFileSelector and what
we don't need in this specialized selector. Also, fix the header guards
and include directives to use the same convention than all other classes.
Change-Id: I728beba1156c0934bd0dd171038fc7560a556708
Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
Diffstat (limited to 'src/controls/qquickstyleselector_p_p.h')
-rw-r--r-- | src/controls/qquickstyleselector_p_p.h | 18 |
1 files changed, 1 insertions, 17 deletions
diff --git a/src/controls/qquickstyleselector_p_p.h b/src/controls/qquickstyleselector_p_p.h index dc91af5f..9f831428 100644 --- a/src/controls/qquickstyleselector_p_p.h +++ b/src/controls/qquickstyleselector_p_p.h @@ -46,30 +46,14 @@ // We mean it. // -#include <QtCore/QString> -#include <QtCore/QUrl> -#include <private/qobject_p.h> -#include <QtCore/qstringlist.h> - -#include "qquickstyleselector_p.h" +#include <QtQuickControls/private/qquickstyleselector_p.h> QT_BEGIN_NAMESPACE -struct QQuickStyleSelectorSharedData //Not QSharedData because currently is just a global store -{ - QStringList staticSelectors; - QStringList preloadedStatics; -}; - class QQuickStyleSelectorPrivate { public: - static void updateSelectors(); - static QStringList platformSelectors(); - static void addStatics(const QStringList &); //For loading GUI statics from other Qt modules - QQuickStyleSelectorPrivate(); QString select(const QString &filePath) const; - QStringList allSelectors(bool includeStyle) const; QUrl baseUrl; }; |