| 72 | Q_D(const ElaPromotionView); |
| 73 | return d->_pCardCollapseWidth; |
| 74 | } |
| 75 | |
| 76 | void ElaPromotionView::setCurrentIndex(int index) |
| 77 | { |
| 78 | Q_D(ElaPromotionView); |
| 79 | if (index < 0 || index >= d->_promotionCardList.count()) |
| 80 | { |
| 81 | return; |
| 82 | } |
| 83 | d->onPromotionCardClicked(d->_promotionCardList[index]); |
| 84 | } |
| 85 |
nothing calls this directly
no test coverage detected