summaryrefslogtreecommitdiff
path: root/client/widgets/frame.cc
diff options
context:
space:
mode:
authordeva <deva>2008-09-10 08:52:38 +0000
committerdeva <deva>2008-09-10 08:52:38 +0000
commitb1175cefcd9d9e67ee0f9e1b0b91bb8360b510b7 (patch)
tree8d673e7b0c04ac79f17e6b68d8660d22d76c4195 /client/widgets/frame.cc
parent700fb8b935d6495f458e00d044aa69d893d9a695 (diff)
Added enable/disable methods on frame and groupbox.
Diffstat (limited to 'client/widgets/frame.cc')
-rw-r--r--client/widgets/frame.cc9
1 files changed, 9 insertions, 0 deletions
diff --git a/client/widgets/frame.cc b/client/widgets/frame.cc
index 872c3fc..79e060b 100644
--- a/client/widgets/frame.cc
+++ b/client/widgets/frame.cc
@@ -39,3 +39,12 @@ Frame::Frame(QDomNode &node, MacroWindow *macrowindow)
layout()->setContentsMargins(0,0,0,0);
}
+void Frame::enable()
+{
+ setEnabled(true);
+}
+
+void Frame::disable()
+{
+ setEnabled(false);
+}