summaryrefslogtreecommitdiffstats
path: root/src/svnqt/lock_entry.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-05-04 19:54:24 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-05-04 19:54:24 +0000
commitd7633c195a464e4d344ada9eea61afd10110598a (patch)
tree1f2da0b135f3ed84955e340cae823f00c4ce7284 /src/svnqt/lock_entry.cpp
parent3fa7eb804f67b2789f128075cc2522f398640250 (diff)
downloadtdesvn-d7633c195a464e4d344ada9eea61afd10110598a.tar.gz
tdesvn-d7633c195a464e4d344ada9eea61afd10110598a.zip
Port kdesvn to TQt4
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kdesvn@1230412 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/svnqt/lock_entry.cpp')
-rw-r--r--src/svnqt/lock_entry.cpp30
1 files changed, 15 insertions, 15 deletions
diff --git a/src/svnqt/lock_entry.cpp b/src/svnqt/lock_entry.cpp
index cf7ffe1..f1c0fcf 100644
--- a/src/svnqt/lock_entry.cpp
+++ b/src/svnqt/lock_entry.cpp
@@ -51,21 +51,21 @@ namespace svn
const char * lock_comment,
const char * lock_token)
: date(lock_time),exp(expiration_time),
- owner(lock_owner?QString::FROMUTF8(lock_owner):""),
- comment(lock_comment?QString::FROMUTF8(lock_comment):""),
- token(lock_token?QString::FROMUTF8(lock_token):""),
+ owner(lock_owner?TQString::FROMUTF8(lock_owner):""),
+ comment(lock_comment?TQString::FROMUTF8(lock_comment):""),
+ token(lock_token?TQString::FROMUTF8(lock_token):""),
locked(lock_token?true:false)
{
}
- const QString&LockEntry::Comment()const
+ const TQString&LockEntry::Comment()const
{
return comment;
}
- const QString&LockEntry::Owner()const
+ const TQString&LockEntry::Owner()const
{
return owner;
}
- const QString&LockEntry::Token()const
+ const TQString&LockEntry::Token()const
{
return token;
}
@@ -86,9 +86,9 @@ namespace svn
if (src) {
date = src->lock_creation_date;
locked = src->lock_token?true:false;
- token = (src->lock_token?QString::FROMUTF8(src->lock_token):"");
- comment = (src->lock_comment?QString::FROMUTF8(src->lock_comment):"");
- owner = (src->lock_owner?QString::FROMUTF8(src->lock_owner):"");
+ token = (src->lock_token?TQString::FROMUTF8(src->lock_token):"");
+ comment = (src->lock_comment?TQString::FROMUTF8(src->lock_comment):"");
+ owner = (src->lock_owner?TQString::FROMUTF8(src->lock_owner):"");
} else {
date = 0;
owner = "";
@@ -104,9 +104,9 @@ namespace svn
if (src) {
date = src->creation_date;
locked = src->token?true:false;
- token = (src->token?QString::FROMUTF8(src->token):"");
- comment = (src->comment?QString::FROMUTF8(src->comment):"");
- owner = (src->owner?QString::FROMUTF8(src->owner):"");
+ token = (src->token?TQString::FROMUTF8(src->token):"");
+ comment = (src->comment?TQString::FROMUTF8(src->comment):"");
+ owner = (src->owner?TQString::FROMUTF8(src->owner):"");
} else {
date = 0;
exp = 0;
@@ -128,9 +128,9 @@ namespace svn
date = lock_time;
exp = expiration_time;
locked = lock_token?true:false;
- token = lock_token?QString::FROMUTF8(lock_token):"";
- owner = lock_owner?QString::FROMUTF8(lock_owner):"";
- comment = lock_comment?QString::FROMUTF8(lock_comment):"";
+ token = lock_token?TQString::FROMUTF8(lock_token):"";
+ owner = lock_owner?TQString::FROMUTF8(lock_owner):"";
+ comment = lock_comment?TQString::FROMUTF8(lock_comment):"";
}
}