diff options
author | Michele Calgaro <[email protected]> | 2024-02-05 11:33:05 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2024-02-06 11:20:43 +0900 |
commit | ff1741283b6b6ed89b06e4e6153772bb0385610d (patch) | |
tree | 1a33215b0d563a0bff66719c1ec81678316dd1dd /kate/part/kateautoindent.cpp | |
parent | 7b83dfe033d01bee7cb0f6f8751d9426c4bab76c (diff) | |
download | tdelibs-ff1741283b6b6ed89b06e4e6153772bb0385610d.tar.gz tdelibs-ff1741283b6b6ed89b06e4e6153772bb0385610d.zip |
Replace Q_SIGNALS and Q_SLOTS
Signed-off-by: Michele Calgaro <[email protected]>
(cherry picked from commit 7f1af8e826b566543f6a86ad3c08337ce3e9ab2c)
Diffstat (limited to 'kate/part/kateautoindent.cpp')
-rw-r--r-- | kate/part/kateautoindent.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/kate/part/kateautoindent.cpp b/kate/part/kateautoindent.cpp index b6abe9b84..f4a9df273 100644 --- a/kate/part/kateautoindent.cpp +++ b/kate/part/kateautoindent.cpp @@ -479,8 +479,6 @@ void KateCSmartIndent::processLine (KateDocCursor &line) textLine->stringAtPos (firstChar, "private") || textLine->stringAtPos (firstChar, "protected") || textLine->stringAtPos (firstChar, "signals") || - textLine->stringAtPos (firstChar, "Q_SIGNALS") || - textLine->stringAtPos (firstChar, "Q_SLOTS") || textLine->stringAtPos (firstChar, "slots")) { indent = findOpeningBrace(line) + indentWidth; @@ -859,12 +857,8 @@ uint KateCSmartIndent::calcIndent(KateDocCursor &begin, bool needContinue) ch = textLine->getChar(specialIndent + 9); else if (textLine->stringAtPos(specialIndent, "signals")) ch = textLine->getChar(specialIndent + 7); - else if (textLine->stringAtPos(specialIndent, "Q_SIGNALS")) - ch = textLine->getChar(specialIndent + 9); else if (textLine->stringAtPos(specialIndent, "slots")) ch = textLine->getChar(specialIndent + 5); - else if (textLine->stringAtPos(specialIndent, "Q_SLOTS")) - ch = textLine->getChar(specialIndent + 7); if (ch.isNull() || (!ch.isSpace() && ch != '(' && ch != ':')) continue; |