From 539a1fd1ae6290cc3eec745226c0ce45b02c1545 Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 9 Jul 2011 02:23:29 +0000 Subject: 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 --- lib/astyle/ASBeautifier.cpp | 4 ++-- lib/astyle/ASFormatter.cpp | 22 +++++++++++----------- 2 files changed, 13 insertions(+), 13 deletions(-) (limited to 'lib/astyle') 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. */ -- cgit v1.2.1