summaryrefslogtreecommitdiff
path: root/src/x11extras/qx11info_x11.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Add a method to let users determine if the current platform is X11.v5.2.0-alpha1Richard J. Moore2013-09-091-0/+10
| | | | | | | | In order to know if the methods in QtX11Extras are usable the user should have a way to tell if they're running on X11. Change-Id: I096267eb1f1fe07ee11811574a96100389c33b7d Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
* Add convenient method getTimestamp to QX11InfoMartin Gräßlin2013-08-121-0/+19
| | | | | | | | Provides access to the getTimestamp method in the XCB plugin which allows users to retrieve the current X timestamp. Change-Id: Ib6acd44c8ff899265ed6826f36b88fe427ff58c3 Reviewed-by: David Faure (KDE) <faure@kde.org>
* Doc: landing and module page for Qt X11 ExtrasNico Vertriest2013-04-121-2/+3
| | | | | | | | | Ingroup statement in qx11info_x11.cpp Removed trailing whitespace Change-Id: I03c16014f66a809f1c31b4501ffd1ca0691b5ee7 Reviewed-by: Martin Smith <martin.smith@digia.com> Reviewed-by: Jerome Pasion <jerome.pasion@digia.com>
* Fix crash when qApp is a QCoreApplication.David Faure2013-03-261-0/+12
| | | | | | | | | | Yes, it makes little sense to call QX11Info API in such cases; but it happens currently in kio unittests which calls code which creates dialogs but never show them to the user (since they are unittests). With this fix, the tests pass. Change-Id: I96cd2080891a960aa405d98fd1801253930bde1e Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
* QX11Info: return unsigned long rather than Qt::HANDLE.David Faure2013-02-041-2/+2
| | | | | | | | Qt::HANDLE has changed from unsigned long (on X11) to void* (everywhere) in Qt5, so we have to use "unsigned long" explicitly here. Change-Id: I4b16d1492dcb43fde5a4637d33f049854bec898a Reviewed-by: Stephen Kelly <stephen.kelly@kdab.com>
* Rename "support" to "extras" everywhere, to match the new module nameDavid Faure2012-12-181-0/+276
Change-Id: Ic089aa287b38b756bb9f0bc252c4120859afcefa Reviewed-by: Richard J. Moore <rich@kde.org>