diff options
Diffstat (limited to 'developer-doc/phb/test-examples.docbook')
-rw-r--r-- | developer-doc/phb/test-examples.docbook | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/developer-doc/phb/test-examples.docbook b/developer-doc/phb/test-examples.docbook index 43f9d7f..3ebcc96 100644 --- a/developer-doc/phb/test-examples.docbook +++ b/developer-doc/phb/test-examples.docbook @@ -173,7 +173,7 @@ test case, some logic is necessary to print the name only once. class MyProgressListener : public CppUnit::TextTestProgressListener { void startTest(CppUnit::Test *test) { - QString name = test->getName().c_str(); + TQString name = test->getName().c_str(); name = name.mid(2); // cut off first 2 chars name = name.left(name.find('.')); if(m_name != name) { @@ -184,7 +184,7 @@ class MyProgressListener : public CppUnit::TextTestProgressListener } } private: - QString m_name; + TQString m_name; }; #endif |