summaryrefslogtreecommitdiffstats
path: root/kexi/plugins/forms/kexiformmanager.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 06:08:18 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 06:08:18 +0000
commitb6edfe41c9395f2e20784cbf0e630af6426950a3 (patch)
tree56ed9b871d4296e6c15949c24e16420be1b28697 /kexi/plugins/forms/kexiformmanager.cpp
parentef39e8e4178a8f98cf5f154916ba0f03e4855206 (diff)
downloadkoffice-b6edfe41c9395f2e20784cbf0e630af6426950a3.tar.gz
koffice-b6edfe41c9395f2e20784cbf0e630af6426950a3.zip
rename the following methods:
tqfind find tqreplace replace tqcontains contains git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/koffice@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
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);
}