~ubuntu-sdk-team/ubuntu-ui-toolkit/trunk

« back to all changes in this revision

Viewing changes to src/Ubuntu/Components/plugin/gestures/ucswipearea.h

  • Committer: CI Train Bot
  • Author(s): Christian Dywan, Zsombor Egri, Zoltán Balogh, Tim Peeters, Albert Astals Cid, Michael Sheldon, Benjamin Zeller
  • Date: 2015-12-17 17:13:49 UTC
  • mfrom: (1000.739.27 OTA9-landing-2015-12-16)
  • Revision ID: ci-train-bot@canonical.com-20151217171349-8xwclnhnx8v9oz4m
OTA9-landing-2015-12-16
Approved by: Zoltan Balogh

Show diffs side-by-side

added added

removed removed

Lines of Context:
33
33
class UnownedTouchEvent;
34
34
class UCSwipeAreaPrivate;
35
35
 
 
36
class UCSwipeAreaPrivate;
36
37
class UBUNTUGESTURESQML_EXPORT UCSwipeArea : public QQuickItem
37
38
{
38
39
    Q_OBJECT
88
89
    void touchEvent(QTouchEvent *event) override;
89
90
    void itemChange(ItemChange change, const ItemChangeData &value) override;
90
91
 
91
 
public: // so tests can access it
92
 
    UCSwipeAreaPrivate *d;
 
92
    // functors
 
93
    void giveUpIfDisabledOrInvisible();
 
94
    void rejectGesture();
 
95
 
 
96
private:
 
97
    Q_DECLARE_PRIVATE(UCSwipeArea)
93
98
};
94
99
 
95
100
Q_DECLARE_LOGGING_CATEGORY(ucSwipeArea)