From b6edfe41c9395f2e20784cbf0e630af6426950a3 Mon Sep 17 00:00:00 2001 From: tpearson Date: Wed, 10 Aug 2011 06:08:18 +0000 Subject: 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 --- kexi/plugins/forms/kexiformmanager.cpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'kexi/plugins/forms/kexiformmanager.cpp') 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); } -- cgit v1.2.1