| 55 | Q_D(const ElaPromotionView); |
| 56 | return d->_pCardExpandWidth; |
| 57 | } |
| 58 | |
| 59 | void ElaPromotionView::setCardCollapseWidth(int width) |
| 60 | { |
| 61 | Q_D(ElaPromotionView); |
| 62 | if (width <= 0) |
| 63 | { |
| 64 | return; |
| 65 | } |
| 66 | d->_pCardCollapseWidth = width; |
| 67 | d->_updatePromotionCardGeometry(); |
| 68 | } |
| 69 |
nothing calls this directly
no test coverage detected