Constify getter

SVN_SILENT
This commit is contained in:
Martin Gräßlin 2011-08-31 07:47:38 +02:00
parent a5936fc0fd
commit eb9de2803a
2 changed files with 4 additions and 4 deletions

View file

@ -120,7 +120,7 @@ void OverlayWindow::setShape(const QRegion& reg)
m_shape = reg;
}
bool OverlayWindow::isVisible()
bool OverlayWindow::isVisible() const
{
return m_visible;
}
@ -145,7 +145,7 @@ void OverlayWindow::destroy()
m_shown = false;
}
Window OverlayWindow::window()
Window OverlayWindow::window() const
{
return m_window;
}

View file

@ -39,8 +39,8 @@ public:
void setShape(const QRegion& reg);
/// Destroys XComposite overlay window
void destroy();
Window window();
bool isVisible();
Window window() const;
bool isVisible() const;
void setVisibility(bool visible);
private:
bool m_visible;