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/version_check.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/version_check.cpp')
-rw-r--r-- | src/svnqt/version_check.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/svnqt/version_check.cpp b/src/svnqt/version_check.cpp index 02f6b10..44c79d3 100644 --- a/src/svnqt/version_check.cpp +++ b/src/svnqt/version_check.cpp @@ -26,7 +26,7 @@ #include <svn_version.h> #include <svn_client.h> -#include <qstring.h> +#include <tqstring.h> namespace svn { static const svn_version_t Linkedtag = { @@ -36,24 +36,24 @@ namespace svn { SVN_VER_NUMTAG }; - static QString curr_version_string; + static TQString curr_version_string; bool Version::client_version_compatible() { return svn_ver_compatible(svn_client_version(),&Linkedtag); } - const QString Version::linked_version() + const TQString Version::linked_version() { - return QString( SVN_VERSION ); + return TQString( SVN_VERSION ); } - const QString Version::running_version() + const TQString Version::running_version() { if (curr_version_string.length()==0) { curr_version_string = - QString("%1.%2.%3.%4").arg(svn_client_version()->major).arg(svn_client_version()->minor) - .arg(svn_client_version()->patch).arg(svn_client_version()->tag); + TQString("%1.%2.%3.%4").tqarg(svn_client_version()->major).tqarg(svn_client_version()->minor) + .tqarg(svn_client_version()->patch).tqarg(svn_client_version()->tag); } return curr_version_string; } |