diff options
Diffstat (limited to 'src/svnqt/client_impl.cpp')
-rw-r--r-- | src/svnqt/client_impl.cpp | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/src/svnqt/client_impl.cpp b/src/svnqt/client_impl.cpp index 74c2850..031ca6b 100644 --- a/src/svnqt/client_impl.cpp +++ b/src/svnqt/client_impl.cpp @@ -36,8 +36,8 @@ #include "svn_opt.h" #include "svnqt/svnqt_defines.hpp" -#include <qmap.h> -#include <qstringlist.h> +#include <tqmap.h> +#include <tqstringlist.h> namespace svn { @@ -65,7 +65,7 @@ namespace svn void - Client_impl::url2Revision(const QString&revstring, + Client_impl::url2Revision(const TQString&revstring, Revision&start,Revision&end) { Pool pool; @@ -77,7 +77,7 @@ namespace svn } } - void Client_impl::url2Revision(const QString&revstring,Revision&start) + void Client_impl::url2Revision(const TQString&revstring,Revision&start) { if (revstring=="WORKING") { start = Revision::WORKING; @@ -100,13 +100,9 @@ namespace svn PropertiesMap::ConstIterator it; const char*propval; const char*propname; - QByteArray s,n; + TQByteArray s,n; for (it=aMap.begin();it!=aMap.end();++it) { -#if QT_VERSION < 0x040000 s=it.data().TOUTF8(); -#else - s=it.value().TOUTF8(); -#endif n=it.key().TOUTF8(); propval=apr_pstrndup(pool,s,s.size()); propname=apr_pstrndup(pool,n,n.size()); |