summaryrefslogtreecommitdiffstats
path: root/lib/astyle/ASFormatter.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-14 16:45:05 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-14 16:45:05 +0000
commit48d4a26399959121f33d2bc3bfe51c7827b654fc (patch)
tree5ae5e6e00d3ba330b7b8be9bc097154b6bc739e8 /lib/astyle/ASFormatter.cpp
parent7e701ace6592d09e1f2c0cf28c7d6d872d78f4f5 (diff)
downloadtdevelop-48d4a26399959121f33d2bc3bfe51c7827b654fc.tar.gz
tdevelop-48d4a26399959121f33d2bc3bfe51c7827b654fc.zip
TQt4 port kdevelop
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdevelop@1236710 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'lib/astyle/ASFormatter.cpp')
-rw-r--r--lib/astyle/ASFormatter.cpp22
1 files changed, 11 insertions, 11 deletions
diff --git a/lib/astyle/ASFormatter.cpp b/lib/astyle/ASFormatter.cpp
index eb418760..62f7efc4 100644
--- a/lib/astyle/ASFormatter.cpp
+++ b/lib/astyle/ASFormatter.cpp
@@ -573,7 +573,7 @@ string ASFormatter::nextLine()
}
}
- // handle parenthesies
+ // handle tqparenthesies
if (currentChar == '(' || currentChar == '[' || (isInTemplate && currentChar == '<'))
{
parenStack->back()++;
@@ -593,7 +593,7 @@ string ASFormatter::nextLine()
}
}
- // check if this parenthesis closes a header, e.g. if (...), while (...)
+ // check if this tqparenthesis closes a header, e.g. if (...), while (...)
if (isInHeader && parenStack->back() == 0)
{
isInHeader = false;
@@ -1033,10 +1033,10 @@ void ASFormatter::setOperatorPaddingMode(bool state)
}
/**
-* set parenthesis outside padding mode.
+* set tqparenthesis outside padding mode.
* options:
-* true statement parenthesiss will be padded with spaces around them.
-* false statement parenthesiss will not be padded.
+* true statement tqparenthesiss will be padded with spaces around them.
+* false statement tqparenthesiss will not be padded.
*
* @param state the padding mode.
*/
@@ -1046,10 +1046,10 @@ void ASFormatter::setParensOutsidePaddingMode(bool state)
}
/**
-* set parenthesis inside padding mode.
+* set tqparenthesis inside padding mode.
* options:
-* true statement parenthesis will be padded with spaces around them.
-* false statement parenthesis will not be padded.
+* true statement tqparenthesis will be padded with spaces around them.
+* false statement tqparenthesis will not be padded.
*
* @param state the padding mode.
*/
@@ -1059,10 +1059,10 @@ void ASFormatter::setParensInsidePaddingMode(bool state)
}
/**
-* set parenthesis unpadding mode.
+* set tqparenthesis unpadding mode.
* options:
-* true statement parenthesis will be unpadded with spaces removed around them.
-* false statement parenthesis will not be unpadded.
+* true statement tqparenthesis will be unpadded with spaces removed around them.
+* false statement tqparenthesis will not be unpadded.
*
* @param state the padding mode.
*/