summaryrefslogtreecommitdiffstats
path: root/ksnapshot/ksnapshot.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ksnapshot/ksnapshot.cpp')
-rw-r--r--ksnapshot/ksnapshot.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/ksnapshot/ksnapshot.cpp b/ksnapshot/ksnapshot.cpp
index c32e983b..e24b8ded 100644
--- a/ksnapshot/ksnapshot.cpp
+++ b/ksnapshot/ksnapshot.cpp
@@ -400,11 +400,11 @@ void KSnapshot::autoincFilename()
TQString numAsStr= name.mid(start, len);
TQString number = TQString::number(numAsStr.toInt() + 1);
number = number.rightJustify( len, '0');
- name.tqreplace(start, len, number );
+ name.replace(start, len, number );
}
else {
// no number
- start = name.tqfindRev('.');
+ start = name.findRev('.');
if (start != -1) {
// has a . somewhere, e.g. it has an extension
name.insert(start, '1');