Commit 8ac1f8eb authored by Niels Weber's avatar Niels Weber

Correct capitalization in wizard template and example.

Change-Id: I9a42ea97407179911d1736ba1ca79402d51d24c5
Reviewed-by: default avatarAlessandro Portale <alessandro.portale@theqtcompany.com>
parent c41abd2b
......@@ -41,7 +41,7 @@ bool ExamplePlugin::initialize(const QStringList &arguments, QString *errorStrin
Q_UNUSED(errorString)
//! [add action]
QAction *action = new QAction(tr("Example action"), this);
QAction *action = new QAction(tr("Example Action"), this);
Core::Command *cmd = Core::ActionManager::registerAction(action, Constants::ACTION_ID,
Core::Context(Core::Constants::C_GLOBAL));
cmd->setDefaultKeySequence(QKeySequence(tr("Ctrl+Alt+Meta+A")));
......@@ -76,7 +76,7 @@ ExtensionSystem::IPlugin::ShutdownFlag ExamplePlugin::aboutToShutdown()
void ExamplePlugin::triggerAction()
{
QMessageBox::information(Core::ICore::mainWindow(),
tr("Action triggered"),
tr("Action Triggered"),
tr("This is an action from Example."));
}
//! [slot implementation]
......@@ -40,7 +40,7 @@ bool %PluginName%Plugin::initialize(const QStringList &arguments, QString *error
Q_UNUSED(arguments)
Q_UNUSED(errorString)
QAction *action = new QAction(tr("%PluginName% action"), this);
QAction *action = new QAction(tr("%PluginName% Action"), this);
Core::Command *cmd = Core::ActionManager::registerAction(action, Constants::ACTION_ID,
Core::Context(Core::Constants::C_GLOBAL));
cmd->setDefaultKeySequence(QKeySequence(tr("Ctrl+Alt+Meta+A")));
......@@ -72,6 +72,6 @@ ExtensionSystem::IPlugin::ShutdownFlag %PluginName%Plugin::aboutToShutdown()
void %PluginName%Plugin::triggerAction()
{
QMessageBox::information(Core::ICore::mainWindow(),
tr("Action triggered"),
tr("Action Triggered"),
tr("This is an action from %PluginName%."));
}
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