screensaver/snsrplugins/snsrbigclockscreensaverplugin/snsrswipewidget/inc/snsrswipewidget.h
equal
deleted
inserted
replaced
18 #ifndef SNSRSWIPEWIDGET_H |
18 #ifndef SNSRSWIPEWIDGET_H |
19 #define SNSRSWIPEWIDGET_H |
19 #define SNSRSWIPEWIDGET_H |
20 |
20 |
21 #include <QGesture> |
21 #include <QGesture> |
22 |
22 |
23 #include <hbwidget.h> |
23 #include <HbWidget> |
24 #include <hblabel.h> |
|
25 #include <hbeffect.h> |
|
26 #include "snsrtest_global.h" |
24 #include "snsrtest_global.h" |
27 |
25 |
28 SCREENSAVER_TEST_CLASS(T_SnsrSwipeWidget) |
26 SCREENSAVER_TEST_CLASS(T_SnsrSwipeWidget) |
29 |
27 |
30 class HbAction; |
28 class HbAction; |
55 void swipeDownDetected(); |
53 void swipeDownDetected(); |
56 |
54 |
57 private: // data |
55 private: // data |
58 |
56 |
59 HbLabel *mSlideLabel; |
57 HbLabel *mSlideLabel; |
60 HbIconItem* mIconItem; |
58 HbIconItem *mIconItem; |
61 //for swipe direction we need to know if the device is in landscapemode |
59 //for swipe direction we need to know if the device is in landscapemode |
62 int mCurrentOrientation; |
60 int mCurrentOrientation; |
63 |
61 |
64 Q_DISABLE_COPY(SnsrSwipeWidget) |
62 Q_DISABLE_COPY(SnsrSwipeWidget) |
65 |
63 |