src/hbcore/gui/hbscrollbar.cpp
changeset 30 80e4d18b72f5
parent 28 b7da29130b0e
equal deleted inserted replaced
28:b7da29130b0e 30:80e4d18b72f5
    39 #include "hbeffectinternal_p.h"
    39 #include "hbeffectinternal_p.h"
    40 bool HbScrollBarPrivate::effectsLoaded = false;
    40 bool HbScrollBarPrivate::effectsLoaded = false;
    41 #endif
    41 #endif
    42 
    42 
    43 static const int REPEATION_TIME = 500;
    43 static const int REPEATION_TIME = 500;
    44 static const qreal THRESHOLD_VALUE = 2.0;
    44 static const qreal THRESHOLD_VALUE = 4.0;
    45 /*!
    45 /*!
    46     @stable
    46     @stable
    47     @hbcore
    47     @hbcore
    48     \class HbScrollBar
    48     \class HbScrollBar
    49     \brief The HbScrollBar class provides a vertical or horizontal scroll bar.
    49     \brief The HbScrollBar class provides a vertical or horizontal scroll bar.
   346 
   346 
   347     \sa HbScrollBar::setInteractive()
   347     \sa HbScrollBar::setInteractive()
   348 */
   348 */
   349 bool HbScrollBar::isInteractive() const
   349 bool HbScrollBar::isInteractive() const
   350 {
   350 {
   351     const Q_D(HbScrollBar);
   351     Q_D(const HbScrollBar);
   352     return d->mInteractive;
   352     return d->mInteractive;
   353 }
   353 }
   354 
   354 
   355 /*!
   355 /*!
   356     Sets the value of the scroll bar's \c interactive property, which controls whether the
   356     Sets the value of the scroll bar's \c interactive property, which controls whether the