diff options
Diffstat (limited to 'languages/cpp/expressioninfo.h')
-rw-r--r-- | languages/cpp/expressioninfo.h | 12 |
1 files changed, 6 insertions, 6 deletions
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 ) |