diff options
Diffstat (limited to 'src/gui/kernel/qplatformintegration_qpa.cpp')
-rw-r--r-- | src/gui/kernel/qplatformintegration_qpa.cpp | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/src/gui/kernel/qplatformintegration_qpa.cpp b/src/gui/kernel/qplatformintegration_qpa.cpp index e8721edce7..786e915a19 100644 --- a/src/gui/kernel/qplatformintegration_qpa.cpp +++ b/src/gui/kernel/qplatformintegration_qpa.cpp @@ -44,6 +44,7 @@ #include <QtGui/QPlatformFontDatabase> #include <QtGui/QPlatformClipboard> #include <QtGui/QPlatformAccessibility> +#include <QtGui/QPlatformTheme> #include <QtGui/private/qguiapplication_p.h> #include <QtGui/private/qpixmap_raster_p.h> #include <QtGui/private/qplatformscreen_qpa_p.h> @@ -259,6 +260,8 @@ QPlatformInputContext *QPlatformIntegration::inputContext() const return 0; } +#ifndef QT_NO_ACCESSIBILITY + /*! Returns the platforms accessibility. @@ -269,6 +272,8 @@ QPlatformAccessibility *QPlatformIntegration::accessibility() const return 0; } +#endif + QVariant QPlatformIntegration::styleHint(StyleHint hint) const { switch (hint) { @@ -315,9 +320,15 @@ void QPlatformIntegration::screenAdded(QPlatformScreen *ps) emit qGuiApp->screenAdded(screen); } -class QPlatformTheme *QPlatformIntegration::platformTheme() const +QStringList QPlatformIntegration::themeNames() const { - return 0; + return QStringList(); +} + +class QPlatformTheme *QPlatformIntegration::createPlatformTheme(const QString &name) const +{ + Q_UNUSED(name) + return new QPlatformTheme; } QT_END_NAMESPACE |