diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-08-24 21:28:39 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-08-31 16:31:47 +0900 |
commit | 7c3b44b81086c6b99f91e294c3b438dc808b47e2 (patch) | |
tree | d92d61649487df1a2fbd200d4ead11a7f16ba63f /src/modules/my | |
parent | cafbffba66b6ce809783ed1eb4d24aac6fe9701f (diff) | |
download | kvirc-7c3b44b81086c6b99f91e294c3b438dc808b47e2.tar.gz kvirc-7c3b44b81086c6b99f91e294c3b438dc808b47e2.zip |
Drop USE_QT4 code
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 030a2248f3630fd0404df98beffc78b5b5ca4c31)
Diffstat (limited to 'src/modules/my')
-rw-r--r-- | src/modules/my/idle_x11.cpp | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/modules/my/idle_x11.cpp b/src/modules/my/idle_x11.cpp index 77caef53..a846a8c3 100644 --- a/src/modules/my/idle_x11.cpp +++ b/src/modules/my/idle_x11.cpp @@ -37,9 +37,6 @@ int IdlePlatform::secondsIdle() { return 0; } #include<X11/Xutil.h> #include<X11/extensions/scrnsaver.h> -#ifdef COMPILE_USE_QT4 - #include <tqdesktopwidget.h> -#endif static XErrorHandler old_handler = 0; extern "C" int xerrhandler(Display* dpy, XErrorEvent* err) @@ -90,19 +87,12 @@ bool IdlePlatform::init() return false; } -#ifdef COMPILE_USE_QT4 - #include <tqx11info_x11.h> -#endif int IdlePlatform::secondsIdle() { if(!d->ss_info) return 0; -#ifdef COMPILE_USE_QT4 - if(!XScreenSaverQueryInfo(TQT_TQPAINTDEVICE(TQApplication::desktop()->screen())->x11Display(), QX11Info::appRootWindow(), d->ss_info)) -#else if(!XScreenSaverQueryInfo(TQT_TQPAINTDEVICE(TQApplication::desktop()->screen())->x11Display(), tqt_xrootwin(), d->ss_info)) -#endif return 0; return d->ss_info->idle / 1000; } |