Removes .IDL warnings: multiple enum definitons and builtin-type collisions
This commit is contained in:
135 files changed
+1122
-1122
No files matched your search
+3
-3
@@ -30,7 +30,7 @@ public:
|
||||
bool init(DDSTimelineModel *model, const QSet<int> &activeEventTypeIds);
|
||||
void setActiveEventTypeIds(const QSet<int> &activeEventTypeIds);
|
||||
|
||||
static QVector<ProjectDataManagement::EventType> possibleEvents();
|
||||
static QVector<ProjectDataManagement::PdmEventType> possibleEvents();
|
||||
signals:
|
||||
void signalEventTypesChanged(const QSet<int> &activeEventTypeIds);
|
||||
|
||||
@@ -40,9 +40,9 @@ NGL::INGLLogger &m_logger;
|
||||
void retranslate() override;
|
||||
|
||||
static QString checkBoxName(int eventTypeId) { return QStringLiteral("CheckBoxEvent%1").arg(eventTypeId); }
|
||||
static QString checkBoxName(ProjectDataManagement::EventType eventType) { return checkBoxName(eventType.underlying()); }
|
||||
static QString checkBoxName(ProjectDataManagement::PdmEventType eventType) { return checkBoxName(eventType.underlying()); }
|
||||
QCheckBox *checkBox(int eventTypeId) { return findChild<QCheckBox *>(checkBoxName(eventTypeId)); }
|
||||
QCheckBox *checkBox(ProjectDataManagement::EventType eventType) { return checkBox(eventType.underlying()); }
|
||||
QCheckBox *checkBox(ProjectDataManagement::PdmEventType eventType) { return checkBox(eventType.underlying()); }
|
||||
|
||||
private:
|
||||
Ui::TimelineLegendDialog *m_ui;
|
||||
|
||||
Reference in new issue
Block a user