|
|
@ -68,14 +68,14 @@ OTRPlugin::OTRPlugin( TDEInstance *instance, TQObject *parent, const char *name,
|
|
|
|
|
|
|
|
|
|
|
|
m_inboundHandler = new OtrMessageHandlerFactory(this);
|
|
|
|
m_inboundHandler = new OtrMessageHandlerFactory(this);
|
|
|
|
|
|
|
|
|
|
|
|
connect( Kopete::ChatSessionManager::self(), TQT_SIGNAL( aboutToSend( Kopete::Message & ) ),
|
|
|
|
connect( Kopete::ChatSessionManager::self(), TQ_SIGNAL( aboutToSend( Kopete::Message & ) ),
|
|
|
|
TQT_SLOT( slotOutgoingMessage( Kopete::Message & ) ) );
|
|
|
|
TQ_SLOT( slotOutgoingMessage( Kopete::Message & ) ) );
|
|
|
|
// connect( Kopete::ChatSessionManager::self(), TQT_SIGNAL( aboutToDisplay( Kopete::Message & ) ),
|
|
|
|
// connect( Kopete::ChatSessionManager::self(), TQ_SIGNAL( aboutToDisplay( Kopete::Message & ) ),
|
|
|
|
// this, TQT_SLOT( slotIncomingMessage( Kopete::Message & ) ) );
|
|
|
|
// this, TQ_SLOT( slotIncomingMessage( Kopete::Message & ) ) );
|
|
|
|
|
|
|
|
|
|
|
|
connect( Kopete::ChatSessionManager::self(), TQT_SIGNAL( chatSessionCreated( Kopete::ChatSession * ) ),
|
|
|
|
connect( Kopete::ChatSessionManager::self(), TQ_SIGNAL( chatSessionCreated( Kopete::ChatSession * ) ),
|
|
|
|
this, TQT_SLOT( slotNewChatSessionWindow( Kopete::ChatSession * ) ) );
|
|
|
|
this, TQ_SLOT( slotNewChatSessionWindow( Kopete::ChatSession * ) ) );
|
|
|
|
TQObject::connect( this, TQT_SIGNAL( settingsChanged() ), this, TQT_SLOT( slotSettingsChanged() ) );
|
|
|
|
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();
|
|
|
|
fpfingerprintsbup.close();
|
|
|
|
|
|
|
|
|
|
|
|
kdDebug() << "Waiting for accounts to update keyfile format" << endl;
|
|
|
|
kdDebug() << "Waiting for accounts to update keyfile format" << endl;
|
|
|
|
connect( Kopete::AccountManager::self(), TQT_SIGNAL( accountRegistered( Kopete::Account * ) ),
|
|
|
|
connect( Kopete::AccountManager::self(), TQ_SIGNAL( accountRegistered( Kopete::Account * ) ),
|
|
|
|
this, TQT_SLOT( accountReady( Kopete::Account * ) ) );
|
|
|
|
this, TQ_SLOT( accountReady( Kopete::Account * ) ) );
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
// Checking file Permissions
|
|
|
|
// Checking file Permissions
|
|
|
@ -145,8 +145,8 @@ OTRPlugin::OTRPlugin( TDEInstance *instance, TQObject *parent, const char *name,
|
|
|
|
otrPolicyMenu->setItems( policies );
|
|
|
|
otrPolicyMenu->setItems( policies );
|
|
|
|
otrPolicyMenu->popupMenu()->insertSeparator( 1 );
|
|
|
|
otrPolicyMenu->popupMenu()->insertSeparator( 1 );
|
|
|
|
otrPolicyMenu->setEnabled( false );
|
|
|
|
otrPolicyMenu->setEnabled( false );
|
|
|
|
connect( otrPolicyMenu, TQT_SIGNAL( activated() ), this, TQT_SLOT( slotSetPolicy() ) );
|
|
|
|
connect( otrPolicyMenu, TQ_SIGNAL( activated() ), this, TQ_SLOT( slotSetPolicy() ) );
|
|
|
|
connect( Kopete::ContactList::self(), TQT_SIGNAL( metaContactSelected( bool ) ), this, TQT_SLOT( slotSelectionChanged( bool ) ) );
|
|
|
|
connect( Kopete::ContactList::self(), TQ_SIGNAL( metaContactSelected( bool ) ), this, TQ_SLOT( slotSelectionChanged( bool ) ) );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
setXMLFile( "otrui.rc" );
|
|
|
|
setXMLFile( "otrui.rc" );
|
|
|
|