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