Use QGenericUnixTheme to return a list of themes and create new
QPlatformTheme objects.
Change-Id: Iaac113aad3bc088f51695c224433287701113960
Reviewed-by: Jørgen Lind <jorgen.lind@nokia.com>
#include "QtPlatformSupport/private/qgenericunixfontdatabase_p.h"
#include <QtPlatformSupport/private/qgenericunixeventdispatcher_p.h>
+#include <QtPlatformSupport/private/qgenericunixthemes_p.h>
#include <QtGui/private/qguiapplication_p.h>
{
return mDisplay;
}
+
+QStringList QWaylandIntegration::themeNames() const
+{
+ return QGenericUnixTheme::themeNames();
+}
+
+QPlatformTheme *QWaylandIntegration::createPlatformTheme(const QString &name) const
+{
+ return QGenericUnixTheme::createUnixTheme(name);
+}
QPlatformServices *services() const;
QWaylandDisplay *display() const;
+
+ QStringList themeNames() const;
+
+ QPlatformTheme *createPlatformTheme(const QString &name) const;
+
private:
QPlatformFontDatabase *mFontDb;
QAbstractEventDispatcher *mEventDispatcher;