Commit ded0b1c4 authored by Orgad Shaneh's avatar Orgad Shaneh Committed by Orgad Shaneh

HelloWorld: Use Qt5-style connect

Change-Id: I6517b157130893800e39016aa346d26c16195103
Reviewed-by: Eike Ziller's avatarEike Ziller <>
parent a4116259
......@@ -94,7 +94,7 @@ bool HelloWorldPlugin::initialize(const QStringList &arguments, QString *errorMe
// Create an action to be triggered by a menu entry
QAction *helloWorldAction = new QAction(tr("Say \"&Hello World!\""), this);
connect(helloWorldAction, SIGNAL(triggered()), SLOT(sayHelloWorld()));
connect(helloWorldAction, &QAction::triggered, this, &HelloWorldPlugin::sayHelloWorld);
// Register the action with the action manager
Core::Command *command =
......@@ -44,7 +44,7 @@ public:
void extensionsInitialized();
private slots:
void sayHelloWorld();
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