summaryrefslogtreecommitdiffstats
path: root/languages/cpp/expressioninfo.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/expressioninfo.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/expressioninfo.h')
-rw-r--r--languages/cpp/expressioninfo.h12
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 )