summaryrefslogtreecommitdiffstats
path: root/kitchensync/libqopensync/member.cpp
diff options
context:
space:
mode:
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 );