Commit edcb065e authored by Eike Ziller's avatar Eike Ziller Committed by Friedemann Kleint
Browse files

Windows build fix.



Change-Id: I4b7223e16eb727e9d98cc973eb64cb4f9feccdcc
Reviewed-by: default avatarFriedemann Kleint <Friedemann.Kleint@nokia.com>
parent b49a817b
......@@ -118,7 +118,7 @@
*/
/*!
\fn void Command::setDefaultText(const QString &text)
\fn void Command::setDescription(const QString &text)
Set the \a text that is used to represent the Command in the
keyboard shortcut settings dialog. If you don't set this,
the current text from the user visible action is taken (which
......@@ -126,9 +126,9 @@
*/
/*!
\fn QString Command::defaultText() const
\fn QString Command::description() const
Returns the text that is used to present this Command to the user.
\sa setDefaultText()
\sa setDescription()
*/
/*!
......
......@@ -346,7 +346,7 @@ EditorManager::EditorManager(ICore *core, QWidget *parent) :
QShortcut *sc = new QShortcut(parent);
cmd = am->registerShortcut(sc, Constants::CLOSE_ALTERNATIVE, editManagerContext);
cmd->setDefaultKeySequence(QKeySequence(tr("Ctrl+F4")));
cmd->setDefaultText(EditorManager::tr("Close"));
cmd->setDescription(EditorManager::tr("Close"));
connect(sc, SIGNAL(activated()), this, SLOT(closeEditor()));
#endif
......
......@@ -110,13 +110,13 @@ void RemoteLinuxPlugin::extensionsInitialized()
act = new QAction(tr("Start Remote Debug Server..."), 0);
cmd = am->registerAction(act, "StartGdbServer", globalcontext);
cmd->setDefaultText(tr("Start Gdbserver"));
cmd->setDescription(tr("Start Gdbserver"));
mstart->addAction(cmd, Debugger::Constants::G_MANUAL_REMOTE);
connect(act, SIGNAL(triggered()), SLOT(startGdbServer()));
act = new QAction(tr("Attach to Running Remote Process..."), 0);
cmd = am->registerAction(act, "AttachRemoteProcess", globalcontext);
cmd->setDefaultText(tr("Attach to Remote Process"));
cmd->setDescription(tr("Attach to Remote Process"));
mstart->addAction(cmd, Debugger::Constants::G_AUTOMATIC_REMOTE);
connect(act, SIGNAL(triggered()), SLOT(startGdbServer()));
*/
......
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