forked from qt-creator/qt-creator
fakevim: configurable mapping of ex commands to actions
default mapping: - :make -> build - :A -> switch header/source - :cn -> next issue item - :cp -> previous issue item Merge-request: 101 Reviewed-by: hjk <qtc-committer@nokia.com>
This commit is contained in:
@@ -246,9 +246,13 @@ QList<int> ActionManagerPrivate::defaultGroups() const
|
||||
return m_defaultGroups;
|
||||
}
|
||||
|
||||
QList<CommandPrivate *> ActionManagerPrivate::commands() const
|
||||
QList<Command *> ActionManagerPrivate::commands() const
|
||||
{
|
||||
return m_idCmdMap.values();
|
||||
// transform list of CommandPrivate into list of Command
|
||||
QList<Command *> result;
|
||||
foreach(Command *cmd, m_idCmdMap.values())
|
||||
result << cmd;
|
||||
return result;
|
||||
}
|
||||
|
||||
QList<ActionContainerPrivate *> ActionManagerPrivate::containers() const
|
||||
|
||||
Reference in New Issue
Block a user