summaryrefslogtreecommitdiffstats
path: root/kitchensync/src/memberinfo.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:53:50 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:53:50 +0000
commit7be55ffa061c026e35e2d6a0effe1161ddb0d41f (patch)
tree8474f9b444b2756228600050f07a7ff25de532b2 /kitchensync/src/memberinfo.cpp
parentf587f20a6d09f1729dd0a8c1cd8ee0110aec7451 (diff)
downloadtdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.tar.gz
tdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1157655 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kitchensync/src/memberinfo.cpp')
-rw-r--r--kitchensync/src/memberinfo.cpp16
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;
}