diff options
Diffstat (limited to 'src/svnqt/tests/crepo.cpp')
-rw-r--r-- | src/svnqt/tests/crepo.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/svnqt/tests/crepo.cpp b/src/svnqt/tests/crepo.cpp index 604e4e9..fa43d90 100644 --- a/src/svnqt/tests/crepo.cpp +++ b/src/svnqt/tests/crepo.cpp @@ -8,18 +8,18 @@ #include <iostream> #include <unistd.h> -#include <qstringlist.h> +#include <tqstringlist.h> class Listener:public svn::repository::RepositoryListener { public: Listener(){} virtual ~Listener(){} - virtual void sendWarning(const QString&msg) + virtual void sendWarning(const TQString&msg) { std::cout << msg << std::endl; } - virtual void sendError(const QString&msg) + virtual void sendError(const TQString&msg) { std::cout << msg << std::endl; } @@ -28,13 +28,13 @@ class Listener:public svn::repository::RepositoryListener int main(int,char**) { - QString p = TESTREPOPATH; + TQString p = TESTREPOPATH; Listener ls; svn::repository::Repository rp(&ls); try { rp.CreateOpen(p,"fsfs"); } catch (svn::ClientException e) { - QString ex = e.msg(); + TQString ex = e.msg(); std::cout << ex.TOUTF8() << std::endl; return -1; } @@ -48,13 +48,13 @@ int main(int,char**) p = "file://"+p; m_Svnclient->setContext(m_CurrentContext); - QStringList s; s.append(p+"/trunk"); s.append(p+"/branches"); s.append(p+"/tags"); + TQStringList s; s.append(p+"/trunk"); s.append(p+"/branches"); s.append(p+"/tags"); try { m_Svnclient->mkdir(svn::Targets(s),"Test mkdir"); m_Svnclient->checkout(p,TESTCOPATH,svn::Revision::HEAD,svn::Revision::HEAD,svn::DepthInfinity,false); } catch (svn::ClientException e) { - QString ex = e.msg(); + TQString ex = e.msg(); std::cout << ex.TOUTF8() << std::endl; return -1; } |