summaryrefslogtreecommitdiffstats
path: root/kode/kwsdl/schema
diff options
context:
space:
mode:
Diffstat (limited to 'kode/kwsdl/schema')
-rw-r--r--kode/kwsdl/schema/fileprovider.h3
-rw-r--r--kode/kwsdl/schema/parser.cpp2
-rw-r--r--kode/kwsdl/schema/qualifiedname.cpp2
-rw-r--r--kode/kwsdl/schema/qualifiedname.h4
-rw-r--r--kode/kwsdl/schema/typestable.cpp2
-rw-r--r--kode/kwsdl/schema/xsdtype.h2
6 files changed, 8 insertions, 7 deletions
diff --git a/kode/kwsdl/schema/fileprovider.h b/kode/kwsdl/schema/fileprovider.h
index c665c3dac..1c2ef7384 100644
--- a/kode/kwsdl/schema/fileprovider.h
+++ b/kode/kwsdl/schema/fileprovider.h
@@ -30,9 +30,10 @@ class Job;
namespace Schema {
-class FileProvider : QObject
+class FileProvider : TQObject
{
Q_OBJECT
+ TQ_OBJECT
public:
FileProvider();
diff --git a/kode/kwsdl/schema/parser.cpp b/kode/kwsdl/schema/parser.cpp
index ba62b0c33..4571f5cc6 100644
--- a/kode/kwsdl/schema/parser.cpp
+++ b/kode/kwsdl/schema/parser.cpp
@@ -446,7 +446,7 @@ void Parser::addElement( const TQDomElement &element, ComplexType *cType )
&& ct->elementName( 0 ) == "any" ) {
// if the complex type is <any> then we dont need a type for it.
- // make the parent's type as XSDType::ANY
+ // make the tqparent's type as XSDType::ANY
delete ct;
type_id = XSDType::ANY;
} else {
diff --git a/kode/kwsdl/schema/qualifiedname.cpp b/kode/kwsdl/schema/qualifiedname.cpp
index 350bca32f..41e6fd849 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.find( ':' );
+ int pos = str.tqfind( ':' );
if ( pos != -1 ) {
mPrefix = str.left( pos );
mLocalName = str.mid( pos + 1 );
diff --git a/kode/kwsdl/schema/qualifiedname.h b/kode/kwsdl/schema/qualifiedname.h
index f879836cd..b4328911b 100644
--- a/kode/kwsdl/schema/qualifiedname.h
+++ b/kode/kwsdl/schema/qualifiedname.h
@@ -20,8 +20,8 @@
Boston, MA 02110-1301, USA.
*/
-#ifndef SCHEMA_QUALIFIEDNAME_H
-#define SCHEMA_QUALIFIEDNAME_H
+#ifndef SCHEMA_TQUALIFIEDNAME_H
+#define SCHEMA_TQUALIFIEDNAME_H
#include <tqstring.h>
#include <tqvaluelist.h>
diff --git a/kode/kwsdl/schema/typestable.cpp b/kode/kwsdl/schema/typestable.cpp
index 91a85f516..a58aa7089 100644
--- a/kode/kwsdl/schema/typestable.cpp
+++ b/kode/kwsdl/schema/typestable.cpp
@@ -50,7 +50,7 @@ TypesTable::TypesTable()
mBasicTypes["dateTime"] = XSDType::DATETIME;
mBasicTypes["date"] = XSDType::DATE;
mBasicTypes["token"] = XSDType::TOKEN;
- mBasicTypes["QName"] = XSDType::QNAME;
+ mBasicTypes["TQName"] = XSDType::TQNAME;
mBasicTypes["NCName"] = XSDType::NCNAME;
mBasicTypes["NMTOKEN"] = XSDType::NMTOKEN;
mBasicTypes["NMTOKENS"] = XSDType::NMTOKENS;
diff --git a/kode/kwsdl/schema/xsdtype.h b/kode/kwsdl/schema/xsdtype.h
index b1077ebe5..ab54190f2 100644
--- a/kode/kwsdl/schema/xsdtype.h
+++ b/kode/kwsdl/schema/xsdtype.h
@@ -67,7 +67,7 @@ class XSDType
DATETIME,
DATE,
TOKEN,
- QNAME,
+ TQNAME,
NCNAME,
NMTOKEN,
NMTOKENS,