Constify getter
SVN_SILENT
This commit is contained in:
parent
a5936fc0fd
commit
eb9de2803a
2 changed files with 4 additions and 4 deletions
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue