diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-04-13 00:46:47 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-04-13 00:46:47 +0000 |
commit | 67e29a054cfcb1b0d2fe6b0a316cf6b3eec087b7 (patch) | |
tree | 5f52a9eada2e9f3654fc327d7c14dfef570a6ecb /libkdepim/komposer/core/tests | |
parent | 2ee4bf4fd5eff93b2fbef0ff8e8063edffc5da5c (diff) | |
download | tdepim-67e29a054cfcb1b0d2fe6b0a316cf6b3eec087b7.tar.gz tdepim-67e29a054cfcb1b0d2fe6b0a316cf6b3eec087b7.zip |
Initial conversion of kdepim to TQt
This will probably require some tweaking before it will build under Qt4,
however Qt3 builds are OK. Any alterations this commit makes to kdepim
behaviour under Qt3 are unintentional and should be fixed.
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1227832 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'libkdepim/komposer/core/tests')
-rw-r--r-- | libkdepim/komposer/core/tests/managertest.cpp | 4 | ||||
-rw-r--r-- | libkdepim/komposer/core/tests/managertest.h | 3 | ||||
-rw-r--r-- | libkdepim/komposer/core/tests/tester.cpp | 4 | ||||
-rw-r--r-- | libkdepim/komposer/core/tests/testmanager.cpp | 4 | ||||
-rw-r--r-- | libkdepim/komposer/core/tests/testmanager.h | 5 |
5 files changed, 11 insertions, 9 deletions
diff --git a/libkdepim/komposer/core/tests/managertest.cpp b/libkdepim/komposer/core/tests/managertest.cpp index 487a84c59..4224a2e24 100644 --- a/libkdepim/komposer/core/tests/managertest.cpp +++ b/libkdepim/komposer/core/tests/managertest.cpp @@ -23,8 +23,8 @@ #include "pluginmanager.h" using namespace Komposer; -ManagerTest::ManagerTest( TQObject* parent ) - : TQObject( parent ) +ManagerTest::ManagerTest( TQObject* tqparent ) + : TQObject( tqparent ) { m_manager = new PluginManager( this ); } diff --git a/libkdepim/komposer/core/tests/managertest.h b/libkdepim/komposer/core/tests/managertest.h index 397bfaf01..c0351b39f 100644 --- a/libkdepim/komposer/core/tests/managertest.h +++ b/libkdepim/komposer/core/tests/managertest.h @@ -32,8 +32,9 @@ class ManagerTest : public TQObject, public Tester { Q_OBJECT + TQ_OBJECT public: - ManagerTest( TQObject* parent = 0 ); + ManagerTest( TQObject* tqparent = 0 ); public slots: void allTests(); diff --git a/libkdepim/komposer/core/tests/tester.cpp b/libkdepim/komposer/core/tests/tester.cpp index b32c89644..2a0c84618 100644 --- a/libkdepim/komposer/core/tests/tester.cpp +++ b/libkdepim/komposer/core/tests/tester.cpp @@ -21,8 +21,8 @@ #include "tester.h" -Tester::Tester( TQObject* parent ) - : TQObject( parent ) +Tester::Tester( TQObject* tqparent ) + : TQObject( tqparent ) { } diff --git a/libkdepim/komposer/core/tests/testmanager.cpp b/libkdepim/komposer/core/tests/testmanager.cpp index 0fcba16b9..893b35b81 100644 --- a/libkdepim/komposer/core/tests/testmanager.cpp +++ b/libkdepim/komposer/core/tests/testmanager.cpp @@ -11,8 +11,8 @@ using namespace Komposer; -TestManager::TestManager( TQObject *parent ) - : TQObject( parent ) +TestManager::TestManager( TQObject *tqparent ) + : TQObject( tqparent ) { m_manager = new PluginManager( this ); connect( m_manager, TQT_SIGNAL(pluginLoaded(Plugin*)), diff --git a/libkdepim/komposer/core/tests/testmanager.h b/libkdepim/komposer/core/tests/testmanager.h index c5ff8517d..b574bc871 100644 --- a/libkdepim/komposer/core/tests/testmanager.h +++ b/libkdepim/komposer/core/tests/testmanager.h @@ -9,11 +9,12 @@ namespace Komposer { } using Komposer::Plugin; -class TestManager : public QObject +class TestManager : public TQObject { Q_OBJECT + TQ_OBJECT public: - TestManager( TQObject *parent ); + TestManager( TQObject *tqparent ); public slots: void slotPluginLoaded( Plugin *plugin ); |