5 Timeline::Timeline(QObject
*parent
) : QStandardItemModel(parent
)
7 QStandardItem
*i
= new QStandardItem();
11 bool Timeline::hasItem(QStandardItem
*item
)
13 QModelIndexList tmp
= match(indexFromItem(this->item(0)), Id
, item
->data(Id
));
17 qDebug() << "Already on list...";
21 qDebug() << "Not in model..." << item
->data(Id
);