summaryrefslogtreecommitdiff
path: root/client/widgets/widget.h
diff options
context:
space:
mode:
authordeva <deva>2010-08-13 08:24:46 +0000
committerdeva <deva>2010-08-13 08:24:46 +0000
commitdb2fdbe872cc6c1b224a1c4c735fac4369b3802e (patch)
treecb85d03da44b457c97c2595f8550d91ea7bb6a6d /client/widgets/widget.h
parentbc229dbfabdf6a59453605e7652f04a268605b3a (diff)
Add missing children widgets to actual layouts.
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;