diff options
Diffstat (limited to 'src/plugins/coreplugin/actionmanager/commandbutton.h')
-rw-r--r-- | src/plugins/coreplugin/actionmanager/commandbutton.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/plugins/coreplugin/actionmanager/commandbutton.h b/src/plugins/coreplugin/actionmanager/commandbutton.h index c34cbd61fe..fa6357f501 100644 --- a/src/plugins/coreplugin/actionmanager/commandbutton.h +++ b/src/plugins/coreplugin/actionmanager/commandbutton.h @@ -27,6 +27,8 @@ #include <coreplugin/core_global.h> +#include <utils/id.h> + #include <QPointer> #include <QString> #include <QToolButton> @@ -34,7 +36,6 @@ namespace Core { class Command; -class Id; class CORE_EXPORT CommandButton : public QToolButton { @@ -42,8 +43,8 @@ class CORE_EXPORT CommandButton : public QToolButton Q_PROPERTY(QString toolTipBase READ toolTipBase WRITE setToolTipBase) public: explicit CommandButton(QWidget *parent = nullptr); - explicit CommandButton(Id id, QWidget *parent = nullptr); - void setCommandId(Id id); + explicit CommandButton(Utils::Id id, QWidget *parent = nullptr); + void setCommandId(Utils::Id id); QString toolTipBase() const; void setToolTipBase(const QString &toolTipBase); |