diff options
Diffstat (limited to 'kode/kwsdl/schema/complextype.cpp')
-rw-r--r-- | kode/kwsdl/schema/complextype.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/kode/kwsdl/schema/complextype.cpp b/kode/kwsdl/schema/complextype.cpp index 51ed2ad08..21e9e90c5 100644 --- a/kode/kwsdl/schema/complextype.cpp +++ b/kode/kwsdl/schema/complextype.cpp @@ -171,7 +171,7 @@ const Element *ComplexType::element( const TQString &name ) Element *ComplexType::element( int id ) { if ( id < 0 || id >= (int)mElements.count() ) { - qDebug( "tried to access non existent element" ); + tqDebug( "tried to access non existent element" ); return 0; } @@ -197,7 +197,7 @@ const Attribute *ComplexType::attribute( const TQString &name ) Attribute *ComplexType::attribute( int id ) { if ( id < 0 || id >= (int)mAttributes.count() ) { - qDebug( "tried to access non existent attributes" ); + tqDebug( "tried to access non existent attributes" ); return 0; } @@ -269,7 +269,7 @@ void ComplexType::setContentModel( int model ) mContentModel = model; if ( mContentModel == MIXED ) { mMixed = true; - qDebug( "Mixed content not supported" ); + tqDebug( "Mixed content not supported" ); } else mMixed = false; } @@ -279,7 +279,7 @@ void ComplexType::addAttribute( const TQString &name, int type_id, bool qualifie bool use ) { if ( type_id == 0 ) { - qDebug( "ComplexType:addAttribute(): No type given for attribute" ); + tqDebug( "ComplexType:addAttribute(): No type given for attribute" ); return; } @@ -306,12 +306,12 @@ void ComplexType::addElement( const TQString &name, int type_id, int minOccurs, const TQString &documentation ) { if ( type_id == 0 ) { - qDebug( "ComplexType:addElement() :No type given for element " ); + tqDebug( "ComplexType:addElement() :No type given for element " ); return; } if ( mTopLevelGroup == ALL && maxOccurs > 1 && mIsArray == false ) { - qDebug( "Inside an <all> group elements can occur only once" ); + tqDebug( "Inside an <all> group elements can occur only once" ); return; } @@ -366,17 +366,17 @@ void ComplexType::setCompositor( Compositor type, bool open, int minOccurs, int if ( mPreviousGroup == 0 ) mTopLevelGroup = type; else if ( mTopLevelGroup == this->ALL ) { - qDebug( "This cannot occur inside a top level <all> compositor" ); + tqDebug( "This cannot occur inside a top level <all> compositor" ); return; } if ( type == this->ALL && mPreviousGroup != 0 ) { - qDebug( "<all> can occur only at the top level" ); + tqDebug( "<all> can occur only at the top level" ); return; } if ( type == this->ALL && (minOccurs != 1 || maxOccurs != 1) ) { - qDebug( "<all> can have min/max of only 1 " ); + tqDebug( "<all> can have min/max of only 1 " ); return; } |