|
|
@ -39,8 +39,8 @@
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
OtrGUIClient::OtrGUIClient( Kopete::ChatSession *tqparent, const char *name )
|
|
|
|
OtrGUIClient::OtrGUIClient( Kopete::ChatSession *parent, const char *name )
|
|
|
|
: TQObject( tqparent, name ), KXMLGUIClient( tqparent )
|
|
|
|
: TQObject( parent, name ), KXMLGUIClient( parent )
|
|
|
|
{
|
|
|
|
{
|
|
|
|
setInstance( OTRPlugin::plugin()->instance() );
|
|
|
|
setInstance( OTRPlugin::plugin()->instance() );
|
|
|
|
|
|
|
|
|
|
|
@ -57,7 +57,7 @@ OtrGUIClient::OtrGUIClient( Kopete::ChatSession *tqparent, const char *name )
|
|
|
|
|
|
|
|
|
|
|
|
connect( this, TQT_SIGNAL( signalVerifyFingerprint( Kopete::ChatSession * ) ), OTRPlugin::plugin(), TQT_SLOT(slotVerifyFingerprint( Kopete::ChatSession * )) );
|
|
|
|
connect( this, TQT_SIGNAL( signalVerifyFingerprint( Kopete::ChatSession * ) ), OTRPlugin::plugin(), TQT_SLOT(slotVerifyFingerprint( Kopete::ChatSession * )) );
|
|
|
|
|
|
|
|
|
|
|
|
m_manager = tqparent;
|
|
|
|
m_manager = parent;
|
|
|
|
otrActionMenu = new KActionMenu(i18n("OTR Settings"),"otr_disabled", actionCollection(), "otr_settings");
|
|
|
|
otrActionMenu = new KActionMenu(i18n("OTR Settings"),"otr_disabled", actionCollection(), "otr_settings");
|
|
|
|
otrActionMenu->setDelayed( false );
|
|
|
|
otrActionMenu->setDelayed( false );
|
|
|
|
actionEnableOtr = new KAction(i18n( "Start OTR session" ), "otr_private", 0,this,TQT_SLOT(slotEnableOtr()),actionCollection(), "enable_otr");
|
|
|
|
actionEnableOtr = new KAction(i18n( "Start OTR session" ), "otr_private", 0,this,TQT_SLOT(slotEnableOtr()),actionCollection(), "enable_otr");
|
|
|
@ -70,7 +70,7 @@ OtrGUIClient::OtrGUIClient( Kopete::ChatSession *tqparent, const char *name )
|
|
|
|
|
|
|
|
|
|
|
|
setXMLFile("otrchatui.rc");
|
|
|
|
setXMLFile("otrchatui.rc");
|
|
|
|
|
|
|
|
|
|
|
|
encryptionEnabled( tqparent, OtrlChatInterface::self()->privState(tqparent) );
|
|
|
|
encryptionEnabled( parent, OtrlChatInterface::self()->privState(parent) );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|