summaryrefslogtreecommitdiffstats
path: root/libtdepim/komposer/core
diff options
context:
space:
mode:
Diffstat (limited to 'libtdepim/komposer/core')
-rw-r--r--libtdepim/komposer/core/core.cpp28
-rw-r--r--libtdepim/komposer/core/core.h2
-rw-r--r--libtdepim/komposer/core/corewidget.h2
-rw-r--r--libtdepim/komposer/core/editor.h2
-rw-r--r--libtdepim/komposer/core/plugin.h2
-rw-r--r--libtdepim/komposer/core/pluginmanager.cpp20
-rw-r--r--libtdepim/komposer/core/pluginmanager.h2
-rw-r--r--libtdepim/komposer/core/prefsmodule.cpp6
-rw-r--r--libtdepim/komposer/core/prefsmodule.h4
-rw-r--r--libtdepim/komposer/core/tests/managertest.h2
-rw-r--r--libtdepim/komposer/core/tests/testmanager.cpp8
-rw-r--r--libtdepim/komposer/core/tests/testmanager.h2
12 files changed, 40 insertions, 40 deletions
diff --git a/libtdepim/komposer/core/core.cpp b/libtdepim/komposer/core/core.cpp
index 2616f8e2..3549a314 100644
--- a/libtdepim/komposer/core/core.cpp
+++ b/libtdepim/komposer/core/core.cpp
@@ -225,10 +225,10 @@ void
Core::initCore()
{
m_pluginManager = new PluginManager( this );
- connect( m_pluginManager, TQT_SIGNAL(pluginLoaded(Plugin*)),
- TQT_SLOT(slotPluginLoaded(Plugin*)) );
- connect( m_pluginManager, TQT_SIGNAL(allPluginsLoaded()),
- TQT_SLOT(slotAllPluginsLoaded()) );
+ connect( m_pluginManager, TQ_SIGNAL(pluginLoaded(Plugin*)),
+ TQ_SLOT(slotPluginLoaded(Plugin*)) );
+ connect( m_pluginManager, TQ_SIGNAL(allPluginsLoaded()),
+ TQ_SLOT(slotAllPluginsLoaded()) );
m_pluginManager->loadAllPlugins();
@@ -238,39 +238,39 @@ Core::initCore()
void
Core::initConnections()
{
- connect( kapp, TQT_SIGNAL(shutDown()),
- TQT_SLOT(slotQuit()) );
+ connect( kapp, TQ_SIGNAL(shutDown()),
+ TQ_SLOT(slotQuit()) );
}
void
Core::createActions()
{
- KStdAction::close( this, TQT_SLOT(slotClose()), actionCollection() );
+ KStdAction::close( this, TQ_SLOT(slotClose()), actionCollection() );
(void) new TDEAction( i18n( "&Send" ), "mail-send", CTRL+Key_Return,
- this, TQT_SLOT(slotSendNow()), actionCollection(),
+ this, TQ_SLOT(slotSendNow()), actionCollection(),
"send_default" );
(void) new TDEAction( i18n( "&Queue" ), "queue", 0,
- this, TQT_SLOT(slotSendLater()),
+ this, TQ_SLOT(slotSendLater()),
actionCollection(), "send_alternative" );
(void) new TDEAction( i18n( "Save in &Drafts Folder" ), "document-save", 0,
- this, TQT_SLOT(slotSaveDraft()),
+ this, TQ_SLOT(slotSaveDraft()),
actionCollection(), "save_in_drafts" );
(void) new TDEAction( i18n( "&Insert File..." ), "document-open", 0,
- this, TQT_SLOT(slotInsertFile()),
+ this, TQ_SLOT(slotInsertFile()),
actionCollection(), "insert_file" );
(void) new TDEAction( i18n( "&Address Book" ), "contents",0,
- this, TQT_SLOT(slotAddrBook()),
+ this, TQ_SLOT(slotAddrBook()),
actionCollection(), "addressbook" );
(void) new TDEAction( i18n( "&New Composer" ), "mail-message-new",
TDEStdAccel::shortcut( TDEStdAccel::New ),
- this, TQT_SLOT(slotNewComposer()),
+ this, TQ_SLOT(slotNewComposer()),
actionCollection(), "new_composer" );
(void) new TDEAction( i18n( "&Attach File..." ), "attach",
- 0, this, TQT_SLOT(slotAttachFile()),
+ 0, this, TQ_SLOT(slotAttachFile()),
actionCollection(), "attach_file" );
}
diff --git a/libtdepim/komposer/core/core.h b/libtdepim/komposer/core/core.h
index 482ee1db..dcf1427f 100644
--- a/libtdepim/komposer/core/core.h
+++ b/libtdepim/komposer/core/core.h
@@ -43,7 +43,7 @@ namespace Komposer
*/
class Core : public TDEMainWindow, virtual public KomposerIface
{
- Q_OBJECT
+ TQ_OBJECT
public:
Core( TQWidget *parentWidget = 0, const char *name = 0 );
diff --git a/libtdepim/komposer/core/corewidget.h b/libtdepim/komposer/core/corewidget.h
index c2a6a0e7..c0e93b14 100644
--- a/libtdepim/komposer/core/corewidget.h
+++ b/libtdepim/komposer/core/corewidget.h
@@ -30,7 +30,7 @@ namespace Komposer
class CoreWidget : public TQWidget
{
- Q_OBJECT
+ TQ_OBJECT
public:
CoreWidget( TQWidget *parent, const char *name=0 );
diff --git a/libtdepim/komposer/core/editor.h b/libtdepim/komposer/core/editor.h
index 4e595b3f..41667af9 100644
--- a/libtdepim/komposer/core/editor.h
+++ b/libtdepim/komposer/core/editor.h
@@ -36,7 +36,7 @@ namespace Komposer {
class Editor : public Plugin
{
- Q_OBJECT
+ TQ_OBJECT
public:
enum TextType {
diff --git a/libtdepim/komposer/core/plugin.h b/libtdepim/komposer/core/plugin.h
index ac0b5498..a462fd90 100644
--- a/libtdepim/komposer/core/plugin.h
+++ b/libtdepim/komposer/core/plugin.h
@@ -31,7 +31,7 @@ namespace Komposer
class Plugin : public TQObject,
virtual public KXMLGUIClient
{
- Q_OBJECT
+ TQ_OBJECT
public:
virtual ~Plugin();
diff --git a/libtdepim/komposer/core/pluginmanager.cpp b/libtdepim/komposer/core/pluginmanager.cpp
index 9a33b990..8c4e025d 100644
--- a/libtdepim/komposer/core/pluginmanager.cpp
+++ b/libtdepim/komposer/core/pluginmanager.cpp
@@ -78,7 +78,7 @@ PluginManager::PluginManager( TQObject *parent )
d->shutdownMode = Private::StartingUp;
KSettings::Dispatcher::self()->registerInstance( TDEGlobal::instance(),
- this, TQT_SLOT( loadAllPlugins() ) );
+ this, TQ_SLOT( loadAllPlugins() ) );
d->plugins = KPluginInfo::fromServices(
TDETrader::self()->query( TQString::fromLatin1( "Komposer/Plugin" ),
@@ -168,7 +168,7 @@ PluginManager::shutdown()
}
}
- TQTimer::singleShot( 3000, this, TQT_SLOT(slotShutdownTimeout()) );
+ TQTimer::singleShot( 3000, this, TQ_SLOT(slotShutdownTimeout()) );
}
void
@@ -256,7 +256,7 @@ PluginManager::loadAllPlugins()
}
// Schedule the plugins to load
- TQTimer::singleShot( 0, this, TQT_SLOT( slotLoadNextPlugin() ) );
+ TQTimer::singleShot( 0, this, TQ_SLOT( slotLoadNextPlugin() ) );
}
void PluginManager::slotLoadNextPlugin()
@@ -278,7 +278,7 @@ void PluginManager::slotLoadNextPlugin()
// allPluginsLoaded() signal's handling. This has the added benefit that
// the signal is delayed one event loop, so the accounts are more likely
// to be instantiated.
- TQTimer::singleShot( 0, this, TQT_SLOT( slotLoadNextPlugin() ) );
+ TQTimer::singleShot( 0, this, TQ_SLOT( slotLoadNextPlugin() ) );
}
Plugin*
@@ -289,7 +289,7 @@ PluginManager::loadPlugin( const TQString &pluginId,
return loadPluginInternal( pluginId );
} else {
d->pluginsToLoad.push( pluginId );
- TQTimer::singleShot( 0, this, TQT_SLOT( slotLoadNextPlugin() ) );
+ TQTimer::singleShot( 0, this, TQ_SLOT( slotLoadNextPlugin() ) );
return 0;
}
}
@@ -317,10 +317,10 @@ PluginManager::loadPluginInternal( const TQString &pluginId )
d->loadedPlugins.insert( info, plugin );
info->setPluginEnabled( true );
- connect( plugin, TQT_SIGNAL(destroyed(TQObject*)),
- this, TQT_SLOT(slotPluginDestroyed(TQObject*)) );
- connect( plugin, TQT_SIGNAL(readyForUnload()),
- this, TQT_SLOT(slotPluginReadyForUnload()) );
+ connect( plugin, TQ_SIGNAL(destroyed(TQObject*)),
+ this, TQ_SLOT(slotPluginDestroyed(TQObject*)) );
+ connect( plugin, TQ_SIGNAL(readyForUnload()),
+ this, TQ_SLOT(slotPluginReadyForUnload()) );
kdDebug() << k_funcinfo << "Successfully loaded plugin '"
<< pluginId << "'" << endl;
@@ -396,7 +396,7 @@ PluginManager::slotPluginDestroyed( TQObject *plugin )
{
// Use a timer to make sure any pending deleteLater() calls have
// been handled first
- TQTimer::singleShot( 0, this, TQT_SLOT(slotShutdownDone()) );
+ TQTimer::singleShot( 0, this, TQ_SLOT(slotShutdownDone()) );
}
}
diff --git a/libtdepim/komposer/core/pluginmanager.h b/libtdepim/komposer/core/pluginmanager.h
index d9366b3f..b4a16f8e 100644
--- a/libtdepim/komposer/core/pluginmanager.h
+++ b/libtdepim/komposer/core/pluginmanager.h
@@ -38,7 +38,7 @@ namespace Komposer
class PluginManager : public TQObject
{
- Q_OBJECT
+ TQ_OBJECT
public:
diff --git a/libtdepim/komposer/core/prefsmodule.cpp b/libtdepim/komposer/core/prefsmodule.cpp
index abacd0eb..ce21e222 100644
--- a/libtdepim/komposer/core/prefsmodule.cpp
+++ b/libtdepim/komposer/core/prefsmodule.cpp
@@ -35,7 +35,7 @@
extern "C"
{
- KDE_EXPORT TDECModule *create_komposerconfig( TQWidget *parent, const char * ) {
+ TDE_EXPORT TDECModule *create_komposerconfig( TQWidget *parent, const char * ) {
return new Komposer::PrefsModule( parent, "komposerprefs" );
}
}
@@ -81,8 +81,8 @@ EditorSelection::EditorSelection( const TQString &text, TQString &reference,
m_editorsCombo = new KComboBox( m_box );
boxLayout->addWidget( m_editorsCombo );
- connect( m_editorsCombo, TQT_SIGNAL(activated(const TQString&)),
- TQT_SLOT(slotActivated(const TQString&)) );
+ connect( m_editorsCombo, TQ_SIGNAL(activated(const TQString&)),
+ TQ_SLOT(slotActivated(const TQString&)) );
}
EditorSelection::~EditorSelection()
diff --git a/libtdepim/komposer/core/prefsmodule.h b/libtdepim/komposer/core/prefsmodule.h
index a7733019..5be0ec34 100644
--- a/libtdepim/komposer/core/prefsmodule.h
+++ b/libtdepim/komposer/core/prefsmodule.h
@@ -34,7 +34,7 @@ namespace Komposer {
class PrefsModule : public KPrefsModule
{
- Q_OBJECT
+ TQ_OBJECT
public:
PrefsModule( TQWidget *parent=0, const char *name=0 );
@@ -43,7 +43,7 @@ namespace Komposer {
class EditorSelection : public KPrefsWid
{
- Q_OBJECT
+ TQ_OBJECT
public:
diff --git a/libtdepim/komposer/core/tests/managertest.h b/libtdepim/komposer/core/tests/managertest.h
index d131f830..76de80d2 100644
--- a/libtdepim/komposer/core/tests/managertest.h
+++ b/libtdepim/komposer/core/tests/managertest.h
@@ -31,7 +31,7 @@ namespace Komposer {
class ManagerTest : public TQObject,
public Tester
{
- Q_OBJECT
+ TQ_OBJECT
public:
ManagerTest( TQObject* parent = 0 );
diff --git a/libtdepim/komposer/core/tests/testmanager.cpp b/libtdepim/komposer/core/tests/testmanager.cpp
index a690c67c..40fe5181 100644
--- a/libtdepim/komposer/core/tests/testmanager.cpp
+++ b/libtdepim/komposer/core/tests/testmanager.cpp
@@ -15,10 +15,10 @@ TestManager::TestManager( TQObject *parent )
: TQObject( parent )
{
m_manager = new PluginManager( this );
- connect( m_manager, TQT_SIGNAL(pluginLoaded(Plugin*)),
- TQT_SLOT(slotPluginLoaded(Plugin*)) );
- connect( m_manager, TQT_SIGNAL(allPluginsLoaded()),
- TQT_SLOT(slotAllPluginsLoaded()) );
+ connect( m_manager, TQ_SIGNAL(pluginLoaded(Plugin*)),
+ TQ_SLOT(slotPluginLoaded(Plugin*)) );
+ connect( m_manager, TQ_SIGNAL(allPluginsLoaded()),
+ TQ_SLOT(slotAllPluginsLoaded()) );
m_manager->loadAllPlugins();
TQValueList<KPluginInfo*> plugins = m_manager->availablePlugins();
diff --git a/libtdepim/komposer/core/tests/testmanager.h b/libtdepim/komposer/core/tests/testmanager.h
index 67c04414..73b0471b 100644
--- a/libtdepim/komposer/core/tests/testmanager.h
+++ b/libtdepim/komposer/core/tests/testmanager.h
@@ -11,7 +11,7 @@ using Komposer::Plugin;
class TestManager : public TQObject
{
- Q_OBJECT
+ TQ_OBJECT
public:
TestManager( TQObject *parent );