forked from qt-creator/qt-creator
Core/Utils: Migrate further to Utils::Id
The coreplugin/id.h header is kept for downstream for now.
Change-Id: I8c44590f7b988b3770ecdc177c40783e12353e66
(cherry picked from commit 430a33dcd9)
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
@@ -26,7 +26,8 @@
|
||||
#pragma once
|
||||
|
||||
#include <coreplugin/core_global.h>
|
||||
#include <coreplugin/id.h>
|
||||
|
||||
#include <utils/id.h>
|
||||
|
||||
#include <QPointer>
|
||||
#include <QString>
|
||||
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user