forked from qt-creator/qt-creator
Timeline: Make TimelineNotesModel's id conversion protected
This is a handy helper function for derived classes but shouldn't be used from outside. Change-Id: Iaa357c63cd711c38f299f30e0c7ed35b88b52b24 Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
This commit is contained in:
@@ -45,7 +45,6 @@ public:
|
|||||||
|
|
||||||
int count() const;
|
int count() const;
|
||||||
void addTimelineModel(const TimelineModel *timelineModel);
|
void addTimelineModel(const TimelineModel *timelineModel);
|
||||||
const TimelineModel *timelineModelByModelId(int timelineModel) const;
|
|
||||||
QList<const TimelineModel *> timelineModels() const;
|
QList<const TimelineModel *> timelineModels() const;
|
||||||
|
|
||||||
Q_INVOKABLE int typeId(int index) const;
|
Q_INVOKABLE int typeId(int index) const;
|
||||||
@@ -69,6 +68,9 @@ public:
|
|||||||
|
|
||||||
void clear();
|
void clear();
|
||||||
|
|
||||||
|
protected:
|
||||||
|
const TimelineModel *timelineModelByModelId(int modelId) const;
|
||||||
|
|
||||||
signals:
|
signals:
|
||||||
void changed(int typeId, int timelineModel, int timelineIndex);
|
void changed(int typeId, int timelineModel, int timelineIndex);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user