VcsBase: Make some slots protected and update users accordingly

Change-Id: If38be72e9037126b6b697c5064a07de29a2ef8e5
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
This commit is contained in:
Tobias Hunger
2015-06-10 11:39:41 +02:00
parent 7c8d20ded7
commit 5a2459d1e1
6 changed files with 7 additions and 8 deletions

View File

@@ -231,7 +231,7 @@ void MercurialPlugin::createFileActions(const Core::Context &context)
m_deleteAction = new ParameterAction(tr("Delete..."), tr("Delete \"%1\"..."), ParameterAction::EnabledWithParameter, this);
command = Core::ActionManager::registerAction(m_deleteAction, Core::Id(Constants::DELETE), context);
command->setAttribute(Core::Command::CA_UpdateText);
connect(m_deleteAction, SIGNAL(triggered()), this, SLOT(promptToDeleteCurrentFile()));
connect(m_deleteAction, &QAction::triggered, this, &MercurialPlugin::promptToDeleteCurrentFile);
m_mercurialContainer->addAction(command);
m_commandLocator->appendCommand(command);
@@ -411,7 +411,7 @@ void MercurialPlugin::createRepositoryActions(const Core::Context &context)
m_createRepositoryAction = new QAction(tr("Create Repository..."), this);
command = Core::ActionManager::registerAction(m_createRepositoryAction, Core::Id(Constants::CREATE_REPOSITORY), context);
connect(m_createRepositoryAction, SIGNAL(triggered()), this, SLOT(createRepository()));
connect(m_createRepositoryAction, &QAction::triggered, this, &MercurialPlugin::createRepository);
m_mercurialContainer->addAction(command);
}