diff options
Diffstat (limited to 'kopete/kopete/systemtray.cpp')
-rw-r--r-- | kopete/kopete/systemtray.cpp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/kopete/kopete/systemtray.cpp b/kopete/kopete/systemtray.cpp index 89ce1351..8535f0a0 100644 --- a/kopete/kopete/systemtray.cpp +++ b/kopete/kopete/systemtray.cpp @@ -164,7 +164,7 @@ void KopeteSystemTray::startBlink( const TQMovie &movie ) void KopeteSystemTray::startBlink() { if ( mMovie.isNull() ) - mMovie = KGlobal::iconLoader()->loadMovie( TQString::fromLatin1( "newmessage" ), KIcon::Panel ); + mMovie = KGlobal::iconLoader()->loadMovie( TQString::tqfromLatin1( "newmessage" ), KIcon::Panel ); startBlink( mMovie ); } @@ -302,7 +302,7 @@ void KopeteSystemTray::addBalloon() m_balloon = new KopeteBalloon( i18n( "<qt><nobr><b>New Message from %1:</b></nobr><br><nobr>\"%2\"</nobr></qt>" ) - .arg( TQStyleSheet::escape( msgFrom ), msgText ), TQString() ); + .tqarg( TQStyleSheet::escape( msgFrom ), msgText ), TQString() ); connect(m_balloon, TQT_SIGNAL(signalBalloonClicked()), mBalloonEventList.first() , TQT_SLOT(apply())); connect(m_balloon, TQT_SIGNAL(signalButtonClicked()), mBalloonEventList.first() , TQT_SLOT(apply())); connect(m_balloon, TQT_SIGNAL(signalIgnoreButtonClicked()), mBalloonEventList.first() , TQT_SLOT(ignore())); @@ -343,12 +343,12 @@ void KopeteSystemTray::slotReevaluateAccountStates() if (!c) continue; - if (c->onlineStatus().status() == Kopete::OnlineStatus::Online) + if (c->onlinetqStatus().status() == Kopete::OnlineStatus::Online) { bOnline = true; // at least one contact is online } - else if (c->onlineStatus().status() == Kopete::OnlineStatus::Away - || c->onlineStatus().status() == Kopete::OnlineStatus::Invisible) + else if (c->onlinetqStatus().status() == Kopete::OnlineStatus::Away + || c->onlinetqStatus().status() == Kopete::OnlineStatus::Invisible) { bAway = true; // at least one contact is away or invisible } @@ -397,7 +397,7 @@ TQString KopeteSystemTray::squashMessage( const Kopete::Message& msg ) // Escape it after snipping it to not snip entities msgText =msg.plainBody() ; if( msgText.length() > 30 ) - msgText = msgText.left( 30 ) + TQString::fromLatin1( " ..." ); + msgText = msgText.left( 30 ) + TQString::tqfromLatin1( " ..." ); msgText=Kopete::Message::escape(msgText); } else @@ -411,17 +411,17 @@ TQString KopeteSystemTray::squashMessage( const Kopete::Message& msg ) { TQString urlWithoutProtocol = rx.cap( 4 ); shorterUrl = urlWithoutProtocol.left( 27 ) - + TQString::fromLatin1( "... " ); + + TQString::tqfromLatin1( "... " ); } else { shorterUrl = fullUrl.left( 27 ) - + TQString::fromLatin1( "... " ); + + TQString::tqfromLatin1( "... " ); } // remove message text - msgText = TQString::fromLatin1( "... " ) + + msgText = TQString::tqfromLatin1( "... " ) + rx.cap( 1 ) + - TQString::fromLatin1( " ..." ); + TQString::tqfromLatin1( " ..." ); // find last occurrence of URL (the one inside the <a> tag) int revUrlOffset = msgText.findRev( fullUrl ); msgText.replace( revUrlOffset, |