summaryrefslogtreecommitdiffstats
path: root/tdespell2/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tdespell2/tests')
-rw-r--r--tdespell2/tests/Makefile.am2
-rw-r--r--tdespell2/tests/backgroundtest.cpp8
-rw-r--r--tdespell2/tests/backgroundtest.h2
-rw-r--r--tdespell2/tests/test_dialog.cpp4
-rw-r--r--tdespell2/tests/test_dialog.h2
5 files changed, 9 insertions, 9 deletions
diff --git a/tdespell2/tests/Makefile.am b/tdespell2/tests/Makefile.am
index fc94843b5..c33439d68 100644
--- a/tdespell2/tests/Makefile.am
+++ b/tdespell2/tests/Makefile.am
@@ -1,4 +1,4 @@
-AM_CPPFLAGS = -DKDE_NO_COMPAT -DTQT_NO_COMPAT -I$(top_srcdir)/tdespell2 -I$(top_srcdir)/tdespell2/ui $(all_includes)
+AM_CPPFLAGS = -DKDE_NO_COMPAT -I$(top_srcdir)/tdespell2 -I$(top_srcdir)/tdespell2/ui $(all_includes)
METASOURCES = AUTO
diff --git a/tdespell2/tests/backgroundtest.cpp b/tdespell2/tests/backgroundtest.cpp
index 92c7e7792..79ba20331 100644
--- a/tdespell2/tests/backgroundtest.cpp
+++ b/tdespell2/tests/backgroundtest.cpp
@@ -134,10 +134,10 @@ BackgroundTest::BackgroundTest()
: TQObject( 0 )
{
m_checker = new BackgroundChecker( Broker::openBroker(), this );
- connect( m_checker, TQT_SIGNAL(done()),
- TQT_SLOT(slotDone()) );
- connect( m_checker, TQT_SIGNAL(misspelling(const TQString&, int)),
- TQT_SLOT(slotMisspelling(const TQString&, int)) );
+ connect( m_checker, TQ_SIGNAL(done()),
+ TQ_SLOT(slotDone()) );
+ connect( m_checker, TQ_SIGNAL(misspelling(const TQString&, int)),
+ TQ_SLOT(slotMisspelling(const TQString&, int)) );
m_len = strlen( text );
m_checker->checkText( text );
m_timer.start();
diff --git a/tdespell2/tests/backgroundtest.h b/tdespell2/tests/backgroundtest.h
index 2f08e9ce0..1fb16fd60 100644
--- a/tdespell2/tests/backgroundtest.h
+++ b/tdespell2/tests/backgroundtest.h
@@ -28,7 +28,7 @@
class BackgroundTest : public TQObject
{
- Q_OBJECT
+ TQ_OBJECT
public:
BackgroundTest();
diff --git a/tdespell2/tests/test_dialog.cpp b/tdespell2/tests/test_dialog.cpp
index d6441bde6..a84aeaf30 100644
--- a/tdespell2/tests/test_dialog.cpp
+++ b/tdespell2/tests/test_dialog.cpp
@@ -40,8 +40,8 @@ void TestDialog::check( const TQString& buffer )
KSpell2::Dialog *dlg = new KSpell2::Dialog(
new BackgroundChecker( Broker::openBroker(), this, "checker" ),
0, "my dialog" );
- connect( dlg, TQT_SIGNAL(done(const TQString&)),
- TQT_SLOT(doneChecking(const TQString&)) );
+ connect( dlg, TQ_SIGNAL(done(const TQString&)),
+ TQ_SLOT(doneChecking(const TQString&)) );
dlg->setBuffer( buffer );
dlg->show();
}
diff --git a/tdespell2/tests/test_dialog.h b/tdespell2/tests/test_dialog.h
index e8a6cf970..924c1281b 100644
--- a/tdespell2/tests/test_dialog.h
+++ b/tdespell2/tests/test_dialog.h
@@ -28,7 +28,7 @@
class TestDialog : public TQObject
{
- Q_OBJECT
+ TQ_OBJECT
public:
TestDialog();