diff options
author | Michele Calgaro <[email protected]> | 2023-12-14 21:19:12 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2023-12-24 16:56:48 +0900 |
commit | 757d80a919132cf72773928d53d100d22358de34 (patch) | |
tree | 78f1145fbd227d1135514b40e66e2e4bcbe3fcce /kexi/formeditor/factories/containerfactory.cpp | |
parent | 9abcf51de91242d1ab70230ba46abd2108416edf (diff) | |
download | koffice-757d80a919132cf72773928d53d100d22358de34.tar.gz koffice-757d80a919132cf72773928d53d100d22358de34.zip |
Remove various '#define' strings - part 6
Signed-off-by: Michele Calgaro <[email protected]>
(cherry picked from commit 3aab8aa05b954b80e336517f93463a9b5f50f3d6)
Diffstat (limited to 'kexi/formeditor/factories/containerfactory.cpp')
-rw-r--r-- | kexi/formeditor/factories/containerfactory.cpp | 4 |
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); |