From 206f115e01f877c69725f8a1274e68ac6c79f388 Mon Sep 17 00:00:00 2001 From: Johan Smith Agudelo Rodriguez Date: Thu, 29 Dec 2016 00:42:55 -0500 Subject: [PATCH] const correctness and namespace --- app/visibilitymanager.h | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/app/visibilitymanager.h b/app/visibilitymanager.h index 7a7308bbd..a563a7e8d 100644 --- a/app/visibilitymanager.h +++ b/app/visibilitymanager.h @@ -9,6 +9,10 @@ #include +namespace Latte { + +class VisibilityManagerPrivate; + class VisibilityManager : public QObject { Q_OBJECT @@ -39,7 +43,7 @@ public: /** * @brief updateDockGeometry, the window geometry in absolute coordinates. */ - void updateDockGeometry(QRect &geometry); + void updateDockGeometry(const QRect &geometry); signals: void mustBeShown(); @@ -54,4 +58,6 @@ signals: private: VisibilityManagerPrivate *const d; }; + +} #endif // VISIBILITYMANAGER_H