Commit 33c3a1fb authored by Orgad Shaneh's avatar Orgad Shaneh Committed by Orgad Shaneh

Wizard: Use Qt5-style connects

Change-Id: Ibe5d1543e99644ff2c07146b9a83d9fe5b4121e1
Reviewed-by: Tobias Hunger's avatarTobias Hunger <tobias.hunger@qt.io>
parent 868ec2b6
......@@ -43,7 +43,7 @@ bool %PluginName%Plugin::initialize(const QStringList &arguments, QString *error
Core::Command *cmd = Core::ActionManager::registerAction(action, Constants::ACTION_ID,
Core::Context(Core::Constants::C_GLOBAL));
cmd->setDefaultKeySequence(QKeySequence(tr("Ctrl+Alt+Meta+A")));
connect(action, SIGNAL(triggered()), this, SLOT(triggerAction()));
connect(action, &QAction::triggered, this, &%PluginName%Plugin::triggerAction);
Core::ActionContainer *menu = Core::ActionManager::createMenu(Constants::MENU_ID);
menu->menu()->setTitle(tr("%PluginName%"));
......
......@@ -20,7 +20,7 @@ public:
void extensionsInitialized();
ShutdownFlag aboutToShutdown();
private slots:
private:
void triggerAction();
};
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment