equal
deleted
inserted
replaced
1 /* |
|
2 * Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies). |
|
3 * All rights reserved. |
|
4 * This component and the accompanying materials are made available |
|
5 * under the terms of "Eclipse Public License v1.0" |
|
6 * which accompanies this distribution, and is available |
|
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
8 * |
|
9 * Initial Contributors: |
|
10 * Nokia Corporation - initial contribution. |
|
11 * |
|
12 * Contributors: |
|
13 * |
|
14 * Description: Gesture filter for implementing touch gesture actions. |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef HB_GESTURE_FILTER_H |
|
20 #define HB_GESTURE_FILTER_H |
|
21 |
|
22 #include <hbwidget.h> |
|
23 |
|
24 #include <QObject> |
|
25 #include <qnamespace.h> |
|
26 #include <QGraphicsItem> |
|
27 |
|
28 class HbGesture; |
|
29 class HbGestureFilterPrivate; |
|
30 class HbGestureSceneFilterPrivate; |
|
31 class HbLongPressVisualizer; |
|
32 |
|
33 |
|
34 class HbGestureSceneFilter : public HbWidget |
|
35 { |
|
36 public: |
|
37 explicit HbGestureSceneFilter(Qt::MouseButton button = Qt::LeftButton, QGraphicsItem *parent = 0 ); |
|
38 ~HbGestureSceneFilter(); |
|
39 void addGesture( HbGesture *gesture ); |
|
40 |
|
41 public: |
|
42 |
|
43 // Stub stuff |
|
44 QList<HbGesture*> gestures; |
|
45 }; |
|
46 |
|
47 #endif // HB_GESTURE_FILTER_H |
|
48 |
|