diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-03-01 13:35:40 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-03-01 13:35:40 -0600 |
commit | 17e2ed52dbf8fac39a04331da02b9572e9e2e304 (patch) | |
tree | cd0d57c975a55e05aac71794b363748f24625875 /kode/kwsdl/kung | |
parent | a684ecdeceae222d5aa930478b7bf59a3b7cae7f (diff) | |
download | tdepim-17e2ed52dbf8fac39a04331da02b9572e9e2e304.tar.gz tdepim-17e2ed52dbf8fac39a04331da02b9572e9e2e304.zip |
Rename additional global TQt functions
Diffstat (limited to 'kode/kwsdl/kung')
-rw-r--r-- | kode/kwsdl/kung/binaryinputfield.cpp | 2 | ||||
-rw-r--r-- | kode/kwsdl/kung/boolinputfield.cpp | 2 | ||||
-rw-r--r-- | kode/kwsdl/kung/complexbaseinputfield.cpp | 14 | ||||
-rw-r--r-- | kode/kwsdl/kung/dateinputfield.cpp | 2 | ||||
-rw-r--r-- | kode/kwsdl/kung/dispatcher.cpp | 6 | ||||
-rw-r--r-- | kode/kwsdl/kung/doubleinputfield.cpp | 2 | ||||
-rw-r--r-- | kode/kwsdl/kung/enuminputfield.cpp | 2 | ||||
-rw-r--r-- | kode/kwsdl/kung/inputfieldfactory.cpp | 2 | ||||
-rw-r--r-- | kode/kwsdl/kung/integerinputfield.cpp | 2 | ||||
-rw-r--r-- | kode/kwsdl/kung/listinputfield.cpp | 4 | ||||
-rw-r--r-- | kode/kwsdl/kung/loader.cpp | 4 | ||||
-rw-r--r-- | kode/kwsdl/kung/pageinputfield.cpp | 6 | ||||
-rw-r--r-- | kode/kwsdl/kung/simplebaseinputfield.cpp | 26 | ||||
-rw-r--r-- | kode/kwsdl/kung/stringinputfield.cpp | 2 | ||||
-rw-r--r-- | kode/kwsdl/kung/timeinputfield.cpp | 2 | ||||
-rw-r--r-- | kode/kwsdl/kung/transport.cpp | 2 |
16 files changed, 40 insertions, 40 deletions
diff --git a/kode/kwsdl/kung/binaryinputfield.cpp b/kode/kwsdl/kung/binaryinputfield.cpp index 049736c16..ea7c17394 100644 --- a/kode/kwsdl/kung/binaryinputfield.cpp +++ b/kode/kwsdl/kung/binaryinputfield.cpp @@ -48,7 +48,7 @@ BinaryInputField::BinaryInputField( const TQString &name, const TQString &typeNa void BinaryInputField::setXMLData( const TQDomElement &element ) { if ( mName != element.tagName() ) { - qDebug( "BinaryInputField: Wrong dom element passed: expected %s, got %s", mName.latin1(), element.tagName().latin1() ); + tqDebug( "BinaryInputField: Wrong dom element passed: expected %s, got %s", mName.latin1(), element.tagName().latin1() ); return; } diff --git a/kode/kwsdl/kung/boolinputfield.cpp b/kode/kwsdl/kung/boolinputfield.cpp index e3eb3eef1..883112668 100644 --- a/kode/kwsdl/kung/boolinputfield.cpp +++ b/kode/kwsdl/kung/boolinputfield.cpp @@ -32,7 +32,7 @@ BoolInputField::BoolInputField( const TQString &name, const Schema::SimpleType * void BoolInputField::setXMLData( const TQDomElement &element ) { if ( mName != element.tagName() ) { - qDebug( "BoolInputField: Wrong dom element passed: expected %s, got %s", mName.latin1(), element.tagName().latin1() ); + tqDebug( "BoolInputField: Wrong dom element passed: expected %s, got %s", mName.latin1(), element.tagName().latin1() ); return; } diff --git a/kode/kwsdl/kung/complexbaseinputfield.cpp b/kode/kwsdl/kung/complexbaseinputfield.cpp index 7466029c7..c43f211dc 100644 --- a/kode/kwsdl/kung/complexbaseinputfield.cpp +++ b/kode/kwsdl/kung/complexbaseinputfield.cpp @@ -38,7 +38,7 @@ ComplexBaseInputField::ComplexBaseInputField( const TQString &name, const Schema bool isList = ((*elemIt).maxOccurs() == UNBOUNDED); InputField *field = InputFieldFactory::self()->createField( (*elemIt).name(), (*elemIt).typeName(), isList ); if ( !field ) { - qDebug( "ComplexBaseInputField: Unable to create field of type %s", type->baseTypeName().latin1() ); + tqDebug( "ComplexBaseInputField: Unable to create field of type %s", type->baseTypeName().latin1() ); } else { appendChild( field ); } @@ -49,7 +49,7 @@ ComplexBaseInputField::ComplexBaseInputField( const TQString &name, const Schema for ( attrIt = attributes.begin(); attrIt != attributes.end(); ++attrIt ) { InputField *field = InputFieldFactory::self()->createField( (*attrIt).name(), (*attrIt).typeName() ); if ( !field ) { - qDebug( "ComplexBaseInputField: Unable to create field of type %s", type->baseTypeName().latin1() ); + tqDebug( "ComplexBaseInputField: Unable to create field of type %s", type->baseTypeName().latin1() ); } else { appendChild( field ); } @@ -59,7 +59,7 @@ ComplexBaseInputField::ComplexBaseInputField( const TQString &name, const Schema void ComplexBaseInputField::setXMLData( const TQDomElement &element ) { if ( mName != element.tagName() ) { - qDebug( "ComplexBaseInputField: Wrong dom element passed: expected %s, got %s", mName.latin1(), element.tagName().latin1() ); + tqDebug( "ComplexBaseInputField: Wrong dom element passed: expected %s, got %s", mName.latin1(), element.tagName().latin1() ); return; } @@ -74,7 +74,7 @@ void ComplexBaseInputField::setXMLData( const TQDomElement &element ) if ( !child.isNull() ) { InputField *field = childField( child.tagName() ); if ( !field ) { - qDebug( "ComplexBaseInputField: Child field %s does not exists", child.tagName().latin1() ); + tqDebug( "ComplexBaseInputField: Child field %s does not exists", child.tagName().latin1() ); } else { field->setXMLData( child ); } @@ -92,7 +92,7 @@ void ComplexBaseInputField::setXMLData( const TQDomElement &element ) InputField *field = childField( attr.name() ); if ( !field ) { - qDebug( "ComplexBaseInputField: Child field %s does not exists", attr.name().latin1() ); + tqDebug( "ComplexBaseInputField: Child field %s does not exists", attr.name().latin1() ); } else { field->setData( attr.value() ); } @@ -108,7 +108,7 @@ void ComplexBaseInputField::xmlData( TQDomDocument &document, TQDomElement &pare for ( elemIt = elements.begin(); elemIt != elements.end(); ++elemIt ) { InputField *field = childField( (*elemIt).name() ); if ( !field ) { - qDebug( "ComplexBaseInputField: No child found" ); + tqDebug( "ComplexBaseInputField: No child found" ); } else { field->xmlData( document, element ); } @@ -119,7 +119,7 @@ void ComplexBaseInputField::xmlData( TQDomDocument &document, TQDomElement &pare for ( attrIt = attributes.begin(); attrIt != attributes.end(); ++attrIt ) { InputField *field = childField( (*attrIt).name() ); if ( !field ) { - qDebug( "ComplexBaseInputField: No child found" ); + tqDebug( "ComplexBaseInputField: No child found" ); } else { element.setAttribute( field->name(), field->data() ); } diff --git a/kode/kwsdl/kung/dateinputfield.cpp b/kode/kwsdl/kung/dateinputfield.cpp index 56132a4eb..cb24670f8 100644 --- a/kode/kwsdl/kung/dateinputfield.cpp +++ b/kode/kwsdl/kung/dateinputfield.cpp @@ -32,7 +32,7 @@ DateInputField::DateInputField( const TQString &name, const Schema::SimpleType * void DateInputField::setXMLData( const TQDomElement &element ) { if ( mName != element.tagName() ) { - qDebug( "DateInputField: Wrong dom element passed: expected %s, got %s", mName.latin1(), element.tagName().latin1() ); + tqDebug( "DateInputField: Wrong dom element passed: expected %s, got %s", mName.latin1(), element.tagName().latin1() ); return; } diff --git a/kode/kwsdl/kung/dispatcher.cpp b/kode/kwsdl/kung/dispatcher.cpp index 9d2ecc239..58ac17d19 100644 --- a/kode/kwsdl/kung/dispatcher.cpp +++ b/kode/kwsdl/kung/dispatcher.cpp @@ -71,7 +71,7 @@ void Dispatcher::run() void Dispatcher::nextMessage() { if ( !mConversationManager ) { - qDebug( "No conversation manager set... aborting" ); + tqDebug( "No conversation manager set... aborting" ); return; } @@ -115,7 +115,7 @@ void Dispatcher::nextMessage() body.appendChild( method ); if ( mTransport ) { - qDebug( "%s", doc.toString( 2 ).latin1() ); + tqDebug( "%s", doc.toString( 2 ).latin1() ); mTransport->query( doc.toString( 2 ) ); } } else @@ -124,7 +124,7 @@ void Dispatcher::nextMessage() void Dispatcher::result( const TQString &xml ) { - qDebug( "Got data %s", xml.latin1() ); + tqDebug( "Got data %s", xml.latin1() ); KWSDL::Message message = mWSDL.findOutputMessage( mCurrentMessage ); InputField *field = new PageInputField( message.name(), message ); diff --git a/kode/kwsdl/kung/doubleinputfield.cpp b/kode/kwsdl/kung/doubleinputfield.cpp index 78f73bcd6..39f227749 100644 --- a/kode/kwsdl/kung/doubleinputfield.cpp +++ b/kode/kwsdl/kung/doubleinputfield.cpp @@ -34,7 +34,7 @@ DoubleInputField::DoubleInputField( const TQString &name, const TQString &typeNa void DoubleInputField::setXMLData( const TQDomElement &element ) { if ( mName != element.tagName() ) { - qDebug( "DoubleInputField: Wrong dom element passed: expected %s, got %s", mName.latin1(), element.tagName().latin1() ); + tqDebug( "DoubleInputField: Wrong dom element passed: expected %s, got %s", mName.latin1(), element.tagName().latin1() ); return; } diff --git a/kode/kwsdl/kung/enuminputfield.cpp b/kode/kwsdl/kung/enuminputfield.cpp index f290803b6..30c116700 100644 --- a/kode/kwsdl/kung/enuminputfield.cpp +++ b/kode/kwsdl/kung/enuminputfield.cpp @@ -36,7 +36,7 @@ EnumInputField::EnumInputField( const TQString &name, const Schema::SimpleType * void EnumInputField::setXMLData( const TQDomElement &element ) { if ( mName != element.tagName() ) { - qDebug( "EnumInputField: Wrong dom element passed: expected %s, got %s", mName.latin1(), element.tagName().latin1() ); + tqDebug( "EnumInputField: Wrong dom element passed: expected %s, got %s", mName.latin1(), element.tagName().latin1() ); return; } diff --git a/kode/kwsdl/kung/inputfieldfactory.cpp b/kode/kwsdl/kung/inputfieldfactory.cpp index 42905aee3..8359eef67 100644 --- a/kode/kwsdl/kung/inputfieldfactory.cpp +++ b/kode/kwsdl/kung/inputfieldfactory.cpp @@ -109,7 +109,7 @@ InputField *InputFieldFactory::createBasicField( const TQString &name, const TQS } else if ( typeName == "base64Binary" ) { return new BinaryInputField( name, typeName, type ); } else { - qDebug( "InputFieldFactory: Unknown type %s", typeName.latin1() ); + tqDebug( "InputFieldFactory: Unknown type %s", typeName.latin1() ); return 0; } } diff --git a/kode/kwsdl/kung/integerinputfield.cpp b/kode/kwsdl/kung/integerinputfield.cpp index 022ec0d84..76d48cd5a 100644 --- a/kode/kwsdl/kung/integerinputfield.cpp +++ b/kode/kwsdl/kung/integerinputfield.cpp @@ -36,7 +36,7 @@ IntegerInputField::IntegerInputField( const TQString &name, const TQString &type void IntegerInputField::setXMLData( const TQDomElement &element ) { if ( mName != element.tagName() ) { - qDebug( "IntegerInputField: Wrong dom element passed: expected %s, got %s", mName.latin1(), element.tagName().latin1() ); + tqDebug( "IntegerInputField: Wrong dom element passed: expected %s, got %s", mName.latin1(), element.tagName().latin1() ); return; } diff --git a/kode/kwsdl/kung/listinputfield.cpp b/kode/kwsdl/kung/listinputfield.cpp index 6bc1d8240..4a6921c07 100644 --- a/kode/kwsdl/kung/listinputfield.cpp +++ b/kode/kwsdl/kung/listinputfield.cpp @@ -55,7 +55,7 @@ void ListInputField::setXMLData( const TQDomElement &element ) field->setXMLData( child ); appendChild( field ); } else - qDebug( "ListInputField: Unable to create field of type %s", mTypeName.latin1() ); + tqDebug( "ListInputField: Unable to create field of type %s", mTypeName.latin1() ); } node = node.nextSibling(); @@ -131,7 +131,7 @@ void ListWidget::add() { InputField *field = InputFieldFactory::self()->createField( mName, mType ); if ( !field ) { - qDebug( "ListInputField: Unable to create field of type %s", mType.latin1() ); + tqDebug( "ListInputField: Unable to create field of type %s", mType.latin1() ); return; } diff --git a/kode/kwsdl/kung/loader.cpp b/kode/kwsdl/kung/loader.cpp index 8b0281ac8..273b23124 100644 --- a/kode/kwsdl/kung/loader.cpp +++ b/kode/kwsdl/kung/loader.cpp @@ -53,7 +53,7 @@ void Loader::download() if ( provider.get( mWSDLUrl, fileName ) ) { TQFile file( fileName ); if ( !file.open( IO_ReadOnly ) ) { - qDebug( "Unable to download wsdl file %s", mWSDLUrl.latin1() ); + tqDebug( "Unable to download wsdl file %s", mWSDLUrl.latin1() ); provider.cleanUp(); return; } @@ -62,7 +62,7 @@ void Loader::download() int errorLine, errorCol; TQDomDocument doc; if ( !doc.setContent( &file, true, &errorMsg, &errorLine, &errorCol ) ) { - qDebug( "%s at (%d,%d)", errorMsg.latin1(), errorLine, errorCol ); + tqDebug( "%s at (%d,%d)", errorMsg.latin1(), errorLine, errorCol ); return; } diff --git a/kode/kwsdl/kung/pageinputfield.cpp b/kode/kwsdl/kung/pageinputfield.cpp index 96a758c39..b1cf11e0b 100644 --- a/kode/kwsdl/kung/pageinputfield.cpp +++ b/kode/kwsdl/kung/pageinputfield.cpp @@ -35,7 +35,7 @@ PageInputField::PageInputField( const TQString &name, const KWSDL::Message &mess for ( it = parts.begin(); it != parts.end(); ++it ) { InputField *field = InputFieldFactory::self()->createField( (*it).name(), (*it).type() ); if ( !field ) { - qDebug( "PageInputField: Unable to create input field for %s (%s)", (*it).name().latin1(), (*it).type().latin1() ); + tqDebug( "PageInputField: Unable to create input field for %s (%s)", (*it).name().latin1(), (*it).type().latin1() ); } else { appendChild( field ); } @@ -45,7 +45,7 @@ PageInputField::PageInputField( const TQString &name, const KWSDL::Message &mess 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() ); + tqDebug( "PageInputField: Wrong dom element passed: expected %s, got %s", mName.latin1(), element.tagName().latin1() ); return; } @@ -55,7 +55,7 @@ void PageInputField::setXMLData( const TQDomElement &element ) if ( !child.isNull() ) { InputField *field = childField( child.tagName() ); if ( !field ) { - qDebug( "PageInputField: Child field %s does not exists", child.tagName().latin1() ); + tqDebug( "PageInputField: Child field %s does not exists", child.tagName().latin1() ); } else { field->setXMLData( child ); } 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; } } diff --git a/kode/kwsdl/kung/stringinputfield.cpp b/kode/kwsdl/kung/stringinputfield.cpp index 390c5bc1b..9ea45029e 100644 --- a/kode/kwsdl/kung/stringinputfield.cpp +++ b/kode/kwsdl/kung/stringinputfield.cpp @@ -35,7 +35,7 @@ StringInputField::StringInputField( const TQString &name, const TQString &typeNa void StringInputField::setXMLData( const TQDomElement &element ) { if ( mName != element.tagName() ) { - qDebug( "StringInputField: Wrong dom element passed: expected %s, got %s", mName.latin1(), element.tagName().latin1() ); + tqDebug( "StringInputField: Wrong dom element passed: expected %s, got %s", mName.latin1(), element.tagName().latin1() ); return; } diff --git a/kode/kwsdl/kung/timeinputfield.cpp b/kode/kwsdl/kung/timeinputfield.cpp index dce73bdd4..38e1a2642 100644 --- a/kode/kwsdl/kung/timeinputfield.cpp +++ b/kode/kwsdl/kung/timeinputfield.cpp @@ -32,7 +32,7 @@ TimeInputField::TimeInputField( const TQString &name, const Schema::SimpleType * void TimeInputField::setXMLData( const TQDomElement &element ) { if ( mName != element.tagName() ) { - qDebug( "TimeInputField: Wrong dom element passed: expected %s, got %s", mName.latin1(), element.tagName().latin1() ); + tqDebug( "TimeInputField: Wrong dom element passed: expected %s, got %s", mName.latin1(), element.tagName().latin1() ); return; } diff --git a/kode/kwsdl/kung/transport.cpp b/kode/kwsdl/kung/transport.cpp index fd7e545e1..76f3acc82 100644 --- a/kode/kwsdl/kung/transport.cpp +++ b/kode/kwsdl/kung/transport.cpp @@ -25,7 +25,7 @@ Transport::Transport( const TQString &url ) { mUrl = url; - qDebug( "url=%s", url.latin1() ); + tqDebug( "url=%s", url.latin1() ); } void Transport::query( const TQString &xml ) |