diff options
Diffstat (limited to 'kitchensync/src/memberinfo.cpp')
-rw-r--r-- | kitchensync/src/memberinfo.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/kitchensync/src/memberinfo.cpp b/kitchensync/src/memberinfo.cpp index be43991fd..212e2e396 100644 --- a/kitchensync/src/memberinfo.cpp +++ b/kitchensync/src/memberinfo.cpp @@ -30,24 +30,24 @@ MemberInfo::MemberInfo( const QSync::Member &member ) { } -QPixmap MemberInfo::smallIcon() const +TQPixmap MemberInfo::smallIcon() const { return KGlobal::iconLoader()->loadIcon( iconName(), KIcon::Small ); } -QPixmap MemberInfo::desktopIcon() const +TQPixmap MemberInfo::desktopIcon() const { return KGlobal::iconLoader()->loadIcon( iconName(), KIcon::Desktop ); } -QString MemberInfo::iconName() const +TQString MemberInfo::iconName() const { return pluginIconName( mMember.pluginName() ); } -QString MemberInfo::name() const +TQString MemberInfo::name() const { - static QMap<QString, QString> nameMap; + static TQMap<TQString, TQString> nameMap; if ( nameMap.isEmpty() ) { nameMap.insert( "file-sync", i18n( "File" ) ); nameMap.insert( "palm-sync", i18n( "Palm" ) ); @@ -69,12 +69,12 @@ QString MemberInfo::name() const } if ( mMember.name().isEmpty() ) - return nameMap[ mMember.pluginName() ] + " (" + QString::number( mMember.id() ) + ") "; + return nameMap[ mMember.pluginName() ] + " (" + TQString::number( mMember.id() ) + ") "; else return mMember.name(); } -QString MemberInfo::pluginIconName( const QString &pluginName ) +TQString MemberInfo::pluginIconName( const TQString &pluginName ) { if ( pluginName == "file-sync" ) return "folder"; if ( pluginName == "palm-sync" ) return "pda_black"; @@ -95,5 +95,5 @@ QString MemberInfo::pluginIconName( const QString &pluginName ) if ( pluginName == "jescs-sync" ) return "www"; - return QString::null; + return TQString::null; } |