summaryrefslogtreecommitdiffstats
path: root/src/otrguiclient.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-30 20:09:36 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-30 20:09:36 +0000
commitc54c3c07f612a7e039b015e8a2c4d8ec9ca5e9ff (patch)
tree9252de70e029efb2850bd6ac7508e058651d07eb /src/otrguiclient.cpp
parentc99e1ecc99f459c847136f51b98d905fcb11dd26 (diff)
downloadkopete-otr-c54c3c07f612a7e039b015e8a2c4d8ec9ca5e9ff.tar.gz
kopete-otr-c54c3c07f612a7e039b015e8a2c4d8ec9ca5e9ff.zip
TQt4 port kopete-otr
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kopete-otr@1238882 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/otrguiclient.cpp')
-rw-r--r--src/otrguiclient.cpp26
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) );
}