src/hbwidgets/sliders/hbslidertickmarks_p.h
changeset 34 ed14f46c0e55
parent 6 c3690ec91ef8
equal deleted inserted replaced
31:7516d6d86cf5 34:ed14f46c0e55
    30 #include <hbwidget.h>
    30 #include <hbwidget.h>
    31 #include <hbnamespace.h>
    31 #include <hbnamespace.h>
    32 
    32 
    33 class QStyleOption;
    33 class QStyleOption;
    34 class HbSliderTickmarksPrivate;
    34 class HbSliderTickmarksPrivate;
       
    35 class HbSlider;
    35 
    36 
    36 class HB_AUTOTEST_EXPORT HbSliderTickmarks : public HbWidget
    37 class HB_AUTOTEST_EXPORT HbSliderTickmarks : public HbWidget
    37 {
    38 {
    38     Q_OBJECT
    39     Q_OBJECT
    39 public:
    40 public:
    40     explicit HbSliderTickmarks( QGraphicsItem *parent = 0 );
    41     explicit HbSliderTickmarks(HbSlider *parent = 0);
    41     ~HbSliderTickmarks();
    42     ~HbSliderTickmarks();
    42 
    43 
    43     enum {Type = HbPrivate::ItemType_SliderTickmarks };
    44     enum {Type = HbPrivate::ItemType_SliderTickmarks };
    44     int type() const {return Type;}
    45     int type() const {return Type;}
    45     virtual void resizeEvent(QGraphicsSceneResizeEvent *event);
    46     virtual void resizeEvent(QGraphicsSceneResizeEvent *event);
    60 
    61 
    61     Q_DECLARE_PRIVATE_D(d_ptr, HbSliderTickmarks )
    62     Q_DECLARE_PRIVATE_D(d_ptr, HbSliderTickmarks )
    62     Q_DISABLE_COPY( HbSliderTickmarks )
    63     Q_DISABLE_COPY( HbSliderTickmarks )
    63 };
    64 };
    64 
    65 
    65 #endif // HbSliderTickmarks_P_H
    66 #endif // HBSLIDERTICKMARKS_P_H