summaryrefslogtreecommitdiffstats
path: root/kode/kwsdl/schema
diff options
context:
space:
mode:
Diffstat (limited to 'kode/kwsdl/schema')
-rw-r--r--kode/kwsdl/schema/parser.cpp2
-rw-r--r--kode/kwsdl/schema/qualifiedname.cpp2
-rw-r--r--kode/kwsdl/schema/simpletype.cpp2
3 files changed, 3 insertions, 3 deletions
diff --git a/kode/kwsdl/schema/parser.cpp b/kode/kwsdl/schema/parser.cpp
index 4571f5cc6..148599751 100644
--- a/kode/kwsdl/schema/parser.cpp
+++ b/kode/kwsdl/schema/parser.cpp
@@ -200,7 +200,7 @@ void Parser::parseImport( const TQDomElement &element )
TQString location = element.attribute( "schemaLocation" );
if ( !location.isEmpty() ) {
// don't import a schema twice
- if ( mImportedSchemas.tqcontains( location ) )
+ if ( mImportedSchemas.contains( location ) )
return;
else
mImportedSchemas.append( location );
diff --git a/kode/kwsdl/schema/qualifiedname.cpp b/kode/kwsdl/schema/qualifiedname.cpp
index 41e6fd849..350bca32f 100644
--- a/kode/kwsdl/schema/qualifiedname.cpp
+++ b/kode/kwsdl/schema/qualifiedname.cpp
@@ -65,7 +65,7 @@ bool QualifiedName::operator==( const QualifiedName &qn ) const
void QualifiedName::parse( const TQString &str )
{
- int pos = str.tqfind( ':' );
+ int pos = str.find( ':' );
if ( pos != -1 ) {
mPrefix = str.left( pos );
mLocalName = str.mid( pos + 1 );
diff --git a/kode/kwsdl/schema/simpletype.cpp b/kode/kwsdl/schema/simpletype.cpp
index 50242808f..d5dcf2fd9 100644
--- a/kode/kwsdl/schema/simpletype.cpp
+++ b/kode/kwsdl/schema/simpletype.cpp
@@ -202,7 +202,7 @@ void SimpleType::setFacetValue( const TQString &value )
mFacetValue.wsp = PRESERVE;
else if ( value == "collapse" )
mFacetValue.wsp = COLLAPSE;
- else if ( value == "tqreplace" )
+ else if ( value == "replace" )
mFacetValue.wsp = REPLACE;
else {
qDebug( "Invalid facet value for whitespace" );