summaryrefslogtreecommitdiffstats
path: root/src/svnqt/testmain.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/svnqt/testmain.cpp')
-rw-r--r--src/svnqt/testmain.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/svnqt/testmain.cpp b/src/svnqt/testmain.cpp
index 13ae286..91af73b 100644
--- a/src/svnqt/testmain.cpp
+++ b/src/svnqt/testmain.cpp
@@ -22,7 +22,7 @@
#include "context.hpp"
#include "datetime.hpp"
-#include <qdatastream.h>
+#include <tqdatastream.h>
int main(int,char**)
{
@@ -30,9 +30,9 @@ int main(int,char**)
svn::repository::Repository rep(0L);
svn::ContextP myContext = new svn::Context();
- QByteArray tout;
-#if QT_VERSION < 0x040000
- QDataStream out(tout,IO_WriteOnly);
+ TQByteArray tout;
+#if [[[TQT_VERSION IS DEPRECATED]]] < 0x040000
+ TQDataStream out(tout,IO_WriteOnly);
#endif
svn::Client*m_Svnclient = svn::Client::getobject(0,0);
svn::ContextP m_CurrentContext = new svn::Context();
@@ -45,11 +45,11 @@ int main(int,char**)
} catch (svn::ClientException ce) {
gotit = false;
}
-#if QT_VERSION < 0x040000
+#if [[[TQT_VERSION IS DEPRECATED]]] < 0x040000
if (gotit) {
out << m_OldHistory;
svn::LogEntriesMap m_NewHistory;
- QDataStream inp(tout,IO_ReadOnly);
+ TQDataStream inp(tout,IO_ReadOnly);
inp >> m_NewHistory;
svn::LogEntriesMap::Iterator it;