diff options
Diffstat (limited to 'atlantikdesigner/designer/designer.cpp')
-rw-r--r-- | atlantikdesigner/designer/designer.cpp | 10 |
1 files changed, 5 insertions, 5 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") |