diff options
Diffstat (limited to 'kode/kwsdl/kung')
29 files changed, 86 insertions, 86 deletions
diff --git a/kode/kwsdl/kung/binaryinputfield.cpp b/kode/kwsdl/kung/binaryinputfield.cpp index ef7988125..8d897c4c5 100644 --- a/kode/kwsdl/kung/binaryinputfield.cpp +++ b/kode/kwsdl/kung/binaryinputfield.cpp @@ -55,14 +55,14 @@ void BinaryInputField::setXMLData( const TQDomElement &element ) setData( element.text() ); } -void BinaryInputField::xmlData( TQDomDocument &document, TQDomElement &tqparent ) +void BinaryInputField::xmlData( TQDomDocument &document, TQDomElement &parent ) { TQDomElement element = document.createElement( mName ); element.setAttribute( "xsi:type", "xsd:" + mTypeName ); TQDomText text = document.createTextNode( data() ); element.appendChild( text ); - tqparent.appendChild( element ); + parent.appendChild( element ); } void BinaryInputField::setData( const TQString &data ) @@ -76,9 +76,9 @@ TQString BinaryInputField::data() const return TQString::fromUtf8( data.data(), data.size() ); } -TQWidget *BinaryInputField::createWidget( TQWidget *tqparent ) +TQWidget *BinaryInputField::createWidget( TQWidget *parent ) { - mInputWidget = new BinaryWidget( tqparent ); + mInputWidget = new BinaryWidget( parent ); if ( !mValue.isEmpty() ) mInputWidget->setData( mValue ); @@ -94,8 +94,8 @@ void BinaryInputField::valueChanged( const TQByteArray &value ) } -BinaryWidget::BinaryWidget( TQWidget *tqparent ) - : TQWidget( tqparent, "BinaryWidget" ), +BinaryWidget::BinaryWidget( TQWidget *parent ) + : TQWidget( parent, "BinaryWidget" ), mMainWidget( 0 ) { mLayout = new TQGridLayout( this, 3, 2, 11, 6 ); diff --git a/kode/kwsdl/kung/binaryinputfield.h b/kode/kwsdl/kung/binaryinputfield.h index ad586f5d9..636b6a248 100644 --- a/kode/kwsdl/kung/binaryinputfield.h +++ b/kode/kwsdl/kung/binaryinputfield.h @@ -39,12 +39,12 @@ class BinaryInputField : public SimpleInputField BinaryInputField( const TQString &name, const TQString &typeName, const Schema::SimpleType *type ); virtual void setXMLData( const TQDomElement &element ); - virtual void xmlData( TQDomDocument &document, TQDomElement &tqparent ); + virtual void xmlData( TQDomDocument &document, TQDomElement &parent ); virtual void setData( const TQString &data ); virtual TQString data() const; - virtual TQWidget *createWidget( TQWidget *tqparent ); + virtual TQWidget *createWidget( TQWidget *parent ); private slots: void valueChanged( const TQByteArray &value ); @@ -62,7 +62,7 @@ class BinaryWidget : public TQWidget TQ_OBJECT public: - BinaryWidget( TQWidget *tqparent ); + BinaryWidget( TQWidget *parent ); void setData( const TQByteArray &data ); diff --git a/kode/kwsdl/kung/boolinputfield.cpp b/kode/kwsdl/kung/boolinputfield.cpp index c05df02b1..e3eb3eef1 100644 --- a/kode/kwsdl/kung/boolinputfield.cpp +++ b/kode/kwsdl/kung/boolinputfield.cpp @@ -39,14 +39,14 @@ void BoolInputField::setXMLData( const TQDomElement &element ) setData( element.text() ); } -void BoolInputField::xmlData( TQDomDocument &document, TQDomElement &tqparent ) +void BoolInputField::xmlData( TQDomDocument &document, TQDomElement &parent ) { TQDomElement element = document.createElement( mName ); element.setAttribute( "xsi:type", "xsd:boolean" ); TQDomText text = document.createTextNode( data() ); element.appendChild( text ); - tqparent.appendChild( element ); + parent.appendChild( element ); } void BoolInputField::setData( const TQString &data ) @@ -59,9 +59,9 @@ TQString BoolInputField::data() const return ( mValue ? "true" : "false" ); } -TQWidget *BoolInputField::createWidget( TQWidget *tqparent ) +TQWidget *BoolInputField::createWidget( TQWidget *parent ) { - mInputWidget = new TQCheckBox( tqparent ); + mInputWidget = new TQCheckBox( parent ); mInputWidget->setChecked( mValue ); diff --git a/kode/kwsdl/kung/boolinputfield.h b/kode/kwsdl/kung/boolinputfield.h index c48ca96be..c2cda0c85 100644 --- a/kode/kwsdl/kung/boolinputfield.h +++ b/kode/kwsdl/kung/boolinputfield.h @@ -37,12 +37,12 @@ class BoolInputField : public SimpleInputField BoolInputField( const TQString &name, const Schema::SimpleType *type ); virtual void setXMLData( const TQDomElement &element ); - virtual void xmlData( TQDomDocument &document, TQDomElement &tqparent ); + virtual void xmlData( TQDomDocument &document, TQDomElement &parent ); virtual void setData( const TQString &data ); virtual TQString data() const; - virtual TQWidget *createWidget( TQWidget *tqparent ); + virtual TQWidget *createWidget( TQWidget *parent ); private slots: void inputChanged( bool ); diff --git a/kode/kwsdl/kung/complexbaseinputfield.cpp b/kode/kwsdl/kung/complexbaseinputfield.cpp index 30662690b..bfcd375e2 100644 --- a/kode/kwsdl/kung/complexbaseinputfield.cpp +++ b/kode/kwsdl/kung/complexbaseinputfield.cpp @@ -99,7 +99,7 @@ void ComplexBaseInputField::setXMLData( const TQDomElement &element ) } } -void ComplexBaseInputField::xmlData( TQDomDocument &document, TQDomElement &tqparent ) +void ComplexBaseInputField::xmlData( TQDomDocument &document, TQDomElement &parent ) { TQDomElement element = document.createElement( mName ); @@ -125,7 +125,7 @@ void ComplexBaseInputField::xmlData( TQDomDocument &document, TQDomElement &tqpa } } - tqparent.appendChild( element ); + parent.appendChild( element ); } void ComplexBaseInputField::setData( const TQString& ) @@ -137,9 +137,9 @@ TQString ComplexBaseInputField::data() const return TQString(); } -TQWidget *ComplexBaseInputField::createWidget( TQWidget *tqparent ) +TQWidget *ComplexBaseInputField::createWidget( TQWidget *parent ) { - TQGroupBox *inputWidget = new TQGroupBox( mName, tqparent ); + TQGroupBox *inputWidget = new TQGroupBox( mName, parent ); inputWidget->setColumnLayout( 0, TQt::Horizontal ); TQGridLayout *tqlayout = new TQGridLayout( inputWidget->tqlayout(), 2, 2, 6 ); diff --git a/kode/kwsdl/kung/complexbaseinputfield.h b/kode/kwsdl/kung/complexbaseinputfield.h index f47c6d044..9fc47dbc7 100644 --- a/kode/kwsdl/kung/complexbaseinputfield.h +++ b/kode/kwsdl/kung/complexbaseinputfield.h @@ -30,12 +30,12 @@ class ComplexBaseInputField : public ComplexInputField ComplexBaseInputField( const TQString &name, const Schema::ComplexType *type ); virtual void setXMLData( const TQDomElement &element ); - virtual void xmlData( TQDomDocument &document, TQDomElement &tqparent ); + virtual void xmlData( TQDomDocument &document, TQDomElement &parent ); virtual void setData( const TQString &data ); virtual TQString data() const; - virtual TQWidget *createWidget( TQWidget *tqparent ); + virtual TQWidget *createWidget( TQWidget *parent ); }; #endif diff --git a/kode/kwsdl/kung/dateinputfield.cpp b/kode/kwsdl/kung/dateinputfield.cpp index ffb9af7a1..d49c19472 100644 --- a/kode/kwsdl/kung/dateinputfield.cpp +++ b/kode/kwsdl/kung/dateinputfield.cpp @@ -39,14 +39,14 @@ void DateInputField::setXMLData( const TQDomElement &element ) setData( element.text() ); } -void DateInputField::xmlData( TQDomDocument &document, TQDomElement &tqparent ) +void DateInputField::xmlData( TQDomDocument &document, TQDomElement &parent ) { TQDomElement element = document.createElement( mName ); element.setAttribute( "xsi:type", "xsd:date" ); TQDomText text = document.createTextNode( data() ); element.appendChild( text ); - tqparent.appendChild( element ); + parent.appendChild( element ); } void DateInputField::setData( const TQString &data ) @@ -59,9 +59,9 @@ TQString DateInputField::data() const return mValue.toString( TQt::ISODate ); } -TQWidget *DateInputField::createWidget( TQWidget *tqparent ) +TQWidget *DateInputField::createWidget( TQWidget *parent ) { - mInputWidget = new KDatePicker( tqparent ); + mInputWidget = new KDatePicker( parent ); mInputWidget->setDate( mValue ); diff --git a/kode/kwsdl/kung/dateinputfield.h b/kode/kwsdl/kung/dateinputfield.h index 8dcd0f89f..082bb5626 100644 --- a/kode/kwsdl/kung/dateinputfield.h +++ b/kode/kwsdl/kung/dateinputfield.h @@ -38,12 +38,12 @@ class DateInputField : public SimpleInputField DateInputField( const TQString &name, const Schema::SimpleType *type ); virtual void setXMLData( const TQDomElement &element ); - virtual void xmlData( TQDomDocument &document, TQDomElement &tqparent ); + virtual void xmlData( TQDomDocument &document, TQDomElement &parent ); virtual void setData( const TQString &data ); virtual TQString data() const; - virtual TQWidget *createWidget( TQWidget *tqparent ); + virtual TQWidget *createWidget( TQWidget *parent ); private slots: void inputChanged( TQDate ); diff --git a/kode/kwsdl/kung/doubleinputfield.cpp b/kode/kwsdl/kung/doubleinputfield.cpp index d1ffdd277..78f73bcd6 100644 --- a/kode/kwsdl/kung/doubleinputfield.cpp +++ b/kode/kwsdl/kung/doubleinputfield.cpp @@ -41,14 +41,14 @@ void DoubleInputField::setXMLData( const TQDomElement &element ) setData( element.text() ); } -void DoubleInputField::xmlData( TQDomDocument &document, TQDomElement &tqparent ) +void DoubleInputField::xmlData( TQDomDocument &document, TQDomElement &parent ) { TQDomElement element = document.createElement( mName ); element.setAttribute( "xsi:type", "xsd:" + mTypeName ); TQDomText text = document.createTextNode( data() ); element.appendChild( text ); - tqparent.appendChild( element ); + parent.appendChild( element ); } void DoubleInputField::setData( const TQString &data ) @@ -61,9 +61,9 @@ TQString DoubleInputField::data() const return TQString::number( mValue ); } -TQWidget *DoubleInputField::createWidget( TQWidget *tqparent ) +TQWidget *DoubleInputField::createWidget( TQWidget *parent ) { - mInputWidget = new KDoubleSpinBox( tqparent ); + mInputWidget = new KDoubleSpinBox( parent ); if ( mType ) { if ( mType->facetType() & Schema::SimpleType::MININC ) diff --git a/kode/kwsdl/kung/doubleinputfield.h b/kode/kwsdl/kung/doubleinputfield.h index 78f72cd6c..93f3a012c 100644 --- a/kode/kwsdl/kung/doubleinputfield.h +++ b/kode/kwsdl/kung/doubleinputfield.h @@ -37,12 +37,12 @@ class DoubleInputField : public SimpleInputField DoubleInputField( const TQString &name, const TQString &typeName, const Schema::SimpleType *type ); virtual void setXMLData( const TQDomElement &element ); - virtual void xmlData( TQDomDocument &document, TQDomElement &tqparent ); + virtual void xmlData( TQDomDocument &document, TQDomElement &parent ); virtual void setData( const TQString &data ); virtual TQString data() const; - virtual TQWidget *createWidget( TQWidget *tqparent ); + virtual TQWidget *createWidget( TQWidget *parent ); private slots: void inputChanged( double ); diff --git a/kode/kwsdl/kung/enuminputfield.cpp b/kode/kwsdl/kung/enuminputfield.cpp index 5d3fcf087..f290803b6 100644 --- a/kode/kwsdl/kung/enuminputfield.cpp +++ b/kode/kwsdl/kung/enuminputfield.cpp @@ -43,14 +43,14 @@ void EnumInputField::setXMLData( const TQDomElement &element ) setData( element.text() ); } -void EnumInputField::xmlData( TQDomDocument &document, TQDomElement &tqparent ) +void EnumInputField::xmlData( TQDomDocument &document, TQDomElement &parent ) { TQDomElement element = document.createElement( mName ); element.setAttribute( "xsi:type", "xsd:string" ); TQDomText text = document.createTextNode( data() ); element.appendChild( text ); - tqparent.appendChild( element ); + parent.appendChild( element ); } void EnumInputField::setData( const TQString &data ) @@ -63,9 +63,9 @@ TQString EnumInputField::data() const return mValue; } -TQWidget *EnumInputField::createWidget( TQWidget *tqparent ) +TQWidget *EnumInputField::createWidget( TQWidget *parent ) { - mInputWidget = new KComboBox( tqparent ); + mInputWidget = new KComboBox( parent ); mInputWidget->insertStringList( mEnums ); mInputWidget->setCurrentItem( mEnums.findIndex( mValue ) ); diff --git a/kode/kwsdl/kung/enuminputfield.h b/kode/kwsdl/kung/enuminputfield.h index 91d2b19fb..36bb101fe 100644 --- a/kode/kwsdl/kung/enuminputfield.h +++ b/kode/kwsdl/kung/enuminputfield.h @@ -37,12 +37,12 @@ class EnumInputField : public SimpleInputField EnumInputField( const TQString &name, const Schema::SimpleType *type ); virtual void setXMLData( const TQDomElement &element ); - virtual void xmlData( TQDomDocument &document, TQDomElement &tqparent ); + virtual void xmlData( TQDomDocument &document, TQDomElement &parent ); virtual void setData( const TQString &data ); virtual TQString data() const; - virtual TQWidget *createWidget( TQWidget *tqparent ); + virtual TQWidget *createWidget( TQWidget *parent ); private slots: void inputChanged( int ); diff --git a/kode/kwsdl/kung/inputdialog.cpp b/kode/kwsdl/kung/inputdialog.cpp index dc1a711c8..17aa601b0 100644 --- a/kode/kwsdl/kung/inputdialog.cpp +++ b/kode/kwsdl/kung/inputdialog.cpp @@ -23,8 +23,8 @@ #include "inputdialog.h" -InputDialog::InputDialog( TQWidget *page, TQWidget *tqparent ) - : KDialogBase( Swallow, "", Ok | Cancel, Ok, tqparent, "", true, true ) +InputDialog::InputDialog( TQWidget *page, TQWidget *parent ) + : KDialogBase( Swallow, "", Ok | Cancel, Ok, parent, "", true, true ) { setMainWidget( page ); diff --git a/kode/kwsdl/kung/inputdialog.h b/kode/kwsdl/kung/inputdialog.h index fbefe4d1a..b592545b7 100644 --- a/kode/kwsdl/kung/inputdialog.h +++ b/kode/kwsdl/kung/inputdialog.h @@ -27,7 +27,7 @@ class InputDialog : public KDialogBase { public: - InputDialog( TQWidget *page, TQWidget *tqparent ); + InputDialog( TQWidget *page, TQWidget *parent ); }; #endif diff --git a/kode/kwsdl/kung/inputfield.h b/kode/kwsdl/kung/inputfield.h index 100cc4bb4..4b05044bd 100644 --- a/kode/kwsdl/kung/inputfield.h +++ b/kode/kwsdl/kung/inputfield.h @@ -68,7 +68,7 @@ class InputField : public TQObject /** Returns the xml value of this field. */ - virtual void xmlData( TQDomDocument &document, TQDomElement &tqparent ) = 0; + virtual void xmlData( TQDomDocument &document, TQDomElement &parent ) = 0; /** Sets the plain data of this field as string. @@ -84,7 +84,7 @@ class InputField : public TQObject Returns a pointer to a new created input widget which can be used to to modify the value. */ - virtual TQWidget *createWidget( TQWidget *tqparent ) = 0; + virtual TQWidget *createWidget( TQWidget *parent ) = 0; /** Add a child field. diff --git a/kode/kwsdl/kung/integerinputfield.cpp b/kode/kwsdl/kung/integerinputfield.cpp index 9db5c40a8..022ec0d84 100644 --- a/kode/kwsdl/kung/integerinputfield.cpp +++ b/kode/kwsdl/kung/integerinputfield.cpp @@ -43,14 +43,14 @@ void IntegerInputField::setXMLData( const TQDomElement &element ) setData( element.text() ); } -void IntegerInputField::xmlData( TQDomDocument &document, TQDomElement &tqparent ) +void IntegerInputField::xmlData( TQDomDocument &document, TQDomElement &parent ) { TQDomElement element = document.createElement( mName ); element.setAttribute( "xsi:type", "xsd:" + mTypeName ); TQDomText text = document.createTextNode( data() ); element.appendChild( text ); - tqparent.appendChild( element ); + parent.appendChild( element ); } void IntegerInputField::setData( const TQString &data ) @@ -63,9 +63,9 @@ TQString IntegerInputField::data() const return TQString::number( mValue ); } -TQWidget *IntegerInputField::createWidget( TQWidget *tqparent ) +TQWidget *IntegerInputField::createWidget( TQWidget *parent ) { - mInputWidget = new KIntSpinBox( tqparent ); + mInputWidget = new KIntSpinBox( parent ); // basic restrictions if ( mTypeName == "byte" ) { diff --git a/kode/kwsdl/kung/integerinputfield.h b/kode/kwsdl/kung/integerinputfield.h index bf6e61ed6..2ffeb1ec5 100644 --- a/kode/kwsdl/kung/integerinputfield.h +++ b/kode/kwsdl/kung/integerinputfield.h @@ -37,12 +37,12 @@ class IntegerInputField : public SimpleInputField IntegerInputField( const TQString &name, const TQString &typeName, const Schema::SimpleType *type ); virtual void setXMLData( const TQDomElement &element ); - virtual void xmlData( TQDomDocument &document, TQDomElement &tqparent ); + virtual void xmlData( TQDomDocument &document, TQDomElement &parent ); virtual void setData( const TQString &data ); virtual TQString data() const; - virtual TQWidget *createWidget( TQWidget *tqparent ); + virtual TQWidget *createWidget( TQWidget *parent ); private slots: void inputChanged( int ); diff --git a/kode/kwsdl/kung/listinputfield.cpp b/kode/kwsdl/kung/listinputfield.cpp index 409eaf102..7a5eeb713 100644 --- a/kode/kwsdl/kung/listinputfield.cpp +++ b/kode/kwsdl/kung/listinputfield.cpp @@ -62,11 +62,11 @@ void ListInputField::setXMLData( const TQDomElement &element ) } } -void ListInputField::xmlData( TQDomDocument &document, TQDomElement &tqparent ) +void ListInputField::xmlData( TQDomDocument &document, TQDomElement &parent ) { InputField::List::Iterator it; for ( it = mFields.begin(); it != mFields.end(); ++it ) { - (*it)->xmlData( document, tqparent ); + (*it)->xmlData( document, parent ); } } @@ -79,16 +79,16 @@ TQString ListInputField::data() const return TQString(); } -TQWidget *ListInputField::createWidget( TQWidget *tqparent ) +TQWidget *ListInputField::createWidget( TQWidget *parent ) { - mInputWidget = new ListWidget( this, name(), mTypeName, tqparent ); + mInputWidget = new ListWidget( this, name(), mTypeName, parent ); return mInputWidget; } -ListWidget::ListWidget( InputField *parentField, const TQString &name, const TQString &type, TQWidget *tqparent ) - : TQWidget( tqparent ), +ListWidget::ListWidget( InputField *parentField, const TQString &name, const TQString &type, TQWidget *parent ) + : TQWidget( parent ), mParentField( parentField ), mName( name ), mType( type ) { TQGridLayout *tqlayout = new TQGridLayout( this, 4, 2, 11, 6 ); diff --git a/kode/kwsdl/kung/listinputfield.h b/kode/kwsdl/kung/listinputfield.h index 82940370f..1d48cc6a9 100644 --- a/kode/kwsdl/kung/listinputfield.h +++ b/kode/kwsdl/kung/listinputfield.h @@ -39,12 +39,12 @@ class ListInputField : public SimpleInputField ListInputField( const TQString &name, const TQString &typeName, const Schema::SimpleType *type ); virtual void setXMLData( const TQDomElement &element ); - virtual void xmlData( TQDomDocument &document, TQDomElement &tqparent ); + virtual void xmlData( TQDomDocument &document, TQDomElement &parent ); virtual void setData( const TQString &data ); virtual TQString data() const; - virtual TQWidget *createWidget( TQWidget *tqparent ); + virtual TQWidget *createWidget( TQWidget *parent ); private: ListWidget *mInputWidget; @@ -57,7 +57,7 @@ class ListWidget : public TQWidget TQ_OBJECT public: - ListWidget( InputField *parentField, const TQString &name, const TQString &type, TQWidget *tqparent ); + ListWidget( InputField *parentField, const TQString &name, const TQString &type, TQWidget *parent ); void update(); diff --git a/kode/kwsdl/kung/outputdialog.cpp b/kode/kwsdl/kung/outputdialog.cpp index bef2cd2fb..6cdb7e579 100644 --- a/kode/kwsdl/kung/outputdialog.cpp +++ b/kode/kwsdl/kung/outputdialog.cpp @@ -23,8 +23,8 @@ #include "outputdialog.h" -OutputDialog::OutputDialog( TQWidget *page, TQWidget *tqparent ) - : KDialogBase( Swallow, "", Ok, Ok, tqparent, "", true, true ) +OutputDialog::OutputDialog( TQWidget *page, TQWidget *parent ) + : KDialogBase( Swallow, "", Ok, Ok, parent, "", true, true ) { setMainWidget( page ); } diff --git a/kode/kwsdl/kung/outputdialog.h b/kode/kwsdl/kung/outputdialog.h index bab043201..a3c558789 100644 --- a/kode/kwsdl/kung/outputdialog.h +++ b/kode/kwsdl/kung/outputdialog.h @@ -27,7 +27,7 @@ class OutputDialog : public KDialogBase { public: - OutputDialog( TQWidget *page, TQWidget *tqparent ); + OutputDialog( TQWidget *page, TQWidget *parent ); }; #endif diff --git a/kode/kwsdl/kung/pageinputfield.cpp b/kode/kwsdl/kung/pageinputfield.cpp index d7e5639b6..6ca3409d7 100644 --- a/kode/kwsdl/kung/pageinputfield.cpp +++ b/kode/kwsdl/kung/pageinputfield.cpp @@ -65,7 +65,7 @@ void PageInputField::setXMLData( const TQDomElement &element ) } } -void PageInputField::xmlData( TQDomDocument &document, TQDomElement &tqparent ) +void PageInputField::xmlData( TQDomDocument &document, TQDomElement &parent ) { TQDomElement element = document.createElement( "ns1:" + mName ); @@ -73,7 +73,7 @@ void PageInputField::xmlData( TQDomDocument &document, TQDomElement &tqparent ) for ( it = mFields.begin(); it != mFields.end(); ++it ) (*it)->xmlData( document, element ); - tqparent.appendChild( element ); + parent.appendChild( element ); } void PageInputField::setData( const TQString& ) @@ -85,9 +85,9 @@ TQString PageInputField::data() const return TQString(); } -TQWidget *PageInputField::createWidget( TQWidget *tqparent ) +TQWidget *PageInputField::createWidget( TQWidget *parent ) { - TQWidget *mInputWidget = new TQWidget( tqparent, "PageInputWidget" ); + TQWidget *mInputWidget = new TQWidget( parent, "PageInputWidget" ); TQGridLayout *tqlayout = new TQGridLayout( mInputWidget, 2, 2, 11, 6 ); InputField::List::Iterator it; diff --git a/kode/kwsdl/kung/pageinputfield.h b/kode/kwsdl/kung/pageinputfield.h index 05321c31e..22d5fdc0e 100644 --- a/kode/kwsdl/kung/pageinputfield.h +++ b/kode/kwsdl/kung/pageinputfield.h @@ -37,12 +37,12 @@ class PageInputField : public InputField PageInputField( const TQString &name, const KWSDL::Message &message ); virtual void setXMLData( const TQDomElement &element ); - virtual void xmlData( TQDomDocument &document, TQDomElement &tqparent ); + virtual void xmlData( TQDomDocument &document, TQDomElement &parent ); virtual void setData( const TQString &data ); virtual TQString data() const; - virtual TQWidget *createWidget( TQWidget *tqparent ); + virtual TQWidget *createWidget( TQWidget *parent ); private: TQWidget *mInputWidget; diff --git a/kode/kwsdl/kung/simplebaseinputfield.cpp b/kode/kwsdl/kung/simplebaseinputfield.cpp index bd2aa90ea..0198723cf 100644 --- a/kode/kwsdl/kung/simplebaseinputfield.cpp +++ b/kode/kwsdl/kung/simplebaseinputfield.cpp @@ -59,14 +59,14 @@ void SimpleBaseInputField::setXMLData( const TQDomElement &element ) } } -void SimpleBaseInputField::xmlData( TQDomDocument &document, TQDomElement &tqparent ) +void SimpleBaseInputField::xmlData( TQDomDocument &document, TQDomElement &parent ) { if ( mType->subType() == Schema::SimpleType::TypeRestriction ) { InputField *field = mFields.first(); if ( !field ) { qDebug( "SimpleBaseInputField: No child found" ); } else { - field->xmlData( document, tqparent ); + field->xmlData( document, parent ); } } else { qDebug( "SimpleBaseInputField: Unsupported subtype" ); @@ -103,7 +103,7 @@ TQString SimpleBaseInputField::data() const return TQString(); } -TQWidget *SimpleBaseInputField::createWidget( TQWidget *tqparent ) +TQWidget *SimpleBaseInputField::createWidget( TQWidget *parent ) { if ( mType->subType() == Schema::SimpleType::TypeRestriction ) { InputField *field = mFields.first(); @@ -111,7 +111,7 @@ TQWidget *SimpleBaseInputField::createWidget( TQWidget *tqparent ) qDebug( "SimpleBaseInputField: No child found" ); return 0; } else { - return field->createWidget( tqparent ); + return field->createWidget( parent ); } } else { qDebug( "SimpleBaseInputField: Unsupported subtype" ); diff --git a/kode/kwsdl/kung/simplebaseinputfield.h b/kode/kwsdl/kung/simplebaseinputfield.h index aa52bc080..dab7e906c 100644 --- a/kode/kwsdl/kung/simplebaseinputfield.h +++ b/kode/kwsdl/kung/simplebaseinputfield.h @@ -30,12 +30,12 @@ class SimpleBaseInputField : public SimpleInputField SimpleBaseInputField( const TQString &name, const Schema::SimpleType *type ); virtual void setXMLData( const TQDomElement &element ); - virtual void xmlData( TQDomDocument &document, TQDomElement &tqparent ); + virtual void xmlData( TQDomDocument &document, TQDomElement &parent ); virtual void setData( const TQString &data ); virtual TQString data() const; - virtual TQWidget *createWidget( TQWidget *tqparent ); + virtual TQWidget *createWidget( TQWidget *parent ); }; #endif diff --git a/kode/kwsdl/kung/stringinputfield.cpp b/kode/kwsdl/kung/stringinputfield.cpp index 6f1bc4f70..390c5bc1b 100644 --- a/kode/kwsdl/kung/stringinputfield.cpp +++ b/kode/kwsdl/kung/stringinputfield.cpp @@ -42,14 +42,14 @@ void StringInputField::setXMLData( const TQDomElement &element ) setData( element.text() ); } -void StringInputField::xmlData( TQDomDocument &document, TQDomElement &tqparent ) +void StringInputField::xmlData( TQDomDocument &document, TQDomElement &parent ) { TQDomElement element = document.createElement( mName ); element.setAttribute( "xsi:type", "xsd:" + mTypeName ); TQDomText text = document.createTextNode( data() ); element.appendChild( text ); - tqparent.appendChild( element ); + parent.appendChild( element ); } void StringInputField::setData( const TQString &data ) @@ -62,9 +62,9 @@ TQString StringInputField::data() const return mValue; } -TQWidget *StringInputField::createWidget( TQWidget *tqparent ) +TQWidget *StringInputField::createWidget( TQWidget *parent ) { - mInputWidget = new TQLineEdit( tqparent ); + mInputWidget = new TQLineEdit( parent ); if ( mType ) { if ( mType->facetType() & Schema::SimpleType::LENGTH ) // TODO: using TQValidator here? diff --git a/kode/kwsdl/kung/stringinputfield.h b/kode/kwsdl/kung/stringinputfield.h index cd53a9b18..7bfc41242 100644 --- a/kode/kwsdl/kung/stringinputfield.h +++ b/kode/kwsdl/kung/stringinputfield.h @@ -37,12 +37,12 @@ class StringInputField : public SimpleInputField StringInputField( const TQString &name, const TQString &typeName, const Schema::SimpleType *type ); virtual void setXMLData( const TQDomElement &element ); - virtual void xmlData( TQDomDocument &document, TQDomElement &tqparent ); + virtual void xmlData( TQDomDocument &document, TQDomElement &parent ); virtual void setData( const TQString &data ); virtual TQString data() const; - virtual TQWidget *createWidget( TQWidget *tqparent ); + virtual TQWidget *createWidget( TQWidget *parent ); private slots: void inputChanged( const TQString& ); diff --git a/kode/kwsdl/kung/timeinputfield.cpp b/kode/kwsdl/kung/timeinputfield.cpp index 29b89fcab..dce73bdd4 100644 --- a/kode/kwsdl/kung/timeinputfield.cpp +++ b/kode/kwsdl/kung/timeinputfield.cpp @@ -39,14 +39,14 @@ void TimeInputField::setXMLData( const TQDomElement &element ) setData( element.text() ); } -void TimeInputField::xmlData( TQDomDocument &document, TQDomElement &tqparent ) +void TimeInputField::xmlData( TQDomDocument &document, TQDomElement &parent ) { TQDomElement element = document.createElement( mName ); element.setAttribute( "xsi:type", "xsd:time" ); TQDomText text = document.createTextNode( data() ); element.appendChild( text ); - tqparent.appendChild( element ); + parent.appendChild( element ); } void TimeInputField::setData( const TQString &data ) @@ -59,9 +59,9 @@ TQString TimeInputField::data() const return mValue.toString( TQt::ISODate ); } -TQWidget *TimeInputField::createWidget( TQWidget *tqparent ) +TQWidget *TimeInputField::createWidget( TQWidget *parent ) { - mInputWidget = new KTimeWidget( tqparent ); + mInputWidget = new KTimeWidget( parent ); mInputWidget->setTime( mValue ); diff --git a/kode/kwsdl/kung/timeinputfield.h b/kode/kwsdl/kung/timeinputfield.h index f3b14c9d8..30d219ae0 100644 --- a/kode/kwsdl/kung/timeinputfield.h +++ b/kode/kwsdl/kung/timeinputfield.h @@ -38,12 +38,12 @@ class TimeInputField : public SimpleInputField TimeInputField( const TQString &name, const Schema::SimpleType *type ); virtual void setXMLData( const TQDomElement &element ); - virtual void xmlData( TQDomDocument &document, TQDomElement &tqparent ); + virtual void xmlData( TQDomDocument &document, TQDomElement &parent ); virtual void setData( const TQString &data ); virtual TQString data() const; - virtual TQWidget *createWidget( TQWidget *tqparent ); + virtual TQWidget *createWidget( TQWidget *parent ); private slots: void inputChanged( const TQTime& ); |