[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: [kdevplatform] language/codegen: Make executeRenameAction a public slot of BasicRefactoring
From: Olivier JG <olivier.jg () gmail ! com>
Date: 2015-10-09 10:22:28
Message-ID: E1ZkUom-0004p1-BW () scm ! kde ! org
[Download RAW message or body]
Git commit 9fd3787f6b271b917e355e1573db70f378cdc5df by Olivier JG.
Committed on 09/10/2015 at 10:23.
Pushed by olivierjg into branch 'master'.
Make executeRenameAction a public slot of BasicRefactoring
... So that languages can connect additional actions to it.
M +3 -5 language/codegen/basicrefactoring.h
http://commits.kde.org/kdevplatform/9fd3787f6b271b917e355e1573db70f378cdc5df
diff --git a/language/codegen/basicrefactoring.h b/language/codegen/basicre=
factoring.h
index 6195558..ab9bfc6 100644
--- a/language/codegen/basicrefactoring.h
+++ b/language/codegen/basicrefactoring.h
@@ -99,6 +99,9 @@ public:
*/
virtual bool shouldRenameFile(KDevelop::Declaration* declaration);
=
+public slots:
+ void executeRenameAction();
+
protected:
/**
* Apply the changes to the uses that can be found inside the given
@@ -150,11 +153,6 @@ protected:
* given declaration. The default implementation just returns true.
*/
virtual bool acceptForContextMenu(const Declaration *decl);
-
-protected slots:
- void executeRenameAction();
-
- friend class ::CppLanguageSupport;
};
=
} // End of namespace KDevelop
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic