summaryrefslogtreecommitdiffstats
path: root/src/gui/kernel/qplatformnativeinterface.cpp
diff options
context:
space:
mode:
authorDavid Faure <faure+bluesystems@kde.org>2012-12-04 16:57:17 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2012-12-14 08:56:02 +0100
commit60bd2156f81b154a47c95989b0266944fd2f2859 (patch)
treefa1589263b8d2a5b6184634b453bcc9262b5a8f7 /src/gui/kernel/qplatformnativeinterface.cpp
parent92bd9aecfb69ebe525ba88dc78ce85e3ca7ed9c2 (diff)
XCB: add support for getting and setting appTime and appUserTime.
The QX11Info class needs this. This required adding the missing nativeResourceFunctionForScreen in QPlatformNativeInterface. Change-Id: I2c6e91c7f122f3ecdf769a177deafd2aa3896e2f Reviewed-by: Richard J. Moore <rich@kde.org> Reviewed-by: Alberto Mardegan <mardy@users.sourceforge.net> Reviewed-by: Samuel Rødal <samuel.rodal@digia.com>
Diffstat (limited to 'src/gui/kernel/qplatformnativeinterface.cpp')
-rw-r--r--src/gui/kernel/qplatformnativeinterface.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/gui/kernel/qplatformnativeinterface.cpp b/src/gui/kernel/qplatformnativeinterface.cpp
index 925b2ad3de..cf487b2235 100644
--- a/src/gui/kernel/qplatformnativeinterface.cpp
+++ b/src/gui/kernel/qplatformnativeinterface.cpp
@@ -100,6 +100,12 @@ QPlatformNativeInterface::NativeResourceForContextFunction QPlatformNativeInterf
return 0;
}
+QPlatformNativeInterface::NativeResourceForScreenFunction QPlatformNativeInterface::nativeResourceFunctionForScreen(const QByteArray &resource)
+{
+ Q_UNUSED(resource);
+ return 0;
+}
+
QPlatformNativeInterface::NativeResourceForWindowFunction QPlatformNativeInterface::nativeResourceFunctionForWindow(const QByteArray &resource)
{
Q_UNUSED(resource);