From 627b091fad9df13695f249588e8a58f524eda0fa 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/kdeaddons@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- atlantikdesigner/designer/designer.cpp | 10 +++++----- atlantikdesigner/designer/editor.cpp | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) (limited to 'atlantikdesigner') diff --git a/atlantikdesigner/designer/designer.cpp b/atlantikdesigner/designer/designer.cpp index 7ce7b89..744840c 100644 --- a/atlantikdesigner/designer/designer.cpp +++ b/atlantikdesigner/designer/designer.cpp @@ -303,7 +303,7 @@ void AtlanticDesigner::openFile(const TQString &filename) } // this for outside-of-[]-settings - int eqSign = s.tqfind("="); + int eqSign = s.find("="); if (eqSign >= 0) { TQString key = s.left(eqSign); @@ -344,8 +344,8 @@ void AtlanticDesigner::openFile(const TQString &filename) continue; } - name = s.left(s.tqfind("]")); - name = name.right(name.length() - name.tqfind("[") - 1); + name = s.left(s.find("]")); + name = name.right(name.length() - name.find("[") - 1); if (name.isEmpty()) name = i18n("No Name"); @@ -380,7 +380,7 @@ void AtlanticDesigner::openFile(const TQString &filename) if (s.left(1) == "[" || s.left(1) == "<") break; - int eqSign = s.tqfind("="); + int eqSign = s.find("="); if (eqSign < 0) continue; @@ -658,7 +658,7 @@ void AtlanticDesigner::save() for (ConfigEstateGroupList::Iterator it = groups.begin(); it != groups.end(); ++it) { - if (writtenGroups.tqcontains((*it).name()) > 0) + if (writtenGroups.contains((*it).name()) > 0) continue; if ((*it).name() == "Default") diff --git a/atlantikdesigner/designer/editor.cpp b/atlantikdesigner/designer/editor.cpp index 407e03d..4cf95ed 100644 --- a/atlantikdesigner/designer/editor.cpp +++ b/atlantikdesigner/designer/editor.cpp @@ -784,7 +784,7 @@ void CardView::selected(int i) newChooseWidget->show(); - newChooseWidget->typeChanged(types.tqfindIndex(*it)); + newChooseWidget->typeChanged(types.findIndex(*it)); newChooseWidget->valueChanged(*vit); newChooseWidget->estateChanged(*vit); -- cgit v1.2.1