diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-05-04 19:54:24 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-05-04 19:54:24 +0000 |
commit | d7633c195a464e4d344ada9eea61afd10110598a (patch) | |
tree | 1f2da0b135f3ed84955e340cae823f00c4ce7284 /src/svnqt/wc.cpp | |
parent | 3fa7eb804f67b2789f128075cc2522f398640250 (diff) | |
download | tdesvn-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/wc.cpp')
-rw-r--r-- | src/svnqt/wc.cpp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/src/svnqt/wc.cpp b/src/svnqt/wc.cpp index bcfe139..a58cab2 100644 --- a/src/svnqt/wc.cpp +++ b/src/svnqt/wc.cpp @@ -42,7 +42,7 @@ namespace svn const char * Wc::ADM_DIR_NAME = SVN_WC_ADM_DIR_NAME; bool - Wc::checkWc (const QString& dir) + Wc::checkWc (const TQString& dir) { Pool pool; Path path (dir); @@ -61,8 +61,8 @@ namespace svn } void - Wc::ensureAdm (const QString& dir, const QString& uuid, - const QString& url, const Revision & revision) throw (ClientException) + Wc::ensureAdm (const TQString& dir, const TQString& uuid, + const TQString& url, const Revision & revision) throw (ClientException) { Pool pool; Path dirPath (dir); @@ -79,7 +79,7 @@ namespace svn throw ClientException (error); } - const svn_wc_entry_t *Wc::getEntry( const QString &path ) throw ( ClientException ) + const svn_wc_entry_t *Wc::getEntry( const TQString &path ) throw ( ClientException ) { Pool pool; Path itemPath(path); @@ -101,22 +101,22 @@ namespace svn return entry; } - QString Wc::getUrl(const QString&path) throw (ClientException) + TQString Wc::getUrl(const TQString&path) throw (ClientException) { - QString result = ""; + TQString result = ""; const svn_wc_entry_t *entry; entry = getEntry( path ); - result = entry?QString::FROMUTF8(entry->url):""; + result = entry?TQString::FROMUTF8(entry->url):""; return result; } - QString Wc::getRepos(const QString&path) throw (ClientException) + TQString Wc::getRepos(const TQString&path) throw (ClientException) { - QString result = ""; + TQString result = ""; const svn_wc_entry_t *entry; entry = getEntry( path ); - result = entry ? QString::FROMUTF8(entry->repos) : QString::fromLatin1(""); + result = entry ? TQString::FROMUTF8(entry->repos) : TQString::tqfromLatin1(""); return result; } |