summaryrefslogtreecommitdiffstats
path: root/kopete/plugins/autoreplace
diff options
context:
space:
mode:
Diffstat (limited to 'kopete/plugins/autoreplace')
-rw-r--r--kopete/plugins/autoreplace/autoreplaceplugin.cpp4
-rw-r--r--kopete/plugins/autoreplace/autoreplacepreferences.cpp2
2 files changed, 3 insertions, 3 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 );
diff --git a/kopete/plugins/autoreplace/autoreplacepreferences.cpp b/kopete/plugins/autoreplace/autoreplacepreferences.cpp
index 9909b5ee..7c035e24 100644
--- a/kopete/plugins/autoreplace/autoreplacepreferences.cpp
+++ b/kopete/plugins/autoreplace/autoreplacepreferences.cpp
@@ -126,7 +126,7 @@ void AutoReplacePreferences::slotAddCouple()
if ( ( oldLvi = preferencesDialog->m_list->findItem( k, 0 ) ) )
delete oldLvi;
lvi = new TQListViewItem( preferencesDialog->m_list, k, v );
- // Triggers a size, tqgeometry and content update
+ // Triggers a size, geometry and content update
// during the next iteration of the event loop
preferencesDialog->m_list->triggerUpdate();
// select last added