summaryrefslogtreecommitdiffstats
path: root/kopete/plugins/cryptography/cryptographyselectuserkey.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:48:06 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:48:06 +0000
commit47c8a359c5276062c4bc17f0e82410f29081b502 (patch)
tree2d54a5f60a5b74067632f9ef6df58c2bc38155e6 /kopete/plugins/cryptography/cryptographyselectuserkey.cpp
parent6f82532777a35e0e60bbd2b290b2e93e646f349b (diff)
downloadtdenetwork-47c8a359c5276062c4bc17f0e82410f29081b502.tar.gz
tdenetwork-47c8a359c5276062c4bc17f0e82410f29081b502.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdenetwork@1157648 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kopete/plugins/cryptography/cryptographyselectuserkey.cpp')
-rw-r--r--kopete/plugins/cryptography/cryptographyselectuserkey.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/kopete/plugins/cryptography/cryptographyselectuserkey.cpp b/kopete/plugins/cryptography/cryptographyselectuserkey.cpp
index 4f1cc35e..ae92647b 100644
--- a/kopete/plugins/cryptography/cryptographyselectuserkey.cpp
+++ b/kopete/plugins/cryptography/cryptographyselectuserkey.cpp
@@ -17,8 +17,8 @@
#include <klocale.h>
#include <klineedit.h>
-#include <qpushbutton.h>
-#include <qlabel.h>
+#include <tqpushbutton.h>
+#include <tqlabel.h>
#include "cryptographyuserkey_ui.h"
#include "kopetemetacontact.h"
@@ -26,14 +26,14 @@
#include "cryptographyselectuserkey.h"
-CryptographySelectUserKey::CryptographySelectUserKey(const QString& key ,Kopete::MetaContact *mc) : KDialogBase( 0l, "CryptographySelectUserKey", /*modal = */true, i18n("Select Contact's Public Key") , KDialogBase::Ok|KDialogBase::Cancel, KDialogBase::Ok )
+CryptographySelectUserKey::CryptographySelectUserKey(const TQString& key ,Kopete::MetaContact *mc) : KDialogBase( 0l, "CryptographySelectUserKey", /*modal = */true, i18n("Select Contact's Public Key") , KDialogBase::Ok|KDialogBase::Cancel, KDialogBase::Ok )
{
m_metaContact=mc;
view = new CryptographyUserKey_ui(this,"CryptographyUserKey_ui");
setMainWidget(view);
- connect (view->m_selectKey , SIGNAL(clicked()) , this , SLOT(slotSelectPressed()));
- connect (view->m_removeButton , SIGNAL(clicked()) , this , SLOT(slotRemovePressed()));
+ connect (view->m_selectKey , TQT_SIGNAL(clicked()) , this , TQT_SLOT(slotSelectPressed()));
+ connect (view->m_removeButton , TQT_SIGNAL(clicked()) , this , TQT_SLOT(slotRemovePressed()));
view->m_titleLabel->setText(i18n("Select public key for %1").arg(mc->displayName()));
view->m_editKey->setText(key);
@@ -45,12 +45,12 @@ CryptographySelectUserKey::~CryptographySelectUserKey()
void CryptographySelectUserKey::slotSelectPressed()
{
popupPublic *dialog=new popupPublic(this, "public_keys", 0,false);
- connect(dialog,SIGNAL(selectedKey(QString &,QString,bool,bool)),this,SLOT(keySelected(QString &)));
+ connect(dialog,TQT_SIGNAL(selectedKey(TQString &,TQString,bool,bool)),this,TQT_SLOT(keySelected(TQString &)));
dialog->show();
}
-void CryptographySelectUserKey::keySelected(QString &key)
+void CryptographySelectUserKey::keySelected(TQString &key)
{
view->m_editKey->setText(key);
}
@@ -60,7 +60,7 @@ void CryptographySelectUserKey::slotRemovePressed()
view->m_editKey->setText("");
}
-QString CryptographySelectUserKey::publicKey() const
+TQString CryptographySelectUserKey::publicKey() const
{
return view->m_editKey->text();
}