summaryrefslogtreecommitdiffstats
path: root/src/svnqt/tests/lsdir.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/tests/lsdir.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/tests/lsdir.cpp')
-rw-r--r--src/svnqt/tests/lsdir.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/svnqt/tests/lsdir.cpp b/src/svnqt/tests/lsdir.cpp
index c458f31..1ac0140 100644
--- a/src/svnqt/tests/lsdir.cpp
+++ b/src/svnqt/tests/lsdir.cpp
@@ -15,19 +15,19 @@ int main(int,char**)
m_Svnclient->setContext(m_CurrentContext);
svn::DirEntries dlist;
- QString p = QString("file://%1").arg(TESTREPOPATH);
- QString l = QString("%1").arg(TESTCOPATH);
+ TQString p = TQString("file://%1").tqarg(TESTREPOPATH);
+ TQString l = TQString("%1").tqarg(TESTCOPATH);
try {
dlist = m_Svnclient->list(svn::Path(p),svn::Revision::HEAD,svn::Revision::HEAD,svn::DepthInfinity,true);
} catch (svn::ClientException e) {
- QString ex = e.msg();
+ TQString ex = e.msg();
std::cout << ex.TOUTF8() << std::endl;
return -1;
}
std::cout << "List 1 "<<dlist.size()<<std::endl;
for (unsigned int i=0; i < dlist.size();++i) {
- QDateTime dt = svn::DateTime(dlist[i]->time());
+ TQDateTime dt = svn::DateTime(dlist[i]->time());
std::cout << dlist[i]->name() << " "
<< dlist[i]->lastAuthor() << " "
<< dlist[i]->size() << " "
@@ -36,14 +36,14 @@ int main(int,char**)
try {
dlist = m_Svnclient->list(svn::Path(p),svn::Revision::HEAD,svn::Revision::HEAD,svn::DepthImmediates,false);
} catch (svn::ClientException e) {
- QString ex = e.msg();
+ TQString ex = e.msg();
std::cout << ex.TOUTF8() << std::endl;
return -1;
}
std::cout << "================"<<std::endl;
std::cout << "List 2 "<<dlist.size()<<std::endl;
for (unsigned int i=0; i < dlist.size();++i) {
- QDateTime dt = svn::DateTime(dlist[i]->time());
+ TQDateTime dt = svn::DateTime(dlist[i]->time());
std::cout << dlist[i]->name() << " "
<< dlist[i]->lastAuthor() << " "
<< dlist[i]->size() << " "
@@ -54,7 +54,7 @@ int main(int,char**)
try {
slist = m_Svnclient->status(svn::Path(p),svn::DepthInfinity,true,true,true,svn::Revision::HEAD,true,false);
} catch (svn::ClientException e) {
- QString ex = e.msg();
+ TQString ex = e.msg();
std::cout << ex.TOUTF8() << std::endl;
return -1;
}
@@ -66,7 +66,7 @@ int main(int,char**)
try {
slist = m_Svnclient->status(svn::Path(l),svn::DepthInfinity,true,true,true,svn::Revision::WORKING,true,false);
} catch (svn::ClientException e) {
- QString ex = e.msg();
+ TQString ex = e.msg();
std::cout << ex.TOUTF8() << std::endl;
return -1;
}