diff options
Diffstat (limited to 'src/otrguiclient.cpp')
-rw-r--r-- | src/otrguiclient.cpp | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/src/otrguiclient.cpp b/src/otrguiclient.cpp index 544ae94..00d36e3 100644 --- a/src/otrguiclient.cpp +++ b/src/otrguiclient.cpp @@ -39,30 +39,30 @@ */ -OtrGUIClient::OtrGUIClient( Kopete::ChatSession *parent, const char *name ) -: QObject( parent, name ), KXMLGUIClient( parent ) +OtrGUIClient::OtrGUIClient( Kopete::ChatSession *tqparent, const char *name ) +: TQObject( tqparent, name ), KXMLGUIClient( tqparent ) { setInstance( OTRPlugin::plugin()->instance() ); connect( OTRPlugin::plugin(), - SIGNAL( destroyed( QObject * ) ), this, - SLOT( deleteLater() ) + TQT_SIGNAL( destroyed( TQObject * ) ), this, + TQT_SLOT( deleteLater() ) ); - connect(this, SIGNAL( signalOtrChatsession(Kopete::ChatSession*, bool) ), OTRPlugin::plugin(), SLOT(slotEnableOtr(Kopete::ChatSession*, bool))); + connect(this, TQT_SIGNAL( signalOtrChatsession(Kopete::ChatSession*, bool) ), OTRPlugin::plugin(), TQT_SLOT(slotEnableOtr(Kopete::ChatSession*, bool))); - connect( OTRPlugin::plugin(), SIGNAL( goneSecure( Kopete::ChatSession *, int ) ), - this, SLOT( encryptionEnabled( Kopete::ChatSession *, int ) ) ); + connect( OTRPlugin::plugin(), TQT_SIGNAL( goneSecure( Kopete::ChatSession *, int ) ), + this, TQT_SLOT( encryptionEnabled( Kopete::ChatSession *, int ) ) ); - connect( this, SIGNAL( signalVerifyFingerprint( Kopete::ChatSession * ) ), OTRPlugin::plugin(), SLOT(slotVerifyFingerprint( Kopete::ChatSession * )) ); + connect( this, TQT_SIGNAL( signalVerifyFingerprint( Kopete::ChatSession * ) ), OTRPlugin::plugin(), TQT_SLOT(slotVerifyFingerprint( Kopete::ChatSession * )) ); - m_manager = parent; + m_manager = tqparent; otrActionMenu = new KActionMenu(i18n("OTR Settings"),"otr_disabled", actionCollection(), "otr_settings"); otrActionMenu->setDelayed( false ); - actionEnableOtr = new KAction(i18n( "Start OTR session" ), "otr_private", 0,this,SLOT(slotEnableOtr()),actionCollection(), "enable_otr"); - actionDisableOtr = new KAction(i18n("End OTR session"), "otr_disabled",0, this,SLOT(slotDisableOtr()), actionCollection(), "disable_otr"); - actionVerifyFingerprint = new KAction(i18n("Authenticate Contact"), "signature",0, this,SLOT(slotVerifyFingerprint()), actionCollection(), "verify_fingerprint"); + actionEnableOtr = new KAction(i18n( "Start OTR session" ), "otr_private", 0,this,TQT_SLOT(slotEnableOtr()),actionCollection(), "enable_otr"); + actionDisableOtr = new KAction(i18n("End OTR session"), "otr_disabled",0, this,TQT_SLOT(slotDisableOtr()), actionCollection(), "disable_otr"); + actionVerifyFingerprint = new KAction(i18n("Authenticate Contact"), "signature",0, this,TQT_SLOT(slotVerifyFingerprint()), actionCollection(), "verify_fingerprint"); otrActionMenu->insert(actionEnableOtr); otrActionMenu->insert(actionDisableOtr); @@ -70,7 +70,7 @@ OtrGUIClient::OtrGUIClient( Kopete::ChatSession *parent, const char *name ) setXMLFile("otrchatui.rc"); - encryptionEnabled( parent, OtrlChatInterface::self()->privState(parent) ); + encryptionEnabled( tqparent, OtrlChatInterface::self()->privState(tqparent) ); } |