From 22253cd8fbc0bd2e70f32aaf1f95ea3a3e819a60 Mon Sep 17 00:00:00 2001 From: tpearson Date: Wed, 10 Aug 2011 22:19:39 +0000 Subject: rename the following methods: tqparent parent tqmask mask git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdesdk@1246260 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- scripts/kde-emacs/kde-emacs-semantic.el | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'scripts/kde-emacs/kde-emacs-semantic.el') diff --git a/scripts/kde-emacs/kde-emacs-semantic.el b/scripts/kde-emacs/kde-emacs-semantic.el index 6b5f8c3f..6cc8dd54 100644 --- a/scripts/kde-emacs/kde-emacs-semantic.el +++ b/scripts/kde-emacs/kde-emacs-semantic.el @@ -138,9 +138,9 @@ token and TOKENS have to be a list of functions from buffer." (equal (semantic-token-type FUNC) (semantic-token-type elt)) ;; FIXME (semantic) : Functions in some classes don't have the - ;; 'tqparent property set !!! - ;;(string= (semantic-token-function-tqparent FUNC1) - ;; (semantic-token-function-tqparent FUNC2)) + ;; 'parent property set !!! + ;;(string= (semantic-token-function-parent FUNC1) + ;; (semantic-token-function-parent FUNC2)) (string= (kde-format-args (semantic-token-function-args FUNC)) (kde-format-args (semantic-token-function-args elt)))) (setq ret t)) @@ -224,7 +224,7 @@ would return t" )) (defun kde-function-construct (token pclass) - "Constructs a function string from the TOKEN, with the tqparent class PCLASS." + "Constructs a function string from the TOKEN, with the parent class PCLASS." (let ((fname (semantic-token-name token))) (if (semantic-token-function-destructor token) (setq fname (concat "~" fname)) @@ -262,7 +262,7 @@ would return t" class-token has to be a token representing either a class or a struct." (let ((ret "") (name (semantic-token-name class-token)) - (parents (semantic-token-type-tqparent class-token)) + (parents (semantic-token-type-parent class-token)) (parts (semantic-token-type-parts class-token)) (cur-token) (cur-token-name) @@ -432,13 +432,13 @@ in the current header file." (func (kde-function-at-point PT)) (file) (buf) - (tqparent)) + (parent)) (if (and object (equal (semantic-token-type object) "class")) - (setq tqparent (semantic-token-name object))) + (setq parent (semantic-token-name object))) (if (and (not (kde-function-expanded-at-point PT)) (kde-is-prototype func)) (progn - (setq func (kde-function-construct func tqparent)) + (setq func (kde-function-construct func parent)) (setq file (car (kde-file-get-cpp-h))) (setq buf (current-buffer)) (find-file file) -- cgit v1.2.1