Changeset View
Changeset View
Standalone View
Standalone View
src/Platforms/PlatformXcb.h
Show All 37 Lines | 32 | { | |||
---|---|---|---|---|---|
38 | virtual ~PlatformXcb(); | 38 | virtual ~PlatformXcb(); | ||
39 | 39 | | |||
40 | QString platformName() const override final; | 40 | QString platformName() const override final; | ||
41 | GrabModes supportedGrabModes() const override final; | 41 | GrabModes supportedGrabModes() const override final; | ||
42 | ShutterModes supportedShutterModes() const override final; | 42 | ShutterModes supportedShutterModes() const override final; | ||
43 | 43 | | |||
44 | public Q_SLOTS: | 44 | public Q_SLOTS: | ||
45 | 45 | | |||
46 | void doGrab(ShutterMode theShutterMode, GrabMode theGrabMode, bool theIncludePointer, bool theIncludeDecorations) override final; | 46 | void doGrab(Platform::ShutterMode theShutterMode, Platform::GrabMode theGrabMode, bool theIncludePointer, bool theIncludeDecorations) override final; | ||
47 | 47 | | |||
48 | private Q_SLOTS: | 48 | private Q_SLOTS: | ||
49 | 49 | | |||
50 | void handleKWinScreenshotReply(quint64 theDrawable); | 50 | void handleKWinScreenshotReply(quint64 theDrawable); | ||
51 | void doGrabNow(const GrabMode &theGrabMode, bool theIncludePointer, bool theIncludeDecorations); | 51 | void doGrabNow(const Platform::GrabMode &theGrabMode, bool theIncludePointer, bool theIncludeDecorations); | ||
52 | void doGrabOnClick(const GrabMode &theGrabMode, bool theIncludePointer, bool theIncludeDecorations); | 52 | void doGrabOnClick(const Platform::GrabMode &theGrabMode, bool theIncludePointer, bool theIncludeDecorations); | ||
53 | 53 | | |||
54 | private: | 54 | private: | ||
55 | 55 | | |||
56 | inline void updateWindowTitle(xcb_window_t theWindow); | 56 | inline void updateWindowTitle(xcb_window_t theWindow); | ||
57 | bool isKWinAvailable(); | 57 | bool isKWinAvailable(); | ||
58 | QPoint getCursorPosition(); | 58 | QPoint getCursorPosition(); | ||
59 | QRect getDrawableGeometry(xcb_drawable_t theDrawable); | 59 | QRect getDrawableGeometry(xcb_drawable_t theDrawable); | ||
60 | xcb_window_t getWindowUnderCursor(); | 60 | xcb_window_t getWindowUnderCursor(); | ||
Show All 19 Lines |