diff options
Diffstat (limited to 'kgeography/src/mapparser.cpp')
-rw-r--r-- | kgeography/src/mapparser.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/kgeography/src/mapparser.cpp b/kgeography/src/mapparser.cpp index bf04f0dc..40a1c59e 100644 --- a/kgeography/src/mapparser.cpp +++ b/kgeography/src/mapparser.cpp @@ -25,7 +25,7 @@ bool mapReader::parseMap(const TQString &path) TQString aux; p_map = new KGmap(); p_map -> setFile(path); - aux = path.left(path.tqfindRev('/') + 1); // aux = path but without the file name + aux = path.left(path.findRev('/') + 1); // aux = path but without the file name mapParser handler(p_map, aux); TQFile xmlFile(path); if (xmlFile.exists()) @@ -270,10 +270,10 @@ TQString mapParser::errorString() TQString mapParser::getPreviousTag() const { - return p_previousTags.right(p_previousTags.length() - p_previousTags.tqfindRev(':') - 1); + return p_previousTags.right(p_previousTags.length() - p_previousTags.findRev(':') - 1); } void mapParser::removeLastTag() { - p_previousTags = p_previousTags.left(p_previousTags.tqfindRev(':')); + p_previousTags = p_previousTags.left(p_previousTags.findRev(':')); } |