diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 06:08:18 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 06:08:18 +0000 |
commit | 4c6f8d69e2d1501837affb472c4eb8fec4462240 (patch) | |
tree | 766a8ad7939fcf3eec534184c36bd0e0f80489e2 /libkdepim/komposer/plugins/default | |
parent | 469cc56a805bd3d6940d54adbef554877c29853c (diff) | |
download | tdepim-4c6f8d69e2d1501837affb472c4eb8fec4462240.tar.gz tdepim-4c6f8d69e2d1501837affb472c4eb8fec4462240.zip |
rename the following methods:
tqfind find
tqreplace replace
tqcontains contains
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'libkdepim/komposer/plugins/default')
-rw-r--r-- | libkdepim/komposer/plugins/default/defaulteditor.cpp | 6 |
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 |