diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-12-28 21:15:30 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-01-01 17:44:24 +0900 |
commit | e14ad764e72a351b46a7eb027da5c9eb476f532c (patch) | |
tree | 4574f0268338b23a6f5833e9d5543e9e4070658a /src/otrplugin.cpp | |
parent | edea0d8d7d83c5d04c98b6addc34f01a4cafc509 (diff) | |
download | kopete-otr-e14ad764e72a351b46a7eb027da5c9eb476f532c.tar.gz kopete-otr-e14ad764e72a351b46a7eb027da5c9eb476f532c.zip |
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 2a35cd2f709b2d6418b70f3ef999f204d1c48dc0)
Diffstat (limited to 'src/otrplugin.cpp')
-rw-r--r-- | src/otrplugin.cpp | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/src/otrplugin.cpp b/src/otrplugin.cpp index a78cfd5..83dc502 100644 --- a/src/otrplugin.cpp +++ b/src/otrplugin.cpp @@ -68,14 +68,14 @@ OTRPlugin::OTRPlugin( TDEInstance *instance, TQObject *parent, const char *name, m_inboundHandler = new OtrMessageHandlerFactory(this); - connect( Kopete::ChatSessionManager::self(), TQT_SIGNAL( aboutToSend( Kopete::Message & ) ), - TQT_SLOT( slotOutgoingMessage( Kopete::Message & ) ) ); -// connect( Kopete::ChatSessionManager::self(), TQT_SIGNAL( aboutToDisplay( Kopete::Message & ) ), -// this, TQT_SLOT( slotIncomingMessage( Kopete::Message & ) ) ); + connect( Kopete::ChatSessionManager::self(), TQ_SIGNAL( aboutToSend( Kopete::Message & ) ), + TQ_SLOT( slotOutgoingMessage( Kopete::Message & ) ) ); +// connect( Kopete::ChatSessionManager::self(), TQ_SIGNAL( aboutToDisplay( Kopete::Message & ) ), +// this, TQ_SLOT( slotIncomingMessage( Kopete::Message & ) ) ); - connect( Kopete::ChatSessionManager::self(), TQT_SIGNAL( chatSessionCreated( Kopete::ChatSession * ) ), - this, TQT_SLOT( slotNewChatSessionWindow( Kopete::ChatSession * ) ) ); - TQObject::connect( this, TQT_SIGNAL( settingsChanged() ), this, TQT_SLOT( slotSettingsChanged() ) ); + connect( Kopete::ChatSessionManager::self(), TQ_SIGNAL( chatSessionCreated( Kopete::ChatSession * ) ), + this, TQ_SLOT( slotNewChatSessionWindow( Kopete::ChatSession * ) ) ); + TQObject::connect( this, TQ_SIGNAL( settingsChanged() ), this, TQ_SLOT( slotSettingsChanged() ) ); @@ -124,8 +124,8 @@ OTRPlugin::OTRPlugin( TDEInstance *instance, TQObject *parent, const char *name, fpfingerprintsbup.close(); kdDebug() << "Waiting for accounts to update keyfile format" << endl; - connect( Kopete::AccountManager::self(), TQT_SIGNAL( accountRegistered( Kopete::Account * ) ), - this, TQT_SLOT( accountReady( Kopete::Account * ) ) ); + connect( Kopete::AccountManager::self(), TQ_SIGNAL( accountRegistered( Kopete::Account * ) ), + this, TQ_SLOT( accountReady( Kopete::Account * ) ) ); } // Checking file Permissions @@ -145,8 +145,8 @@ OTRPlugin::OTRPlugin( TDEInstance *instance, TQObject *parent, const char *name, otrPolicyMenu->setItems( policies ); otrPolicyMenu->popupMenu()->insertSeparator( 1 ); otrPolicyMenu->setEnabled( false ); - connect( otrPolicyMenu, TQT_SIGNAL( activated() ), this, TQT_SLOT( slotSetPolicy() ) ); - connect( Kopete::ContactList::self(), TQT_SIGNAL( metaContactSelected( bool ) ), this, TQT_SLOT( slotSelectionChanged( bool ) ) ); + connect( otrPolicyMenu, TQ_SIGNAL( activated() ), this, TQ_SLOT( slotSetPolicy() ) ); + connect( Kopete::ContactList::self(), TQ_SIGNAL( metaContactSelected( bool ) ), this, TQ_SLOT( slotSelectionChanged( bool ) ) ); setXMLFile( "otrui.rc" ); |