diff options
Diffstat (limited to 'kopete/protocols/jabber/jabberformtranslator.cpp')
-rw-r--r-- | kopete/protocols/jabber/jabberformtranslator.cpp | 20 |
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 (); |