aboutsummaryrefslogtreecommitdiffstats
path: root/doc/api/examples
diff options
context:
space:
mode:
authorNiels Weber <niels.weber@theqtcompany.com>2016-02-16 10:13:40 +0100
committerNiels Weber <niels.weber@theqtcompany.com>2016-02-16 10:59:41 +0000
commit8ac1f8eb29457a26379328ab3d809b2a27cb83c9 (patch)
tree078c596c9d438cc3c86d3d5b0b7145bb0bb6c019 /doc/api/examples
parentc41abd2b54f64e4ed1b6d34c72f4f006f21be7ec (diff)
Correct capitalization in wizard template and example.
Change-Id: I9a42ea97407179911d1736ba1ca79402d51d24c5 Reviewed-by: Alessandro Portale <alessandro.portale@theqtcompany.com>
Diffstat (limited to 'doc/api/examples')
-rw-r--r--doc/api/examples/exampleplugin/exampleplugin.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/api/examples/exampleplugin/exampleplugin.cpp b/doc/api/examples/exampleplugin/exampleplugin.cpp
index 66ff782fc26..bd629914448 100644
--- a/doc/api/examples/exampleplugin/exampleplugin.cpp
+++ b/doc/api/examples/exampleplugin/exampleplugin.cpp
@@ -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]