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/macros/kexiactions/datatableaction.cpp | 2 +- kexi/plugins/macros/kexiactions/objectnamevariable.h | 2 +- kexi/plugins/macros/kexiactions/openaction.cpp | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'kexi/plugins/macros/kexiactions') diff --git a/kexi/plugins/macros/kexiactions/datatableaction.cpp b/kexi/plugins/macros/kexiactions/datatableaction.cpp index fff0eaf5..d2eb1df1 100644 --- a/kexi/plugins/macros/kexiactions/datatableaction.cpp +++ b/kexi/plugins/macros/kexiactions/datatableaction.cpp @@ -93,7 +93,7 @@ namespace KexiMacro { //this->appendChild( KSharedPtr(new KoMacro::Variable(name)) ); } const TQString n = - namelist.tqcontains(partitem) + namelist.contains(partitem) ? partitem : namelist.count() > 0 ? namelist[0] : ""; this->setVariant(n); diff --git a/kexi/plugins/macros/kexiactions/objectnamevariable.h b/kexi/plugins/macros/kexiactions/objectnamevariable.h index e9ffa949..419e2b00 100644 --- a/kexi/plugins/macros/kexiactions/objectnamevariable.h +++ b/kexi/plugins/macros/kexiactions/objectnamevariable.h @@ -63,7 +63,7 @@ namespace KexiMacro { for(TQStringList::Iterator it = namelist.begin(); it != namelist.end(); ++it) this->appendChild( KSharedPtr(new KoMacro::Variable(*it)) ); - this->setVariant( (name.isNull() || ! namelist.tqcontains(name)) ? namelist[0] : name ); + this->setVariant( (name.isNull() || ! namelist.contains(name)) ? namelist[0] : name ); kdDebug()<<"##################### KexiActions::ObjectNameVariable() objectname="<