From 67e29a054cfcb1b0d2fe6b0a316cf6b3eec087b7 Mon Sep 17 00:00:00 2001 From: tpearson Date: Wed, 13 Apr 2011 00:46:47 +0000 Subject: Initial conversion of kdepim to TQt This will probably require some tweaking before it will build under Qt4, however Qt3 builds are OK. Any alterations this commit makes to kdepim behaviour under Qt3 are unintentional and should be fixed. git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1227832 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kode/kwsdl/schema/fileprovider.h | 3 ++- kode/kwsdl/schema/parser.cpp | 2 +- kode/kwsdl/schema/qualifiedname.cpp | 2 +- kode/kwsdl/schema/qualifiedname.h | 4 ++-- kode/kwsdl/schema/typestable.cpp | 2 +- kode/kwsdl/schema/xsdtype.h | 2 +- 6 files changed, 8 insertions(+), 7 deletions(-) (limited to 'kode/kwsdl/schema') 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 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 #include 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, -- cgit v1.2.1