summaryrefslogtreecommitdiffstats
path: root/lib/astyle
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-07-09 02:23:29 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-07-09 02:23:29 +0000
commit539a1fd1ae6290cc3eec745226c0ce45b02c1545 (patch)
treee1cf785f3b349d568bade07dccdb5b39eb862331 /lib/astyle
parent82324bf130254bac6932131a55607c866773ca84 (diff)
downloadtdevelop-539a1fd1ae6290cc3eec745226c0ce45b02c1545.tar.gz
tdevelop-539a1fd1ae6290cc3eec745226c0ce45b02c1545.zip
Remove the tq in front of these incorrectly TQt4-converted methods/data members:
tqrepaint[...] tqinvalidate[...] tqparent[...] tqmask[...] tqlayout[...] tqalignment[...] git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdevelop@1240522 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'lib/astyle')
-rw-r--r--lib/astyle/ASBeautifier.cpp4
-rw-r--r--lib/astyle/ASFormatter.cpp22
2 files changed, 13 insertions, 13 deletions
diff --git a/lib/astyle/ASBeautifier.cpp b/lib/astyle/ASBeautifier.cpp
index 7ea8ec5f..432d58a9 100644
--- a/lib/astyle/ASBeautifier.cpp
+++ b/lib/astyle/ASBeautifier.cpp
@@ -1067,7 +1067,7 @@ string ASBeautifier::beautify(const string &originalLine)
}
}
- // handle tqparenthesies
+ // handle parenthesies
if (ch == '(' || ch == '[' || ch == ')' || ch == ']')
{
if (ch == '(' || ch == '[')
@@ -1555,7 +1555,7 @@ string ASBeautifier::beautify(const string &originalLine)
}
- // check for preBlockStatements ONLY if not within tqparenthesies
+ // check for preBlockStatements ONLY if not within parenthesies
// (otherwise 'struct XXX' statements would be wrongly interpreted...)
if (isWhiteSpace(prevCh) && !isInTemplate && parenDepth == 0)
{
diff --git a/lib/astyle/ASFormatter.cpp b/lib/astyle/ASFormatter.cpp
index 62f7efc4..eb418760 100644
--- a/lib/astyle/ASFormatter.cpp
+++ b/lib/astyle/ASFormatter.cpp
@@ -573,7 +573,7 @@ string ASFormatter::nextLine()
}
}
- // handle tqparenthesies
+ // handle parenthesies
if (currentChar == '(' || currentChar == '[' || (isInTemplate && currentChar == '<'))
{
parenStack->back()++;
@@ -593,7 +593,7 @@ string ASFormatter::nextLine()
}
}
- // check if this tqparenthesis closes a header, e.g. if (...), while (...)
+ // check if this parenthesis closes a header, e.g. if (...), while (...)
if (isInHeader && parenStack->back() == 0)
{
isInHeader = false;
@@ -1033,10 +1033,10 @@ void ASFormatter::setOperatorPaddingMode(bool state)
}
/**
-* set tqparenthesis outside padding mode.
+* set parenthesis outside padding mode.
* options:
-* true statement tqparenthesiss will be padded with spaces around them.
-* false statement tqparenthesiss will not be padded.
+* true statement parenthesiss will be padded with spaces around them.
+* false statement parenthesiss will not be padded.
*
* @param state the padding mode.
*/
@@ -1046,10 +1046,10 @@ void ASFormatter::setParensOutsidePaddingMode(bool state)
}
/**
-* set tqparenthesis inside padding mode.
+* set parenthesis inside padding mode.
* options:
-* true statement tqparenthesis will be padded with spaces around them.
-* false statement tqparenthesis will not be padded.
+* true statement parenthesis will be padded with spaces around them.
+* false statement parenthesis will not be padded.
*
* @param state the padding mode.
*/
@@ -1059,10 +1059,10 @@ void ASFormatter::setParensInsidePaddingMode(bool state)
}
/**
-* set tqparenthesis unpadding mode.
+* set parenthesis unpadding mode.
* options:
-* true statement tqparenthesis will be unpadded with spaces removed around them.
-* false statement tqparenthesis will not be unpadded.
+* true statement parenthesis will be unpadded with spaces removed around them.
+* false statement parenthesis will not be unpadded.
*
* @param state the padding mode.
*/