forked from qt-creator/qt-creator
Terminal: Refactor actions
Change actions to use ActionBuilder and use ToggleAspects for tool buttons. Change-Id: I0f4a58c3a98cb2804e3d387ea02cac043bd71ae7 Reviewed-by: Cristian Adam <cristian.adam@qt.io>
This commit is contained in:
@@ -44,7 +44,7 @@ public:
|
||||
|
||||
void restart(const Utils::Terminal::OpenTerminalParameters &openParameters);
|
||||
|
||||
static void initActions();
|
||||
static void initActions(QObject *parent);
|
||||
|
||||
void unlockGlobalAction(const Utils::Id &commandId);
|
||||
|
||||
@@ -81,7 +81,6 @@ protected:
|
||||
void setClipboard(const QString &text) override;
|
||||
std::optional<TerminalView::Link> toLink(const QString &text) override;
|
||||
|
||||
RegisteredAction registerAction(Utils::Id commandId, const Core::Context &context);
|
||||
void registerShortcut(Core::Command *command);
|
||||
|
||||
void updateCopyState();
|
||||
|
||||
Reference in New Issue
Block a user