From d6f8bbb45b267065a6907e71ff9c98bb6d161241 Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 31 Jul 2010 19:56:07 +0000 Subject: Trinity Qt initial conversion git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdevelop@1157658 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- .../cpp/debugger/tests/print_pointers/print_pointers.cpp | 12 ++++++------ languages/cpp/debugger/tests/two_module/src/foo.cpp | 4 ++-- 2 files changed, 8 insertions(+), 8 deletions(-) (limited to 'languages/cpp/debugger/tests') diff --git a/languages/cpp/debugger/tests/print_pointers/print_pointers.cpp b/languages/cpp/debugger/tests/print_pointers/print_pointers.cpp index 09053b51..cc03679f 100644 --- a/languages/cpp/debugger/tests/print_pointers/print_pointers.cpp +++ b/languages/cpp/debugger/tests/print_pointers/print_pointers.cpp @@ -1,5 +1,5 @@ -#include +#include #include struct B { int i; int j; static int k; }; @@ -17,7 +17,7 @@ void func2() printf("func2\n"); } -void func(QString& xs) +void func(TQString& xs) { int ac = 10; std::string s; @@ -30,7 +30,7 @@ void func(QString& xs) class Test { public: - QString n; + TQString n; int b; }; @@ -67,9 +67,9 @@ int test_main(int ac, char* av[]) wchar_t* p15 = L"test1"; - QString s = "test test test test"; - QString* sp = &s; - const QString& sr = s; + TQString s = "test test test test"; + TQString* sp = &s; + const TQString& sr = s; func(s); i = 15; diff --git a/languages/cpp/debugger/tests/two_module/src/foo.cpp b/languages/cpp/debugger/tests/two_module/src/foo.cpp index b66f9924..f0e30f15 100644 --- a/languages/cpp/debugger/tests/two_module/src/foo.cpp +++ b/languages/cpp/debugger/tests/two_module/src/foo.cpp @@ -1,10 +1,10 @@ #include -#include +#include void foo(int a) { - QString s = "foo"; + TQString s = "foo"; int i = 10; int i2 = 12; int i3 = i + i2; -- cgit v1.2.1