summaryrefslogtreecommitdiffstats
path: root/kdbg/testprogs/qt.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kdbg/testprogs/qt.cpp')
-rw-r--r--kdbg/testprogs/qt.cpp22
1 files changed, 11 insertions, 11 deletions
diff --git a/kdbg/testprogs/qt.cpp b/kdbg/testprogs/qt.cpp
index 2e04330..256fbde 100644
--- a/kdbg/testprogs/qt.cpp
+++ b/kdbg/testprogs/qt.cpp
@@ -1,8 +1,8 @@
-#include <qmap.h>
-#include <qvaluelist.h>
-#include <qvaluevector.h>
-#include <qstring.h>
-#include <qrect.h>
+#include <ntqmap.h>
+#include <ntqvaluelist.h>
+#include <ntqvaluevector.h>
+#include <ntqstring.h>
+#include <ntqrect.h>
#include <iostream>
template<typename T>
@@ -22,20 +22,20 @@ void test_sharing(const T& input)
int main()
{
- QMap<QString,int> str2int;
+ TQMap<TQString,int> str2int;
str2int["foo"] = 42;
test_sharing(str2int);
- QValueList<int> ints;
+ TQValueList<int> ints;
ints.push_back(42);
test_sharing(ints);
- QValueVector<double> vals(6, 47.11);
+ TQValueVector<double> vals(6, 47.11);
vals.push_back(42);
test_sharing(vals);
- QRect r(10,20, 130, 240);
- QPoint p = r.topLeft();
- QPoint q = r.bottomRight();
+ TQRect r(10,20, 130, 240);
+ TQPoint p = r.topLeft();
+ TQPoint q = r.bottomRight();
std::cout << r.width() << r.height() << p.x() << q.y() << std::endl;
}