summaryrefslogtreecommitdiffstats
path: root/kopete/protocols/jabber/ui/dlgjabberregister.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kopete/protocols/jabber/ui/dlgjabberregister.cpp')
-rw-r--r--kopete/protocols/jabber/ui/dlgjabberregister.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/kopete/protocols/jabber/ui/dlgjabberregister.cpp b/kopete/protocols/jabber/ui/dlgjabberregister.cpp
index e16b5652..ff324085 100644
--- a/kopete/protocols/jabber/ui/dlgjabberregister.cpp
+++ b/kopete/protocols/jabber/ui/dlgjabberregister.cpp
@@ -16,7 +16,7 @@
* *
***************************************************************************/
-#include <qpushbutton.h>
+#include <tqpushbutton.h>
#include <kmessagebox.h>
#include <klocale.h>
@@ -26,13 +26,13 @@
#include "jabberclient.h"
#include "dlgjabberregister.h"
-dlgJabberRegister::dlgJabberRegister (JabberAccount *account, const XMPP::Jid & jid, QWidget * parent, const char *name):dlgRegister (parent, name)
+dlgJabberRegister::dlgJabberRegister (JabberAccount *account, const XMPP::Jid & jid, TQWidget * parent, const char *name):dlgRegister (parent, name)
{
m_account = account;
XMPP::JT_Register * task = new XMPP::JT_Register(m_account->client()->rootTask ());
- connect (task, SIGNAL (finished ()), this, SLOT (slotGotForm ()));
+ connect (task, TQT_SIGNAL (finished ()), this, TQT_SLOT (slotGotForm ()));
task->getForm (jid);
task->go (true);
@@ -59,14 +59,14 @@ void dlgJabberRegister::slotGotForm ()
// translate the form and create it inside the box widget
translator = new JabberFormTranslator (task->form (), grpForm);
- static_cast<QBoxLayout*>(grpForm->layout())->insertWidget(1, translator);
+ static_cast<TQBoxLayout*>(grpForm->layout())->insertWidget(1, translator);
translator->show();
resize(sizeHint());
// enable the send button
btnRegister->setEnabled (true);
- connect (btnRegister, SIGNAL (clicked ()), this, SLOT (slotSendForm ()));
+ connect (btnRegister, TQT_SIGNAL (clicked ()), this, TQT_SLOT (slotSendForm ()));
}
@@ -76,7 +76,7 @@ void dlgJabberRegister::slotSendForm ()
return;
XMPP::JT_Register * task = new XMPP::JT_Register (m_account->client()->rootTask ());
- connect (task, SIGNAL (finished ()), this, SLOT (slotSentForm ()));
+ connect (task, TQT_SIGNAL (finished ()), this, TQT_SLOT (slotSentForm ()));
task->setForm (translator->resultData ());
task->go (true);