summaryrefslogtreecommitdiffstats
path: root/kexi/formeditor/factories/containerfactory.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kexi/formeditor/factories/containerfactory.cpp')
-rw-r--r--kexi/formeditor/factories/containerfactory.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/kexi/formeditor/factories/containerfactory.cpp b/kexi/formeditor/factories/containerfactory.cpp
index 164dea27..f2fde913 100644
--- a/kexi/formeditor/factories/containerfactory.cpp
+++ b/kexi/formeditor/factories/containerfactory.cpp
@@ -541,7 +541,7 @@ ContainerFactory::createWidget(const TQCString &c, TQWidget *p, const char *n,
else if(c == "TQWidget" || c=="ContainerWidget")
{
TQWidget *w = new ContainerWidget(p, n);
- new KFormDesigner::Container(container, w, TQT_TQOBJECT(p));
+ new KFormDesigner::Container(container, w, p);
return w;
}
else if(c == "TQGroupBox" || c == "GroupBox")
@@ -752,7 +752,7 @@ ContainerFactory::readSpecialProperty(const TQCString &, TQDomElement &node, TQW
if((name == "id") && (w->parentWidget()->isA("TQWidgetStack")))
{
TQWidgetStack *stack = (TQWidgetStack*)w->parentWidget();
- int id = KFormDesigner::FormIO::readPropertyValue(node.firstChild(), TQT_TQOBJECT(w), name).toInt();
+ int id = KFormDesigner::FormIO::readPropertyValue(node.firstChild(), w, name).toInt();
stack->addWidget(w, id);
stack->raiseWidget(w);
item->addModifiedProperty("id", id);