summaryrefslogtreecommitdiffstats
path: root/libkdepim/komposer/plugins/default/defaulteditor.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libkdepim/komposer/plugins/default/defaulteditor.cpp')
-rw-r--r--libkdepim/komposer/plugins/default/defaulteditor.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/libkdepim/komposer/plugins/default/defaulteditor.cpp b/libkdepim/komposer/plugins/default/defaulteditor.cpp
index c75f63920..96458ae3d 100644
--- a/libkdepim/komposer/plugins/default/defaulteditor.cpp
+++ b/libkdepim/komposer/plugins/default/defaulteditor.cpp
@@ -37,7 +37,7 @@
#include <kfinddialog.h>
#include <kfind.h>
#include <kreplacedialog.h>
-#include <ktqreplace.h>
+#include <kreplace.h>
#include <tqtextedit.h>
#include <tqwidget.h>
@@ -86,10 +86,10 @@ DefaultEditor::changeSignature( const TQString &sig )
{
TQString text = m_textEdit->text();
- int sigStart = text.tqfindRev( "-- " );
+ int sigStart = text.findRev( "-- " );
TQString sigText = TQString( "-- \n%1" ).tqarg( sig );
- text.tqreplace( sigStart, text.length(), sigText );
+ text.replace( sigStart, text.length(), sigText );
}
void