summaryrefslogtreecommitdiffstats
path: root/kopete/plugins/autoreplace/autoreplaceplugin.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-19 11:58:08 -0600
committerSlávek Banko <slavek.banko@axis.cz>2012-06-03 15:53:30 +0200
commite7bee19a9f42cffe3a0792348a60e5bee1d3da71 (patch)
tree92dabc7114bd352b2e4ebb5f64cd3d6429e162f7 /kopete/plugins/autoreplace/autoreplaceplugin.cpp
parent4b54ad17739d1075235f2960ecde230a58b5621c (diff)
downloadtdenetwork-e7bee19a9f42cffe3a0792348a60e5bee1d3da71.tar.gz
tdenetwork-e7bee19a9f42cffe3a0792348a60e5bee1d3da71.zip
Remove additional unneeded tq method conversions
(cherry picked from commit 1de96857f5b0ed5d4a36e9486ffc8c7f8c802f98)
Diffstat (limited to 'kopete/plugins/autoreplace/autoreplaceplugin.cpp')
-rw-r--r--kopete/plugins/autoreplace/autoreplaceplugin.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/kopete/plugins/autoreplace/autoreplaceplugin.cpp b/kopete/plugins/autoreplace/autoreplaceplugin.cpp
index 586487b8..f3610a7f 100644
--- a/kopete/plugins/autoreplace/autoreplaceplugin.cpp
+++ b/kopete/plugins/autoreplace/autoreplaceplugin.cpp
@@ -81,7 +81,7 @@ void AutoReplacePlugin::slotAboutToSend( Kopete::Message &msg )
bool isReplaced=false;
for ( it = map.begin(); it != map.end(); ++it )
{
- TQRegExp re( match.tqarg( TQRegExp::escape( it.key() ) ) );
+ TQRegExp re( match.arg( TQRegExp::escape( it.key() ) ) );
if( re.search( replaced_message ) != -1 )
{
TQString before = re.cap(1);
@@ -113,7 +113,7 @@ void AutoReplacePlugin::slotAboutToSend( Kopete::Message &msg )
TQString replaced_message = msg.plainBody();
// eventually start each sent line with capital letter
// TODO ". " "? " "! "
- replaced_message[ 0 ] = replaced_message.tqat( 0 ).upper();
+ replaced_message[ 0 ] = replaced_message.at( 0 ).upper();
// the message is now the one with replaced words
msg.setBody( replaced_message, Kopete::Message::PlainText );