summaryrefslogtreecommitdiffstats
path: root/kopete/protocols/jabber/jabberformtranslator.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/protocols/jabber/jabberformtranslator.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/protocols/jabber/jabberformtranslator.cpp')
-rw-r--r--kopete/protocols/jabber/jabberformtranslator.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/kopete/protocols/jabber/jabberformtranslator.cpp b/kopete/protocols/jabber/jabberformtranslator.cpp
index fe6ec230..3344f802 100644
--- a/kopete/protocols/jabber/jabberformtranslator.cpp
+++ b/kopete/protocols/jabber/jabberformtranslator.cpp
@@ -15,14 +15,14 @@
* *************************************************************************
*/
-#include <qlabel.h>
+#include <tqlabel.h>
#include <kdebug.h>
#include "jabberformlineedit.h"
#include "jabberformtranslator.h"
-JabberFormTranslator::JabberFormTranslator (const XMPP::Form & form, QWidget * parent, const char *name):QWidget (parent, name)
+JabberFormTranslator::JabberFormTranslator (const XMPP::Form & form, TQWidget * parent, const char *name):TQWidget (parent, name)
{
/* Copy basic form values. */
privForm.setJid (form.jid ());
@@ -32,16 +32,16 @@ JabberFormTranslator::JabberFormTranslator (const XMPP::Form & form, QWidget * p
emptyForm = privForm;
/* Add instructions to layout. */
- QVBoxLayout *innerLayout = new QVBoxLayout (this, 0, 4);
+ TQVBoxLayout *innerLayout = new TQVBoxLayout (this, 0, 4);
- QLabel *label = new QLabel (form.instructions (), this, "InstructionLabel");
- label->setAlignment (int (QLabel::WordBreak | QLabel::AlignVCenter));
- label->setSizePolicy(QSizePolicy::Minimum,QSizePolicy::Fixed, true);
+ TQLabel *label = new TQLabel (form.instructions (), this, "InstructionLabel");
+ label->setAlignment (int (TQLabel::WordBreak | TQLabel::AlignVCenter));
+ label->setSizePolicy(TQSizePolicy::Minimum,TQSizePolicy::Fixed, true);
label->show ();
innerLayout->addWidget (label, 0);
- QGridLayout *formLayout = new QGridLayout (innerLayout, form.count (), 2);
+ TQGridLayout *formLayout = new TQGridLayout (innerLayout, form.count (), 2);
int row = 1;
XMPP::Form::const_iterator formEnd = form.end ();
@@ -50,11 +50,11 @@ JabberFormTranslator::JabberFormTranslator (const XMPP::Form & form, QWidget * p
kdDebug (14130) << "[JabberFormTranslator] Adding field realName()==" <<
(*it).realName () << ", fieldName()==" << (*it).fieldName () << " to the dialog" << endl;
- label = new QLabel ((*it).fieldName (), this, (*it).fieldName ().latin1 ());
+ label = new TQLabel ((*it).fieldName (), this, (*it).fieldName ().latin1 ());
formLayout->addWidget (label, row, 0);
label->show ();
- QLineEdit *edit;
+ TQLineEdit *edit;
if ((*it).type() == XMPP::FormField::password)
{
edit = new JabberFormPasswordEdit((*it).type (), (*it).realName (), (*it).value (), this);
@@ -67,7 +67,7 @@ JabberFormTranslator::JabberFormTranslator (const XMPP::Form & form, QWidget * p
formLayout->addWidget (edit, row, 1);
edit->show ();
- connect (this, SIGNAL (gatherData (XMPP::Form &)), edit, SLOT (slotGatherData (XMPP::Form &)));
+ connect (this, TQT_SIGNAL (gatherData (XMPP::Form &)), edit, TQT_SLOT (slotGatherData (XMPP::Form &)));
}
innerLayout->addStretch ();