| 106 | } |
| 107 | |
| 108 | QString ElaRoller::getCurrentData() const |
| 109 | { |
| 110 | Q_D(const ElaRoller); |
| 111 | if (d->_pCurrentIndex >= d->_pItemList.count()) |
| 112 | { |
| 113 | return {}; |
| 114 | } |
| 115 | return d->_pItemList[d->_pCurrentIndex]; |
| 116 | } |
| 117 | |
| 118 | void ElaRoller::setItemList(const QStringList& itemList) |
| 119 | { |
no test coverage detected