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:
Ulf Hermann
2015-04-10 17:19:09 +02:00
parent d573454936
commit 41572c77f1

View File

@@ -45,7 +45,6 @@ public:
int count() const;
void addTimelineModel(const TimelineModel *timelineModel);
const TimelineModel *timelineModelByModelId(int timelineModel) const;
QList<const TimelineModel *> timelineModels() const;
Q_INVOKABLE int typeId(int index) const;
@@ -69,6 +68,9 @@ public:
void clear();
protected:
const TimelineModel *timelineModelByModelId(int modelId) const;
signals:
void changed(int typeId, int timelineModel, int timelineIndex);