~josharenson/unity8/fix-greeter-password-focus

« back to all changes in this revision

Viewing changes to plugins/Ubuntu/Gestures/DirectionalDragArea.h

  • Committer: Josh Arenson
  • Date: 2016-03-25 19:53:42 UTC
  • mfrom: (1978.1.6 sessions-model)
  • mto: This revision was merged to the branch mainline in revision 1986.
  • Revision ID: joshua.arenson@canonical.com-20160325195342-ibax564aavo3lk2i
merge prereq

Show diffs side-by-side

added added

removed removed

Lines of Context:
77
77
            WRITE setImmediateRecognition
78
78
            NOTIFY immediateRecognitionChanged)
79
79
 
 
80
    // Whether we are merely monitoring touch events (in which case, we don't
 
81
    // claim ownership of the touch).
 
82
    Q_PROPERTY(bool monitorOnly READ monitorOnly WRITE setMonitorOnly NOTIFY monitorOnlyChanged)
 
83
 
80
84
    Q_ENUMS(Direction)
81
85
public:
82
86
    DirectionalDragArea(QQuickItem *parent = 0);
100
104
    bool immediateRecognition() const;
101
105
    void setImmediateRecognition(bool enabled);
102
106
 
 
107
    bool monitorOnly() const;
 
108
    void setMonitorOnly(bool monitorOnly);
 
109
 
103
110
    bool event(QEvent *e) override;
104
111
 
105
112
    /*
123
130
    void touchSceneXChanged(qreal value);
124
131
    void touchSceneYChanged(qreal value);
125
132
    void immediateRecognitionChanged(bool value);
 
133
    void monitorOnlyChanged(bool value);
126
134
 
127
135
protected:
128
136
    void touchEvent(QTouchEvent *event) override;