summaryrefslogtreecommitdiffstats
path: root/kpovmodeler/StyleConvention
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-19 19:03:33 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-19 19:03:33 +0000
commite69e8b1d09fb579316595b4e6a850e717358a8b1 (patch)
treea24fc20865f65772f530d16177520190594ffdd2 /kpovmodeler/StyleConvention
parenteecec9afb81fdebb0f22e9da22635874c403f854 (diff)
downloadtdegraphics-e69e8b1d09fb579316595b4e6a850e717358a8b1.tar.gz
tdegraphics-e69e8b1d09fb579316595b4e6a850e717358a8b1.zip
TQt4 port kdegraphics
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdegraphics@1237557 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kpovmodeler/StyleConvention')
-rw-r--r--kpovmodeler/StyleConvention8
1 files changed, 4 insertions, 4 deletions
diff --git a/kpovmodeler/StyleConvention b/kpovmodeler/StyleConvention
index eddc404f..f4951d75 100644
--- a/kpovmodeler/StyleConvention
+++ b/kpovmodeler/StyleConvention
@@ -201,11 +201,11 @@ things are set multiple times. But it works :-)
(load-library "vc")
;;for QT
- (setq 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 ...
+ (setq 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 ...
(font-lock-add-keywords 'c++-mode
- '(("\\<\\(slots\\|signals\\)\\>" . font-lock-type-face)))
+ '(("\\<\\(Q_SLOTS\\|Q_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")