~mterry/+junk/u8

« back to all changes in this revision

Viewing changes to tests/utils/modules/Unity/Test/TouchEventSequenceWrapper.h

  • Committer: Michael Zanetti
  • Date: 2016-11-30 13:28:07 UTC
  • mfrom: (2704 unity8)
  • mto: This revision was merged to the branch mainline in revision 2739.
  • Revision ID: michael.zanetti@canonical.com-20161130132807-c314dqdxenzwy69c
merge trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/*
2
 
 * Copyright 2013 Canonical Ltd.
 
2
 * Copyright 2013-2016 Canonical Ltd.
3
3
 *
4
4
 * This program is free software; you can redistribute it and/or modify
5
5
 * it under the terms of the GNU General Public License as published by
21
21
#include <QtTest/QTest>
22
22
#include <QtQml/qqml.h>
23
23
 
 
24
#include <QPointer>
 
25
 
24
26
class QQuickItem;
25
27
 
26
28
class TouchEventSequenceWrapper : public QObject
37
39
 
38
40
private:
39
41
    QTest::QTouchEventSequence m_eventSequence;
40
 
    QQuickItem *m_item;
 
42
    QPointer<QQuickItem> m_item;
41
43
};
42
44
 
43
45
QML_DECLARE_TYPE(TouchEventSequenceWrapper)