Changeset View
Changeset View
Standalone View
Standalone View
x11locker.cpp
Show First 20 Lines • Show All 42 Lines • ▼ Show 20 Line(s) | |||||
43 | static Window gVRoot = 0; | 43 | static Window gVRoot = 0; | ||
44 | static Window gVRootData = 0; | 44 | static Window gVRootData = 0; | ||
45 | static Atom gXA_VROOT; | 45 | static Atom gXA_VROOT; | ||
46 | static Atom gXA_SCREENSAVER_VERSION; | 46 | static Atom gXA_SCREENSAVER_VERSION; | ||
47 | 47 | | |||
48 | namespace ScreenLocker | 48 | namespace ScreenLocker | ||
49 | { | 49 | { | ||
50 | 50 | | |||
51 | X11Locker::X11Locker() | 51 | X11Locker::X11Locker(QObject *parent) | ||
52 | : AbstractLocker() | 52 | : AbstractLocker(parent) | ||
53 | , QAbstractNativeEventFilter() | 53 | , QAbstractNativeEventFilter() | ||
54 | { | 54 | { | ||
55 | initialize(); | 55 | initialize(); | ||
56 | } | 56 | } | ||
57 | 57 | | |||
58 | X11Locker::~X11Locker() | 58 | X11Locker::~X11Locker() | ||
59 | { | 59 | { | ||
60 | qApp->removeNativeEventFilter(this); | 60 | qApp->removeNativeEventFilter(this); | ||
▲ Show 20 Lines • Show All 457 Lines • Show Last 20 Lines |