summaryrefslogtreecommitdiffstats
path: root/kode/kwsdl/schema/parser.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kode/kwsdl/schema/parser.cpp')
-rw-r--r--kode/kwsdl/schema/parser.cpp22
1 files changed, 11 insertions, 11 deletions
diff --git a/kode/kwsdl/schema/parser.cpp b/kode/kwsdl/schema/parser.cpp
index 7ec3804f8..b981c77ed 100644
--- a/kode/kwsdl/schema/parser.cpp
+++ b/kode/kwsdl/schema/parser.cpp
@@ -603,7 +603,7 @@ XSDType *Parser::parseSimpleType( const TQDomElement &element )
parseRestriction( childElement, st );
} else if ( name.localName() == "union" ) {
st->setSubType( SimpleType::TypeUnion );
- qDebug( "simpletype::union not supported" );
+ tqDebug( "simpletype::union not supported" );
} else if ( name.localName() == "list" ) {
st->setSubType( SimpleType::TypeList );
if ( childElement.hasAttribute( "itemType" ) ) {
@@ -627,7 +627,7 @@ XSDType *Parser::parseSimpleType( const TQDomElement &element )
void Parser::parseRestriction( const TQDomElement &element, SimpleType *st )
{
if ( st->baseType() == 0 )
- qDebug( "<restriction>:unkown BaseType" );
+ tqDebug( "<restriction>:unkown BaseType" );
TQDomNode node = element.firstChild();
while ( !node.isNull() ) {
@@ -635,7 +635,7 @@ void Parser::parseRestriction( const TQDomElement &element, SimpleType *st )
if ( !childElement.isNull() ) {
if ( !st->isValidFacet( childElement.tagName() ) ) {
- qDebug( "<restriction>: %s is not a valid facet for the simple type", childElement.tagName().latin1() );
+ tqDebug( "<restriction>: %s is not a valid facet for the simple type", childElement.tagName().latin1() );
continue;
}
@@ -651,7 +651,7 @@ void Parser::parseComplexContent( const TQDomElement &element, ComplexType *ct )
QualifiedName typeName;
if ( element.attribute( "mixed" ) == "true" ) {
- qDebug( "<complexContent>: No support for mixed=true" );
+ tqDebug( "<complexContent>: No support for mixed=true" );
return;
}
@@ -737,7 +737,7 @@ void Parser::parseSimpleContent( const TQDomElement &element, ComplexType *ct )
parseRestriction( childElement, st );
int typeId = mTypesTable.addType( st );
if ( typeId == 0 ) {
- qDebug( "Could not add type in types table" );
+ tqDebug( "Could not add type in types table" );
return;
}
@@ -852,7 +852,7 @@ void Parser::resolveForwardElementRefs()
if ( e )
mTypesTable.resolveForwardElementRefs( (*it).localName(), *e );
else
- qDebug( "Could not resolve element reference %s ", (*it).localName().latin1() );
+ tqDebug( "Could not resolve element reference %s ", (*it).localName().latin1() );
}
}
@@ -868,7 +868,7 @@ void Parser::resolveForwardAttributeRefs()
if ( a )
mTypesTable.resolveForwardAttributeRefs( (*it).localName(), *a );
else
- qDebug( "Could not resolve attribute reference %s ", (*it).localName().latin1() );
+ tqDebug( "Could not resolve attribute reference %s ", (*it).localName().latin1() );
}
}
@@ -970,7 +970,7 @@ int Parser::attributeId( const QualifiedName &type ) const
typeName.setNameSpace( typens = mNameSpace );
if ( typens != mNameSpace && typens != SchemaUri ) {
- qDebug( "Namespace does not match" );
+ tqDebug( "Namespace does not match" );
return -1;
}
@@ -1067,7 +1067,7 @@ void Parser::importSchema( const TQString &location )
if ( provider.get( schemaLocation, fileName ) ) {
TQFile file( fileName );
if ( !file.open( IO_ReadOnly ) ) {
- qDebug( "Unable to open file %s", file.name().latin1() );
+ tqDebug( "Unable to open file %s", file.name().latin1() );
return;
}
@@ -1076,7 +1076,7 @@ void Parser::importSchema( const TQString &location )
int errorLine, errorColumn;
bool ok = doc.setContent( &file, true, &errorMsg, &errorLine, &errorColumn );
if ( !ok ) {
- qDebug( "Error[%d:%d] %s", errorLine, errorColumn, errorMsg.latin1() );
+ tqDebug( "Error[%d:%d] %s", errorLine, errorColumn, errorMsg.latin1() );
return;
}
@@ -1085,7 +1085,7 @@ void Parser::importSchema( const TQString &location )
TQDomElement schemaElement = nodes.item( 0 ).toElement();
parseSchemaTag( schemaElement );
} else {
- qDebug( "No schema tag found in schema file" );
+ tqDebug( "No schema tag found in schema file" );
}
file.close();