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/expressioninfo.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'languages/cpp/expressioninfo.h') diff --git a/languages/cpp/expressioninfo.h b/languages/cpp/expressioninfo.h index 836a2292..4b42a2f4 100644 --- a/languages/cpp/expressioninfo.h +++ b/languages/cpp/expressioninfo.h @@ -27,7 +27,7 @@ using namespace StringHelpers; struct ExpressionInfo { private: - QString m_expr; + TQString m_expr; public: @@ -40,15 +40,15 @@ struct ExpressionInfo { Type t; int start, end; - QString expr() { + TQString expr() { return m_expr; } - void setExpr( const QString& str ) { + void setExpr( const TQString& str ) { m_expr = clearComments( str ); } - ExpressionInfo( QString str ) : t( NormalExpression ), start( 0 ), end( str.length() ) { + ExpressionInfo( TQString str ) : t( NormalExpression ), start( 0 ), end( str.length() ) { setExpr( str ); } @@ -76,8 +76,8 @@ struct ExpressionInfo { return t & NormalExpression && !m_expr.isEmpty(); } - QString typeAsString() { - QString res ; + TQString typeAsString() { + TQString res ; if( t & NormalExpression ) res += "NormalExpression, "; if( t & TypeExpression ) -- cgit v1.2.1