summaryrefslogtreecommitdiffstats
path: root/kopete/libkopete/kopetemimesourcefactory.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kopete/libkopete/kopetemimesourcefactory.cpp')
-rw-r--r--kopete/libkopete/kopetemimesourcefactory.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/kopete/libkopete/kopetemimesourcefactory.cpp b/kopete/libkopete/kopetemimesourcefactory.cpp
index 962bc8ff..f21d875a 100644
--- a/kopete/libkopete/kopetemimesourcefactory.cpp
+++ b/kopete/libkopete/kopetemimesourcefactory.cpp
@@ -61,7 +61,7 @@ const TQMimeSource *MimeSourceFactory::data( const TQString &abs_name ) const
*it = KURL::decode_string( *it );
TQPixmap img;
- if ( parts[0] == TQString::tqfromLatin1("kopete-contact-icon") )
+ if ( parts[0] == TQString::fromLatin1("kopete-contact-icon") )
{
if ( parts.size() >= 4 )
{
@@ -71,7 +71,7 @@ const TQMimeSource *MimeSourceFactory::data( const TQString &abs_name ) const
Contact *contact = account->contacts()[ parts[3] ];
if ( contact )
{
- img = contact->onlinetqStatus().iconFor( contact );
+ img = contact->onlineStatus().iconFor( contact );
completed = true;
}
else
@@ -84,14 +84,14 @@ const TQMimeSource *MimeSourceFactory::data( const TQString &abs_name ) const
kdDebug( 14010 ) << k_funcinfo << "kopete-contact-icon: insufficient information in abs_name: " << parts << endl;
}
- if ( parts[0] == TQString::tqfromLatin1("kopete-account-icon") )
+ if ( parts[0] == TQString::fromLatin1("kopete-account-icon") )
{
if ( parts.size() >= 3 )
{
Account *account = AccountManager::self()->findAccount( parts[1], parts[2] );
if ( account )
{
- img = account->myself()->onlinetqStatus().iconFor( account->myself() );
+ img = account->myself()->onlineStatus().iconFor( account->myself() );
completed = true;
}
else
@@ -101,7 +101,7 @@ const TQMimeSource *MimeSourceFactory::data( const TQString &abs_name ) const
kdDebug( 14010 ) << k_funcinfo << "kopete-account-icon: insufficient information in abs_name: " << parts << endl;
}
- if ( parts[0] == TQString::tqfromLatin1("kopete-metacontact-icon") )
+ if ( parts[0] == TQString::fromLatin1("kopete-metacontact-icon") )
{
if ( parts.size() >= 2 )
{
@@ -116,7 +116,7 @@ const TQMimeSource *MimeSourceFactory::data( const TQString &abs_name ) const
kdDebug( 14010 ) << k_funcinfo << "kopete-metacontact-icon: insufficient information in abs_name: " << parts << endl;
}
- if ( parts[0] == TQString::tqfromLatin1("kopete-metacontact-photo") )
+ if ( parts[0] == TQString::fromLatin1("kopete-metacontact-photo") )
{
if ( parts.size() >= 2 )
{
@@ -133,7 +133,7 @@ const TQMimeSource *MimeSourceFactory::data( const TQString &abs_name ) const
kdDebug( 14010 ) << k_funcinfo << "kopete-metacontact-photo: insufficient information in abs_name: " << parts << endl;
}
- if ( parts[0] == TQString::tqfromLatin1("kopete-onlinestatus-icon") )
+ if ( parts[0] == TQString::fromLatin1("kopete-onlinestatus-icon") )
{
if ( parts.size() >= 2 )
{
@@ -152,7 +152,7 @@ const TQMimeSource *MimeSourceFactory::data( const TQString &abs_name ) const
Account *account = AccountManager::self()->accounts().getFirst();
if ( account )
{
- img = account->myself()->onlinetqStatus().iconFor( parts[1] );
+ img = account->myself()->onlineStatus().iconFor( parts[1] );
completed = true;
}
else