From f7e71d47719ab6094cf4a9fafffa5ea351973522 Mon Sep 17 00:00:00 2001 From: tpearson Date: Thu, 13 Jan 2011 08:32:36 +0000 Subject: Initial conversion for TQt for Qt4 3.4.0 TP2 This will also compile with TQt for Qt3, and should not cause any problems with dependent modules such as kdebase. If it does then it needs to be fixed! git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1214149 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kutils/tests/kfindtest.h | 2 +- kutils/tests/kreplacetest.cpp | 4 ++-- kutils/tests/kreplacetest.h | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) (limited to 'kutils/tests') diff --git a/kutils/tests/kfindtest.h b/kutils/tests/kfindtest.h index b3be84a8b..847d9579c 100644 --- a/kutils/tests/kfindtest.h +++ b/kutils/tests/kfindtest.h @@ -25,7 +25,7 @@ class KFind; -class KFindTest : public QObject +class KFindTest : public TQObject { Q_OBJECT diff --git a/kutils/tests/kreplacetest.cpp b/kutils/tests/kreplacetest.cpp index a810b7706..0a33be94b 100644 --- a/kutils/tests/kreplacetest.cpp +++ b/kutils/tests/kreplacetest.cpp @@ -60,7 +60,7 @@ void KReplaceTest::replace( const TQString &pattern, const TQString &replacement slotReplaceNext(); if ( m_needEventLoop ) - qApp->eventLoop()->enterLoop(); + tqApp->eventLoop()->enterLoop(); } void KReplaceTest::slotHighlight( const TQString &str, int matchingIndex, int matchedLength ) @@ -115,7 +115,7 @@ void KReplaceTest::slotReplaceNext() } #endif if ( res == KFind::NoMatch && m_needEventLoop ) - qApp->eventLoop()->exitLoop(); + tqApp->eventLoop()->exitLoop(); } void KReplaceTest::print() diff --git a/kutils/tests/kreplacetest.h b/kutils/tests/kreplacetest.h index ff85ca34b..b8fb8120b 100644 --- a/kutils/tests/kreplacetest.h +++ b/kutils/tests/kreplacetest.h @@ -25,7 +25,7 @@ class KReplace; -class KReplaceTest : public QObject +class KReplaceTest : public TQObject { Q_OBJECT public: -- cgit v1.2.1