summaryrefslogtreecommitdiffstats
path: root/kopete/libkopete/kopetechatsession.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/libkopete/kopetechatsession.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/libkopete/kopetechatsession.cpp')
-rw-r--r--kopete/libkopete/kopetechatsession.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/kopete/libkopete/kopetechatsession.cpp b/kopete/libkopete/kopetechatsession.cpp
index a3593175..16986143 100644
--- a/kopete/libkopete/kopetechatsession.cpp
+++ b/kopete/libkopete/kopetechatsession.cpp
@@ -171,7 +171,7 @@ void Kopete::ChatSession::slotUpdateDisplayName()
//If we have only 1 contact, add the status of him
if ( d->mContactList.count() == 1 )
{
- d->displayName.append( TQString::fromLatin1( " (%1)" ).tqarg( d->mContactList.first()->onlineStatus().description() ) );
+ d->displayName.append( TQString::fromLatin1( " (%1)" ).arg( d->mContactList.first()->onlineStatus().description() ) );
}
emit displayNameChanged();
@@ -275,7 +275,7 @@ void Kopete::ChatSession::appendMessage( Kopete::Message &msg )
{
TQString nick=myself()->property(Kopete::Global::Properties::self()->nickName()).value().toString();
if ( KopetePrefs::prefs()->highlightEnabled() && !nick.isEmpty() &&
- msg.plainBody().contains( TQRegExp( TQString::fromLatin1( "\\b(%1)\\b" ).tqarg( nick ), false ) ) )
+ msg.plainBody().contains( TQRegExp( TQString::fromLatin1( "\\b(%1)\\b" ).arg( nick ), false ) ) )
{
msg.setImportance( Kopete::Message::Highlight );
}