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.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);
+}