From d6f8bbb45b267065a6907e71ff9c98bb6d161241 Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 31 Jul 2010 19:56:07 +0000 Subject: Trinity Qt initial conversion git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdevelop@1157658 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- languages/cpp/typedesc.h | 38 +++++++++++++++++++------------------- 1 file changed, 19 insertions(+), 19 deletions(-) (limited to 'languages/cpp/typedesc.h') diff --git a/languages/cpp/typedesc.h b/languages/cpp/typedesc.h index 924372df..ddb072d2 100644 --- a/languages/cpp/typedesc.h +++ b/languages/cpp/typedesc.h @@ -145,8 +145,8 @@ enum TypeDescFlags { struct TypeDescData : public KShared { - typedef QValueList TemplateParams; - QString m_cleanName; + typedef TQValueList TemplateParams; + TQString m_cleanName; int m_pointerDepth; int m_functionDepth; TemplateParams m_templateParams; @@ -175,11 +175,11 @@ private: class TypeDesc { public: - typedef QValueList TemplateParams; + typedef TQValueList TemplateParams; TypeDesc(); - TypeDesc( const QString& str ); + TypeDesc( const TQString& str ); TypeDesc( const TypeDesc& rhs ); @@ -193,7 +193,7 @@ class TypeDesc { TypeDesc& operator = ( const TypeDesc& rhs ); - TypeDesc& operator = ( const QString& rhs ) { + TypeDesc& operator = ( const TQString& rhs ) { init( rhs ); return *this; } @@ -243,19 +243,19 @@ class TypeDesc { void addIncludeFiles( const HashedStringSet& files ); - QString nameWithParams() const; + TQString nameWithParams() const; ///returns the type including template-parameters and pointer-depth - QString fullName( ) const; + TQString fullName( ) const; /**returns the type include template-parameters, pointer-depth, and possible sub-types. Example "A::B": A is the type, and B is the subtype */ - QString fullNameChain( ) const ; + TQString fullNameChain( ) const ; ///Returns the type-structure(full name-chain without any instance-info) - QString fullTypeStructure() const; + TQString fullTypeStructure() const; - void prependDecoration( const QString& str ); + void prependDecoration( const TQString& str ); ///Since the pointer-depth of a resolved type is always stored in the last element of its chain, this gives fast access to that depth int totalPointerDepth() const; @@ -283,22 +283,22 @@ class TypeDesc { }*/ ///returns a list include the full name of this type, and all subtypes - QStringList fullNameList( ) const; + TQStringList fullNameList( ) const; - QString decoratedName() const { + TQString decoratedName() const { if( !m_data ) return ""; - QString ret = m_data->m_dec.apply( name() ); + TQString ret = m_data->m_dec.apply( name() ); for( int a = 0; a < pointerDepth(); a++ ) ret += "*"; return ret; } - QString name() const { + TQString name() const { if( !m_data ) return ""; return m_data->m_cleanName; }; - void setName( QString name ) { + void setName( TQString name ) { makeDataPrivate(); m_data->m_cleanName = name; } @@ -310,7 +310,7 @@ class TypeDesc { const TemplateParams& templateParams() const; ///clears the current template-parameters, and extracts those from the given string - void takeTemplateParams( const QString& string ); + void takeTemplateParams( const TQString& string ); /**makes all references/pointers private, so everything about this structure may be changed without side-effects*/ TypeDesc& makePrivate(); @@ -370,12 +370,12 @@ class TypeDesc { private: - void takeData( const QString& string ); + void takeData( const TQString& string ); void makeDataPrivate(); KSharedPtr m_data; void maybeInit(); - void init( QString stri ); + void init( TQString stri ); }; @@ -392,7 +392,7 @@ class TypeDescShared : public TypeDesc, public KShared { return *this; } - TypeDescShared( const QString& name ) : TypeDesc( name ) {} + TypeDescShared( const TQString& name ) : TypeDesc( name ) {} TypeDescShared() : TypeDesc() {} } ; -- cgit v1.2.1