summaryrefslogtreecommitdiffstats
path: root/developer-doc/phb/test-examples.docbook
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-09-26 11:49:35 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-09-28 11:41:02 +0900
commita84f7caff6a73b3d554279d41b9a00aa15ad1400 (patch)
treef55b4d7373fdf5ae2763e06643030f4dbea48209 /developer-doc/phb/test-examples.docbook
parent08d1c7296d2a8348250f0ced6184476a5761e391 (diff)
downloadkmymoney-r14.1.1.tar.gz
kmymoney-r14.1.1.zip
Replace QObject, QWidget, QImage, QPair, QRgb, QColor, QChar, QString, QIODevice with TQ* versionr14.1.1
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit ecdc0343d446e810e477e8924e846de7f3313c55)
Diffstat (limited to 'developer-doc/phb/test-examples.docbook')
-rw-r--r--developer-doc/phb/test-examples.docbook4
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-&gt;getName().c_str();
+ TQString name = test-&gt;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