summaryrefslogtreecommitdiffstats
path: root/src/svnqt/targets.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/targets.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/targets.cpp')
-rw-r--r--src/svnqt/targets.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/svnqt/targets.cpp b/src/svnqt/targets.cpp
index 6e2fced..5e525f8 100644
--- a/src/svnqt/targets.cpp
+++ b/src/svnqt/targets.cpp
@@ -41,7 +41,7 @@
#include "svnqt/pool.hpp"
#include "svnqt/svnqt_defines.hpp"
-#include <qstringlist.h>
+#include <tqstringlist.h>
namespace svn
{
@@ -50,7 +50,7 @@ namespace svn
m_targets = targets;
}
- Targets::Targets(const QStringList&targets)
+ Targets::Targets(const TQStringList&targets)
{
m_targets.clear();
for (unsigned int i = 0; i < targets.size();++i) {
@@ -83,7 +83,7 @@ namespace svn
m_targets = targets.targets ();
}
- Targets::Targets (const QString& target)
+ Targets::Targets (const TQString& target)
{
if (!target.isEmpty()) {
m_targets.push_back(target);
@@ -100,7 +100,7 @@ namespace svn
Targets::Targets (const char* target)
{
if (target) {
- m_targets.push_back(QString::FROMUTF8(target));
+ m_targets.push_back(TQString::FROMUTF8(target));
}
}
@@ -121,7 +121,7 @@ namespace svn
for (it = m_targets.begin (); it != m_targets.end (); it++)
{
- QByteArray s = (*it).path().TOUTF8();
+ TQByteArray s = (*it).path().TOUTF8();
char * t2 =
apr_pstrndup (apr_pool,s,s.size());