forked from qt-creator/qt-creator
Add command locator.
Make it possible to trigger actions from the locator bar by registering an instance of Locator::CommandLocator by prefix. Currently used for VCS systems. Acked-by: con Initial-patch-by: Roberto Raggi <roberto.raggi@nokia.com>
This commit is contained in:
@@ -54,7 +54,9 @@ class ICore;
|
||||
namespace Utils {
|
||||
class ParameterAction;
|
||||
}
|
||||
|
||||
namespace Locator {
|
||||
class CommandLocator;
|
||||
}
|
||||
namespace Git {
|
||||
namespace Internal {
|
||||
|
||||
@@ -125,6 +127,7 @@ private:
|
||||
|
||||
static GitPlugin *m_instance;
|
||||
Core::ICore *m_core;
|
||||
Locator::CommandLocator *m_commandLocator;
|
||||
Utils::ParameterAction *m_diffAction;
|
||||
Utils::ParameterAction *m_diffProjectAction;
|
||||
QAction *m_diffRepositoryAction;
|
||||
|
||||
Reference in New Issue
Block a user