src/hbcore/gui/hbscrollbar.cpp
changeset 2 06ff229162e9
parent 1 f7ac710697a9
child 5 627c4a0fd0e7
equal deleted inserted replaced
1:f7ac710697a9 2:06ff229162e9
    24 ****************************************************************************/
    24 ****************************************************************************/
    25 
    25 
    26 #include <hbscrollbar.h>
    26 #include <hbscrollbar.h>
    27 #include <hbscrollbar_p.h>
    27 #include <hbscrollbar_p.h>
    28 #include <hbwidget_p.h>
    28 #include <hbwidget_p.h>
    29 #include <hbstyleoptionscrollbar.h>
    29 #include <hbstyleoptionscrollbar_p.h>
    30 #include <hbwidgetfeedback.h>
    30 #include <hbwidgetfeedback.h>
    31 #include <hbframeitem.h>
    31 #include <hbframeitem.h>
    32 
    32 
    33 #include <QGraphicsSceneMouseEvent>
    33 #include <QGraphicsSceneMouseEvent>
    34 #include <QGesture>
    34 #include <QGesture>
   281     const Q_D(HbScrollBar);
   281     const Q_D(HbScrollBar);
   282     return d->mInteractive;
   282     return d->mInteractive;
   283 }
   283 }
   284 
   284 
   285 /*!
   285 /*!
   286     Returns whether scrollbar is in interactive mode.
       
   287 
       
   288     \deprecated HbScrollBar::interactive() const
       
   289         is deprecated. Please use HbScrollBar::isInteractive() const instead.
       
   290 
       
   291     \sa HbScrollBar::isInteractive()
       
   292 */
       
   293 bool HbScrollBar::interactive() const
       
   294 {
       
   295     qWarning() << "HbScrollBar::interactive() is DEPRECATED! Use HbScrollBar::isInteractive";
       
   296     return isInteractive();
       
   297 }
       
   298 
       
   299 /*!
       
   300     Sets the value of interactive property. If this value is set
   286     Sets the value of interactive property. If this value is set
   301     to true scrollbar is interactive, the user can change the scroll position by
   287     to true scrollbar is interactive, the user can change the scroll position by
   302     dragging the thumb or pressing the groove. Dragging the thumb emits valueChanged
   288     dragging the thumb or pressing the groove. Dragging the thumb emits valueChanged
   303     signal and pressing the groove emits valueChangeRequested which means
   289     signal and pressing the groove emits valueChangeRequested which means
   304     that the widget using scrollbars should handle the value change (for example
   290     that the widget using scrollbars should handle the value change (for example