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

« back to all changes in this revision

Viewing changes to src/utouchdragarea.h

  • Committer: Bazaar Package Importer
  • Author(s): Chase Douglas
  • Date: 2011-08-10 17:06:49 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20110810170649-59oda65e340sce0c
Tags: 1.0.4-0ubuntu1
* New upstream release.
  - Fixes issue with gesture acceptance (LP: #823190)
  - Fixes error when run under qmlviewer -frameless (LP: #823194)
  - Documentation now reflects whether gesture area is continuous or
    instantaneous (LP: #823819)

Show diffs side-by-side

added added

removed removed

Lines of Context:
5
5
#ifndef UTOUCH_QML_UTOUCHDRAGAREA_H_
6
6
#define UTOUCH_QML_UTOUCHDRAGAREA_H_
7
7
 
8
 
#include "gesturearea.h"
 
8
#include "continuousgesturearea.h"
9
9
 
10
10
/**
11
11
 * An input-only item for receiving non-instantaneous drag gesture events.
12
12
 */
13
13
 
14
 
class UTouchDragArea : public GestureArea {
 
14
class UTouchDragArea : public ContinuousGestureArea {
15
15
  Q_OBJECT
16
16
 
17
17
 public:
18
18
  explicit UTouchDragArea(QDeclarativeItem* parent = 0);
19
19
 
20
 
  virtual bool IsGestureEventHandled(GestureEvent* event);
21
 
  virtual void HandleGestureUpdateEvent(bool end, GestureEvent* event);
22
 
 
23
20
 private:
24
21
  Q_DISABLE_COPY(UTouchDragArea)
25
22
};