summaryrefslogtreecommitdiff
path: root/client/widgets/frame.cc
diff options
context:
space:
mode:
Diffstat (limited to 'client/widgets/frame.cc')
-rw-r--r--client/widgets/frame.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/client/widgets/frame.cc b/client/widgets/frame.cc
index 04a0e90..d6f4fb2 100644
--- a/client/widgets/frame.cc
+++ b/client/widgets/frame.cc
@@ -49,6 +49,11 @@ void Frame::disable()
setEnabled(false);
}
+bool Frame::isDisabled()
+{
+ return isEnabled() == false;
+}
+
void Frame::connectFrom(const char *signal,
const QObject *receiver, const char *method)
{