diff options
Diffstat (limited to 'client/widgets/window.cc')
-rw-r--r-- | client/widgets/window.cc | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/client/widgets/window.cc b/client/widgets/window.cc index e685e79..ea27321 100644 --- a/client/widgets/window.cc +++ b/client/widgets/window.cc @@ -63,3 +63,18 @@ void Window::connectTo(const QObject *sender, const char *signal, { connect(sender, signal, this, method); } + +void Window::enable() +{ + setEnabled(true); +} + +void Window::disable() +{ + setEnabled(false); +} + +bool Window::isDisabled() +{ + return isEnabled() == false; +} |