summaryrefslogtreecommitdiffstats
path: root/kitchensync/libqopensync/member.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/libqopensync/member.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/libqopensync/member.cpp')
-rw-r--r--kitchensync/libqopensync/member.cpp26
1 files changed, 13 insertions, 13 deletions
diff --git a/kitchensync/libqopensync/member.cpp b/kitchensync/libqopensync/member.cpp
index 3ac24f0dc..35cb04632 100644
--- a/kitchensync/libqopensync/member.cpp
+++ b/kitchensync/libqopensync/member.cpp
@@ -51,18 +51,18 @@ bool Member::isValid() const
return true;
}
-QString Member::configurationDirectory() const
+TQString Member::configurationDirectory() const
{
Q_ASSERT( mMember );
- return QString::fromLatin1( osync_member_get_configdir( mMember ) );
+ return TQString::fromLatin1( osync_member_get_configdir( mMember ) );
}
-QString Member::pluginName() const
+TQString Member::pluginName() const
{
Q_ASSERT( mMember );
- return QString::fromLatin1( osync_member_get_pluginname( mMember ) );
+ return TQString::fromLatin1( osync_member_get_pluginname( mMember ) );
}
Plugin Member::plugin() const
@@ -85,28 +85,28 @@ int Member::id() const
return osync_member_get_id( mMember );
}
-void Member::setName( const QString &name )
+void Member::setName( const TQString &name )
{
Q_ASSERT( mMember );
osync_member_set_name( mMember, (const char*)name.utf8() );
}
-QString Member::name() const
+TQString Member::name() const
{
Q_ASSERT( mMember );
- return QString::fromUtf8( osync_member_get_name( mMember ) );
+ return TQString::fromUtf8( osync_member_get_name( mMember ) );
}
-void Member::setConfiguration( const QByteArray &configurationData )
+void Member::setConfiguration( const TQByteArray &configurationData )
{
Q_ASSERT( mMember );
osync_member_set_config( mMember, configurationData.data(), configurationData.size() );
}
-Result Member::configuration( QByteArray &configurationData, bool useDefault )
+Result Member::configuration( TQByteArray &configurationData, bool useDefault )
{
Q_ASSERT( mMember );
@@ -155,7 +155,7 @@ bool Member::operator==( const Member &member ) const
return mMember == member.mMember;
}
-QString Member::scanDevices( const QString &query )
+TQString Member::scanDevices( const TQString &query )
{
Q_ASSERT( mMember );
@@ -163,15 +163,15 @@ QString Member::scanDevices( const QString &query )
char *data = (char*)osync_member_call_plugin( mMember, "scan_devices", const_cast<char*>( query.utf8().data() ), &error );
if ( error != 0 ) {
osync_error_free( &error );
- return QString();
+ return TQString();
} else {
- QString xml = QString::fromUtf8( data );
+ TQString xml = TQString::fromUtf8( data );
free( data );
return xml;
}
}
-bool Member::testConnection( const QString &configuration )
+bool Member::testConnection( const TQString &configuration )
{
Q_ASSERT( mMember );