summaryrefslogtreecommitdiffstats
path: root/kode/kwsdl/kung/simplebaseinputfield.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kode/kwsdl/kung/simplebaseinputfield.cpp')
-rw-r--r--kode/kwsdl/kung/simplebaseinputfield.cpp26
1 files changed, 13 insertions, 13 deletions
diff --git a/kode/kwsdl/kung/simplebaseinputfield.cpp b/kode/kwsdl/kung/simplebaseinputfield.cpp
index 0198723cf..5bd4e36b2 100644
--- a/kode/kwsdl/kung/simplebaseinputfield.cpp
+++ b/kode/kwsdl/kung/simplebaseinputfield.cpp
@@ -31,31 +31,31 @@ SimpleBaseInputField::SimpleBaseInputField( const TQString &name, const Schema::
if ( type->subType() == Schema::SimpleType::TypeRestriction ) {
InputField *field = InputFieldFactory::self()->createBasicField( name, type->baseTypeName(), type );
if ( !field ) {
- qDebug( "SimpleBaseInputField: Unable to create field of type %s", type->baseTypeName().latin1() );
+ tqDebug( "SimpleBaseInputField: Unable to create field of type %s", type->baseTypeName().latin1() );
} else {
appendChild( field );
}
} else {
- qDebug( "SimpleBaseInputField: Unsupported subtype" );
+ tqDebug( "SimpleBaseInputField: Unsupported subtype" );
}
}
void SimpleBaseInputField::setXMLData( const TQDomElement &element )
{
if ( mName != element.tagName() ) {
- qDebug( "SimpleBaseInputField: Wrong dom element passed: expected %s, got %s", mName.latin1(), element.tagName().latin1() );
+ tqDebug( "SimpleBaseInputField: Wrong dom element passed: expected %s, got %s", mName.latin1(), element.tagName().latin1() );
return;
}
if ( mType->subType() == Schema::SimpleType::TypeRestriction ) {
InputField *field = childField( element.tagName() );
if ( !field ) {
- qDebug( "SimpleBaseInputField: Child field %s does not exists", element.tagName().latin1() );
+ tqDebug( "SimpleBaseInputField: Child field %s does not exists", element.tagName().latin1() );
} else {
field->setXMLData( element );
}
} else {
- qDebug( "SimpleBaseInputField: Unsupported subtype" );
+ tqDebug( "SimpleBaseInputField: Unsupported subtype" );
}
}
@@ -64,12 +64,12 @@ void SimpleBaseInputField::xmlData( TQDomDocument &document, TQDomElement &paren
if ( mType->subType() == Schema::SimpleType::TypeRestriction ) {
InputField *field = mFields.first();
if ( !field ) {
- qDebug( "SimpleBaseInputField: No child found" );
+ tqDebug( "SimpleBaseInputField: No child found" );
} else {
field->xmlData( document, parent );
}
} else {
- qDebug( "SimpleBaseInputField: Unsupported subtype" );
+ tqDebug( "SimpleBaseInputField: Unsupported subtype" );
}
}
@@ -78,12 +78,12 @@ void SimpleBaseInputField::setData( const TQString &data )
if ( mType->subType() == Schema::SimpleType::TypeRestriction ) {
InputField *field = mFields.first();
if ( !field ) {
- qDebug( "SimpleBaseInputField: No child found" );
+ tqDebug( "SimpleBaseInputField: No child found" );
} else {
field->setData( data );
}
} else {
- qDebug( "SimpleBaseInputField: Unsupported subtype" );
+ tqDebug( "SimpleBaseInputField: Unsupported subtype" );
}
}
@@ -92,12 +92,12 @@ TQString SimpleBaseInputField::data() const
if ( mType->subType() == Schema::SimpleType::TypeRestriction ) {
InputField *field = mFields.first();
if ( !field ) {
- qDebug( "SimpleBaseInputField: No child found" );
+ tqDebug( "SimpleBaseInputField: No child found" );
} else {
field->data();
}
} else {
- qDebug( "SimpleBaseInputField: Unsupported subtype" );
+ tqDebug( "SimpleBaseInputField: Unsupported subtype" );
}
return TQString();
@@ -108,13 +108,13 @@ TQWidget *SimpleBaseInputField::createWidget( TQWidget *parent )
if ( mType->subType() == Schema::SimpleType::TypeRestriction ) {
InputField *field = mFields.first();
if ( !field ) {
- qDebug( "SimpleBaseInputField: No child found" );
+ tqDebug( "SimpleBaseInputField: No child found" );
return 0;
} else {
return field->createWidget( parent );
}
} else {
- qDebug( "SimpleBaseInputField: Unsupported subtype" );
+ tqDebug( "SimpleBaseInputField: Unsupported subtype" );
return 0;
}
}