summaryrefslogtreecommitdiffstats
path: root/kexi/plugins/forms/kexiformmanager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kexi/plugins/forms/kexiformmanager.cpp')
-rw-r--r--kexi/plugins/forms/kexiformmanager.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/kexi/plugins/forms/kexiformmanager.cpp b/kexi/plugins/forms/kexiformmanager.cpp
index ce9b142b..3c76e7d9 100644
--- a/kexi/plugins/forms/kexiformmanager.cpp
+++ b/kexi/plugins/forms/kexiformmanager.cpp
@@ -120,10 +120,10 @@ void KexiFormManager::setFormDataSource(const TQCString& mime, const TQCString&
if (activeForm()->selectedWidget() == formWidget) {
//active form is selected: just use properties system
KFormDesigner::WidgetPropertySet *set = propertySet();
- if (!set || !set->tqcontains("dataSource"))
+ if (!set || !set->contains("dataSource"))
return;
(*set)["dataSource"].setValue(name);
- if (set->tqcontains("dataSourceMimeType"))
+ if (set->contains("dataSourceMimeType"))
(*set)["dataSourceMimeType"].setValue(mime);
return;
}
@@ -159,19 +159,19 @@ void KexiFormManager::setDataSourceFieldOrExpression(const TQString& string, con
// return;
KFormDesigner::WidgetPropertySet *set = propertySet();
- if (!set || !set->tqcontains("dataSource"))
+ if (!set || !set->contains("dataSource"))
return;
(*set)["dataSource"].setValue(string);
- if (set->tqcontains("autoCaption") && (*set)["autoCaption"].value().toBool()) {
- if (set->tqcontains("fieldCaptionInternal"))
+ if (set->contains("autoCaption") && (*set)["autoCaption"].value().toBool()) {
+ if (set->contains("fieldCaptionInternal"))
(*set)["fieldCaptionInternal"].setValue(caption);
}
if (//type!=KexiDB::Field::InvalidType &&
- set->tqcontains("widgetType") && (*set)["widgetType"].value().toString()=="Auto")
+ set->contains("widgetType") && (*set)["widgetType"].value().toString()=="Auto")
{
- if (set->tqcontains("fieldTypeInternal"))
+ if (set->contains("fieldTypeInternal"))
(*set)["fieldTypeInternal"].setValue(type);
}