summaryrefslogtreecommitdiffstats
path: root/atlantikdesigner
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
commit627b091fad9df13695f249588e8a58f524eda0fa (patch)
tree98ff502a8743af48d8b88996e9a494fec4110586 /atlantikdesigner
parentf6e9c8d694be3d1df338b385125e13db41af0b1f (diff)
downloadtdeaddons-627b091fad9df13695f249588e8a58f524eda0fa.tar.gz
tdeaddons-627b091fad9df13695f249588e8a58f524eda0fa.zip
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
Diffstat (limited to 'atlantikdesigner')
-rw-r--r--atlantikdesigner/designer/designer.cpp10
-rw-r--r--atlantikdesigner/designer/editor.cpp2
2 files changed, 6 insertions, 6 deletions
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);