summaryrefslogtreecommitdiffstats
path: root/atlantikdesigner
diff options
context:
space:
mode:
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);