summaryrefslogtreecommitdiffstats
path: root/kitchensync/libqopensync/syncchange.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kitchensync/libqopensync/syncchange.cpp')
-rw-r--r--kitchensync/libqopensync/syncchange.cpp26
1 files changed, 13 insertions, 13 deletions
diff --git a/kitchensync/libqopensync/syncchange.cpp b/kitchensync/libqopensync/syncchange.cpp
index f64ef6493..5dd72d7ff 100644
--- a/kitchensync/libqopensync/syncchange.cpp
+++ b/kitchensync/libqopensync/syncchange.cpp
@@ -44,42 +44,42 @@ bool SyncChange::isValid() const
return ( mSyncChange != 0 );
}
-void SyncChange::setUid( const QString &uid )
+void SyncChange::setUid( const TQString &uid )
{
osync_change_set_uid( mSyncChange, uid.utf8() );
}
-QString SyncChange::uid() const
+TQString SyncChange::uid() const
{
- return QString::fromUtf8( osync_change_get_uid( mSyncChange ) );
+ return TQString::fromUtf8( osync_change_get_uid( mSyncChange ) );
}
-void SyncChange::setHash( const QString &hash )
+void SyncChange::setHash( const TQString &hash )
{
osync_change_set_hash( mSyncChange, hash.utf8() );
}
-QString SyncChange::hash() const
+TQString SyncChange::hash() const
{
- return QString::fromUtf8( osync_change_get_hash( mSyncChange ) );
+ return TQString::fromUtf8( osync_change_get_hash( mSyncChange ) );
}
-void SyncChange::setData( const QString &data )
+void SyncChange::setData( const TQString &data )
{
osync_change_set_data( mSyncChange, const_cast<char*>( data.utf8().data() ), data.utf8().size(), true );
}
-QString SyncChange::data() const
+TQString SyncChange::data() const
{
int size = osync_change_get_datasize( mSyncChange );
- QString content;
+ TQString content;
if ( objectFormatName() == "file" ) {
fileFormat *format = (fileFormat*)osync_change_get_data( mSyncChange );
if ( format )
- content = QString::fromUtf8( format->data, format->size );
+ content = TQString::fromUtf8( format->data, format->size );
} else
- content = QString::fromUtf8( osync_change_get_data( mSyncChange ), size );
+ content = TQString::fromUtf8( osync_change_get_data( mSyncChange ), size );
return content;
}
@@ -89,12 +89,12 @@ bool SyncChange::hasData() const
return osync_change_has_data( mSyncChange );
}
-QString SyncChange::objectFormatName() const
+TQString SyncChange::objectFormatName() const
{
OSyncObjFormat *format = osync_change_get_objformat( mSyncChange );
Q_ASSERT( format );
- return QString::fromUtf8( osync_objformat_get_name( format ) );
+ return TQString::fromUtf8( osync_objformat_get_name( format ) );
}
Member SyncChange::member() const