summaryrefslogtreecommitdiffstats
path: root/src/otrplugin.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-12-28 21:15:30 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-01-01 00:28:58 +0900
commit2a35cd2f709b2d6418b70f3ef999f204d1c48dc0 (patch)
tree4574f0268338b23a6f5833e9d5543e9e4070658a /src/otrplugin.cpp
parent7ccc4240a55bfefedfdadbedef38deb5eb0128cb (diff)
downloadkopete-otr-2a35cd2f709b2d6418b70f3ef999f204d1c48dc0.tar.gz
kopete-otr-2a35cd2f709b2d6418b70f3ef999f204d1c48dc0.zip
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'src/otrplugin.cpp')
-rw-r--r--src/otrplugin.cpp22
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" );