summaryrefslogtreecommitdiff
path: root/client/widgets/widget.h
diff options
context:
space:
mode:
Diffstat (limited to 'client/widgets/widget.h')
-rw-r--r--client/widgets/widget.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/client/widgets/widget.h b/client/widgets/widget.h
index 9e493d0..960dca9 100644
--- a/client/widgets/widget.h
+++ b/client/widgets/widget.h
@@ -35,6 +35,7 @@
#include "lua.h"
+class QLayout;
class MacroWindow;
class LUA;
class Widget;
@@ -95,8 +96,8 @@ protected:
QWidget *widget;
bool hideChildren;
- void widgetBuilder(QDomNode &xml_node);
- void addChildren(QDomNode &xml_node);
+ void widgetBuilder(QDomNode &xml_node, QLayout *layout);
+ void addChildren(QDomNode &xml_node, QLayout *layout);
private:
QVector< Widget* > children;