const correctness and namespace

v0.6
audoban 8 years ago committed by Michail Vourlakos
parent 880aa1decf
commit e3fbc1994e

@ -9,6 +9,10 @@
#include <Plasma/Containment> #include <Plasma/Containment>
namespace Latte {
class VisibilityManagerPrivate;
class VisibilityManager : public QObject { class VisibilityManager : public QObject {
Q_OBJECT Q_OBJECT
@ -39,7 +43,7 @@ public:
/** /**
* @brief updateDockGeometry, the window geometry in absolute coordinates. * @brief updateDockGeometry, the window geometry in absolute coordinates.
*/ */
void updateDockGeometry(QRect &geometry); void updateDockGeometry(const QRect &geometry);
signals: signals:
void mustBeShown(); void mustBeShown();
@ -54,4 +58,6 @@ signals:
private: private:
VisibilityManagerPrivate *const d; VisibilityManagerPrivate *const d;
}; };
}
#endif // VISIBILITYMANAGER_H #endif // VISIBILITYMANAGER_H

Loading…
Cancel
Save