From 7be55ffa061c026e35e2d6a0effe1161ddb0d41f Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 31 Jul 2010 19:53:50 +0000 Subject: Trinity Qt initial conversion git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1157655 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kode/kwsdl/typemapper.h | 42 +++++++++++++++++++++--------------------- 1 file changed, 21 insertions(+), 21 deletions(-) (limited to 'kode/kwsdl/typemapper.h') 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 +#include #include @@ -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 headerDec( const Schema::Element *element ) const; - QStringList header( const Schema::Attribute *attribute ) const; - QMap headerDec( const Schema::Attribute *attribute ) const; - QStringList header( const QString &typeName ) const; - QMap headerDec( const QString &typeName ) const; + TQStringList header( const Schema::XSDType *type ) const; + TQStringList header( const Schema::Element *element ) const; + TQMap headerDec( const Schema::Element *element ) const; + TQStringList header( const Schema::Attribute *attribute ) const; + TQMap headerDec( const Schema::Attribute *attribute ) const; + TQStringList header( const TQString &typeName ) const; + TQMap 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 mMap; + TQMap mMap; Schema::Types mTypes; }; -- cgit v1.2.1