~fginther/oif-qml/oneiric-1.0.7-rename

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
/* Copyright 2011 Canonical, Ltd. This software is licensed under the GNU
 * Lesser General Public License version 3 or later (see the file COPYING).
 */

#ifndef UTOUCH_QML_UTOUCHDRAGAREA_H_
#define UTOUCH_QML_UTOUCHDRAGAREA_H_

#include "continuousgesturearea.h"

/**
 * An input-only item for receiving non-instantaneous drag gesture events.
 */

class UTouchDragArea : public ContinuousGestureArea {
  Q_OBJECT

 public:
  explicit UTouchDragArea(QDeclarativeItem* parent = 0);

 private:
  Q_DISABLE_COPY(UTouchDragArea)
};

QML_DECLARE_TYPE(UTouchDragArea)

#endif  // UTOUCH_QML_UTOUCHDRAGAREA_H_