summaryrefslogtreecommitdiffstats
path: root/languages/cpp/typedesc.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:56:07 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:56:07 +0000
commitd6f8bbb45b267065a6907e71ff9c98bb6d161241 (patch)
treed109539636691d7b03036ca1c0ed29dbae6577cf /languages/cpp/typedesc.h
parent3331a47a9cad24795c7440ee8107143ce444ef34 (diff)
downloadtdevelop-d6f8bbb45b267065a6907e71ff9c98bb6d161241.tar.gz
tdevelop-d6f8bbb45b267065a6907e71ff9c98bb6d161241.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdevelop@1157658 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'languages/cpp/typedesc.h')
-rw-r--r--languages/cpp/typedesc.h38
1 files changed, 19 insertions, 19 deletions
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<LocateResult> TemplateParams;
- QString m_cleanName;
+ typedef TQValueList<LocateResult> TemplateParams;
+ TQString m_cleanName;
int m_pointerDepth;
int m_functionDepth;
TemplateParams m_templateParams;
@@ -175,11 +175,11 @@ private:
class TypeDesc {
public:
- typedef QValueList<LocateResult> TemplateParams;
+ typedef TQValueList<LocateResult> 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<TypeDescData> 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() {}
}
;