summaryrefslogtreecommitdiffstats
path: root/kexi/plugins/forms/kexiformpart.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kexi/plugins/forms/kexiformpart.cpp')
-rw-r--r--kexi/plugins/forms/kexiformpart.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/kexi/plugins/forms/kexiformpart.cpp b/kexi/plugins/forms/kexiformpart.cpp
index 9c4e3173..9d8017d8 100644
--- a/kexi/plugins/forms/kexiformpart.cpp
+++ b/kexi/plugins/forms/kexiformpart.cpp
@@ -277,7 +277,7 @@ KexiFormPart::generateForm(KexiDB::FieldList *list, TQDomDocument &domDoc)
TQDomElement lNameProperty = domDoc.createElement("property");
lNameProperty.setAttribute("name", "name");
TQDomElement lType = domDoc.createElement("cstring");
- TQDomText lClassN = domDoc.createTextNode(TQString("l%1").tqarg(list->field(i)->name()));
+ TQDomText lClassN = domDoc.createTextNode(TQString("l%1").arg(list->field(i)->name()));
lType.appendChild(lClassN);
lNameProperty.appendChild(lType);
lclass.appendChild(lNameProperty);
@@ -510,7 +510,7 @@ void KexiFormPart::setupCustomPropertyPanelTabs(KTabWidget *tab, KexiMainWindow*
void KexiFormPart::slotWidgetCreatedByFormsLibrary(TQWidget* widget)
{
- TQStrList signalNames(widget->tqmetaObject()->signalNames());
+ TQStrList signalNames(widget->metaObject()->signalNames());
if (!signalNames.isEmpty()) {
const char *handleDragMoveEventSignal = "handleDragMoveEvent(TQDragMoveEvent*)";
const char *handleDropEventSignal = "handleDropEvent(TQDropEvent*)";