summaryrefslogtreecommitdiffstats
path: root/kpovmodeler
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2024-02-03 16:26:56 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-02-04 21:54:56 +0900
commitcb1b22d0821b4fa3b72801659c6e8472e26c2b99 (patch)
tree6eb20a1cfc8ef1db04c310548070f23d6cda2e59 /kpovmodeler
parentea1f5870db808971e833dd901aac2647d50634bd (diff)
downloadtdegraphics-cb1b22d0821b4fa3b72801659c6e8472e26c2b99.tar.gz
tdegraphics-cb1b22d0821b4fa3b72801659c6e8472e26c2b99.zip
Replace Q_SIGNALS and Q_SLOTS
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit bda52bd053029243d499bbaf14d35beb8b6e43e1)
Diffstat (limited to 'kpovmodeler')
-rw-r--r--kpovmodeler/StyleConvention8
1 files changed, 4 insertions, 4 deletions
diff --git a/kpovmodeler/StyleConvention b/kpovmodeler/StyleConvention
index 5418fb0c..8199c913 100644
--- a/kpovmodeler/StyleConvention
+++ b/kpovmodeler/StyleConvention
@@ -201,11 +201,11 @@ things are set multiple times. But it works :-)
(load-library "vc")
;;for QT
- (set c-C++-access-key "\\<\\(Q_SIGNALS\\|public\\|protected\\|private
- \\|public Q_SLOTS\\|protected Q_SLOTS\\|private Q_SLOTS\\)\\>[ \t]*:")
- ;; modify the colour of Q_SLOTS to match public, private, etc ...
+ (set c-C++-access-key "\\<\\(signals\\|public\\|protected\\|private
+ \\|public slots\\|protected slots\\|private slots\\)\\>[ \t]*:")
+ ;; modify the colour of slots to match public, private, etc ...
(font-lock-add-keywords 'c++-mode
- '(("\\<\\(Q_SLOTS\\|Q_SIGNALS\\)\\>" . font-lock-type-face)))
+ '(("\\<\\(slots\\|signals\\)\\>" . font-lock-type-face)))
;; make new font for rest of qt keywords
(make-face 'qt-keywords-face)
(set-face-foreground 'qt-keywords-face "green")