diff options
Diffstat (limited to 'kode/kwsdl/kung/pageinputfield.cpp')
-rw-r--r-- | kode/kwsdl/kung/pageinputfield.cpp | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/kode/kwsdl/kung/pageinputfield.cpp b/kode/kwsdl/kung/pageinputfield.cpp index 36a5b02da..956e54bfc 100644 --- a/kode/kwsdl/kung/pageinputfield.cpp +++ b/kode/kwsdl/kung/pageinputfield.cpp @@ -19,14 +19,14 @@ Boston, MA 02110-1301, USA. */ -#include <qlabel.h> -#include <qlayout.h> +#include <tqlabel.h> +#include <tqlayout.h> #include "inputfieldfactory.h" #include "pageinputfield.h" -PageInputField::PageInputField( const QString &name, const KWSDL::Message &message ) +PageInputField::PageInputField( const TQString &name, const KWSDL::Message &message ) : InputField( name ), mMessage( message ) { @@ -42,16 +42,16 @@ PageInputField::PageInputField( const QString &name, const KWSDL::Message &messa } } -void PageInputField::setXMLData( const QDomElement &element ) +void PageInputField::setXMLData( const TQDomElement &element ) { if ( mName != element.tagName() ) { qDebug( "PageInputField: Wrong dom element passed: expected %s, got %s", mName.latin1(), element.tagName().latin1() ); return; } - QDomNode node = element.firstChild(); + TQDomNode node = element.firstChild(); while ( !node.isNull() ) { - QDomElement child = node.toElement(); + TQDomElement child = node.toElement(); if ( !child.isNull() ) { InputField *field = childField( child.tagName() ); if ( !field ) { @@ -65,9 +65,9 @@ void PageInputField::setXMLData( const QDomElement &element ) } } -void PageInputField::xmlData( QDomDocument &document, QDomElement &parent ) +void PageInputField::xmlData( TQDomDocument &document, TQDomElement &parent ) { - QDomElement element = document.createElement( "ns1:" + mName ); + TQDomElement element = document.createElement( "ns1:" + mName ); InputField::List::Iterator it; for ( it = mFields.begin(); it != mFields.end(); ++it ) @@ -76,24 +76,24 @@ void PageInputField::xmlData( QDomDocument &document, QDomElement &parent ) parent.appendChild( element ); } -void PageInputField::setData( const QString& ) +void PageInputField::setData( const TQString& ) { } -QString PageInputField::data() const +TQString PageInputField::data() const { - return QString(); + return TQString(); } -QWidget *PageInputField::createWidget( QWidget *parent ) +TQWidget *PageInputField::createWidget( TQWidget *parent ) { - QWidget *mInputWidget = new QWidget( parent, "PageInputWidget" ); - QGridLayout *layout = new QGridLayout( mInputWidget, 2, 2, 11, 6 ); + TQWidget *mInputWidget = new TQWidget( parent, "PageInputWidget" ); + TQGridLayout *layout = new TQGridLayout( mInputWidget, 2, 2, 11, 6 ); InputField::List::Iterator it; int row = 0; for ( it = mFields.begin(); it != mFields.end(); ++it, ++row ) { - QLabel *label = new QLabel( (*it)->name(), mInputWidget ); + TQLabel *label = new TQLabel( (*it)->name(), mInputWidget ); label->setAlignment( Qt::AlignTop ); layout->addWidget( label, row, 0 ); layout->addWidget( (*it)->createWidget( mInputWidget ), row, 1 ); |