MCPcopy Create free account
hub / github.com/Liniyous/ElaWidgetTools / setIsAutoScroll

Method setIsAutoScroll

ElaWidgetTools/ElaPromotionView.cpp:90–103  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

88}
89
90void ElaPromotionView::setIsAutoScroll(bool isAutoScroll)
91{
92 Q_D(ElaPromotionView);
93 if (isAutoScroll)
94 {
95 d->_autoScrollTimer->start(d->_pAutoScrollInterval);
96 }
97 else
98 {
99 d->_autoScrollTimer->stop();
100 }
101 d->_pIsAutoScroll = isAutoScroll;
102 Q_EMIT pIsAutoScrollChanged();
103}
104
105bool ElaPromotionView::getIsAutoScroll() const
106{

Callers 1

T_CardMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected