summaryrefslogtreecommitdiffstats
path: root/kode/kwsdl/typemapper.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:53:50 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:53:50 +0000
commit7be55ffa061c026e35e2d6a0effe1161ddb0d41f (patch)
tree8474f9b444b2756228600050f07a7ff25de532b2 /kode/kwsdl/typemapper.h
parentf587f20a6d09f1729dd0a8c1cd8ee0110aec7451 (diff)
downloadtdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.tar.gz
tdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1157655 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kode/kwsdl/typemapper.h')
-rw-r--r--kode/kwsdl/typemapper.h42
1 files changed, 21 insertions, 21 deletions
diff --git a/kode/kwsdl/typemapper.h b/kode/kwsdl/typemapper.h
index 529b004fe..9a718bb24 100644
--- a/kode/kwsdl/typemapper.h
+++ b/kode/kwsdl/typemapper.h
@@ -22,7 +22,7 @@
#ifndef KWSDL_TYPEMAPPER_H
#define KWSDL_TYPEMAPPER_H
-#include <qstringlist.h>
+#include <tqstringlist.h>
#include <schema/types.h>
@@ -40,13 +40,13 @@ class TypeInfo
TypeInfo()
{}
- TypeInfo( const QString &_xsdType, const QString &_type, const QString &_header )
+ TypeInfo( const TQString &_xsdType, const TQString &_type, const TQString &_header )
: xsdType( _xsdType ), type( _type ), header( _header )
{}
- QString xsdType;
- QString type;
- QString header;
+ TQString xsdType;
+ TQString type;
+ TQString header;
};
class TypeMapper
@@ -56,27 +56,27 @@ class TypeMapper
void setTypes( const Schema::Types &types );
- QString type( const Schema::XSDType *type ) const;
- QString type( const Schema::Element *element ) const;
- QString type( const Schema::Attribute *attribute ) const;
- QString type( const QString &typeName ) const;
+ TQString type( const Schema::XSDType *type ) const;
+ TQString type( const Schema::Element *element ) const;
+ TQString type( const Schema::Attribute *attribute ) const;
+ TQString type( const TQString &typeName ) const;
- QStringList header( const Schema::XSDType *type ) const;
- QStringList header( const Schema::Element *element ) const;
- QMap<QString,QString> headerDec( const Schema::Element *element ) const;
- QStringList header( const Schema::Attribute *attribute ) const;
- QMap<QString,QString> headerDec( const Schema::Attribute *attribute ) const;
- QStringList header( const QString &typeName ) const;
- QMap<QString,QString> headerDec( const QString &typeName ) const;
+ TQStringList header( const Schema::XSDType *type ) const;
+ TQStringList header( const Schema::Element *element ) const;
+ TQMap<TQString,TQString> headerDec( const Schema::Element *element ) const;
+ TQStringList header( const Schema::Attribute *attribute ) const;
+ TQMap<TQString,TQString> headerDec( const Schema::Attribute *attribute ) const;
+ TQStringList header( const TQString &typeName ) const;
+ TQMap<TQString,TQString> headerDec( const TQString &typeName ) const;
- QString argument( const QString &name, const Schema::Element *element ) const;
- QString argument( const QString &name, const Schema::Attribute *attribute ) const;
- QString argument( const QString &name, const QString &typeName, bool isList = false ) const;
+ TQString argument( const TQString &name, const Schema::Element *element ) const;
+ TQString argument( const TQString &name, const Schema::Attribute *attribute ) const;
+ TQString argument( const TQString &name, const TQString &typeName, bool isList = false ) const;
private:
- bool isBaseType( const QString& ) const;
+ bool isBaseType( const TQString& ) const;
- QMap<QString, TypeInfo> mMap;
+ TQMap<TQString, TypeInfo> mMap;
Schema::Types mTypes;
};