diff --git a/src/Platforms/Platform.h b/src/Platforms/Platform.h --- a/src/Platforms/Platform.h +++ b/src/Platforms/Platform.h @@ -57,7 +57,7 @@ public Q_SLOTS: - virtual void doGrab(ShutterMode theShutterMode, GrabMode theGrabMode, bool theIncludePointer, bool theIncludeDecorations) = 0; + virtual void doGrab(Platform::ShutterMode theShutterMode, Platform::GrabMode theGrabMode, bool theIncludePointer, bool theIncludeDecorations) = 0; Q_SIGNALS: diff --git a/src/Platforms/PlatformKWinWayland.h b/src/Platforms/PlatformKWinWayland.h --- a/src/Platforms/PlatformKWinWayland.h +++ b/src/Platforms/PlatformKWinWayland.h @@ -38,7 +38,7 @@ public Q_SLOTS: - void doGrab(ShutterMode theShutterMode, GrabMode theGrabMode, bool theIncludePointer, bool theIncludeDecorations) override final; + void doGrab(Platform::ShutterMode theShutterMode, Platform::GrabMode theGrabMode, bool theIncludePointer, bool theIncludeDecorations) override final; private: diff --git a/src/Platforms/PlatformNull.h b/src/Platforms/PlatformNull.h --- a/src/Platforms/PlatformNull.h +++ b/src/Platforms/PlatformNull.h @@ -38,5 +38,5 @@ public Q_SLOTS: - void doGrab(ShutterMode theShutterMode, GrabMode theGrabMode, bool theIncludePointer, bool theIncludeDecorations) override final; + void doGrab(Platform::ShutterMode theShutterMode, Platform::GrabMode theGrabMode, bool theIncludePointer, bool theIncludeDecorations) override final; }; diff --git a/src/Platforms/PlatformXcb.h b/src/Platforms/PlatformXcb.h --- a/src/Platforms/PlatformXcb.h +++ b/src/Platforms/PlatformXcb.h @@ -43,13 +43,13 @@ public Q_SLOTS: - void doGrab(ShutterMode theShutterMode, GrabMode theGrabMode, bool theIncludePointer, bool theIncludeDecorations) override final; + void doGrab(Platform::ShutterMode theShutterMode, Platform::GrabMode theGrabMode, bool theIncludePointer, bool theIncludeDecorations) override final; private Q_SLOTS: void handleKWinScreenshotReply(quint64 theDrawable); - void doGrabNow(const GrabMode &theGrabMode, bool theIncludePointer, bool theIncludeDecorations); - void doGrabOnClick(const GrabMode &theGrabMode, bool theIncludePointer, bool theIncludeDecorations); + void doGrabNow(const Platform::GrabMode &theGrabMode, bool theIncludePointer, bool theIncludeDecorations); + void doGrabOnClick(const Platform::GrabMode &theGrabMode, bool theIncludePointer, bool theIncludeDecorations); private: