summaryrefslogtreecommitdiffstats
path: root/src/svnqt/stringarray.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/stringarray.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/stringarray.cpp')
-rw-r--r--src/svnqt/stringarray.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/svnqt/stringarray.cpp b/src/svnqt/stringarray.cpp
index bdac55b..7be5039 100644
--- a/src/svnqt/stringarray.cpp
+++ b/src/svnqt/stringarray.cpp
@@ -37,9 +37,9 @@
/*!
- \fn svn::StringArray::StringArray(const QStringList&)
+ \fn svn::StringArray::StringArray(const TQStringList&)
*/
-svn::StringArray::StringArray(const QStringList&aList)
+svn::StringArray::StringArray(const TQStringList&aList)
:m_content(aList)
{
setNull(false);
@@ -57,7 +57,7 @@ svn::StringArray::StringArray(const apr_array_header_t * apr_targets)
const char ** target =
&APR_ARRAY_IDX (apr_targets, i, const char *);
- m_content.push_back (QString::FROMUTF8(*target));
+ m_content.push_back (TQString::FROMUTF8(*target));
}
}
@@ -77,7 +77,7 @@ size_t svn::StringArray::size()const
/*!
\fn svn::StringArray::operator[](size_t which)
*/
-const QString& svn::StringArray::operator[](size_t which)
+const TQString& svn::StringArray::operator[](size_t which)
{
return m_content[which];
}
@@ -91,7 +91,7 @@ apr_array_header_t * svn::StringArray::array (const Pool & pool) const
if (isNull()) {
return 0;
}
- QStringList::const_iterator it;
+ TQStringList::const_iterator it;
apr_pool_t *apr_pool = pool.pool ();
apr_array_header_t *apr_targets =
@@ -99,7 +99,7 @@ apr_array_header_t * svn::StringArray::array (const Pool & pool) const
for (it = m_content.begin (); it != m_content.end (); it++)
{
- QByteArray s = (*it).TOUTF8();
+ TQByteArray s = (*it).TOUTF8();
char * t2 = apr_pstrndup (apr_pool,s,s.size());
(*((const char **) apr_array_push (apr_targets))) = t2;