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:
@@ -60,6 +60,10 @@ namespace VCSBase {
|
||||
class VCSBaseSubmitEditor;
|
||||
}
|
||||
|
||||
namespace Locator {
|
||||
class CommandLocator;
|
||||
}
|
||||
|
||||
namespace Mercurial {
|
||||
namespace Internal {
|
||||
|
||||
@@ -150,6 +154,7 @@ private:
|
||||
MercurialClient *m_client;
|
||||
|
||||
Core::ICore *core;
|
||||
Locator::CommandLocator *m_commandLocator;
|
||||
Core::ActionManager *actionManager;
|
||||
Core::ActionContainer *mercurialContainer;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user