summaryrefslogtreecommitdiffstats
path: root/kode/kwsdl/schema
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-04-13 00:46:47 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-04-13 00:46:47 +0000
commit67e29a054cfcb1b0d2fe6b0a316cf6b3eec087b7 (patch)
tree5f52a9eada2e9f3654fc327d7c14dfef570a6ecb /kode/kwsdl/schema
parent2ee4bf4fd5eff93b2fbef0ff8e8063edffc5da5c (diff)
downloadtdepim-67e29a054cfcb1b0d2fe6b0a316cf6b3eec087b7.tar.gz
tdepim-67e29a054cfcb1b0d2fe6b0a316cf6b3eec087b7.zip
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
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,