summaryrefslogtreecommitdiffstats
path: root/src/qmlandroid/view/qqmlandroidviewgroup_p.h
blob: 01c9af637d7f7d7001bb72591f8e148ae4f3ec65 (plain)
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
27
28
29
30
31
32
33
34
35
36
37
38
39
#ifndef QQMLANDROIDVIEWGROUP_P_H
#define QQMLANDROIDVIEWGROUP_P_H

//
//  W A R N I N G
//  -------------
//
// This file is not part of the Qt API.  It exists purely as an
// implementation detail.  This header file may change from version to
// version without notice, or even be removed.
//
// We mean it.
//

#include "qqmlandroidview_p.h"

QT_BEGIN_NAMESPACE

class QQmlAndroidViewGroup : public QQmlAndroidView
{
    Q_OBJECT

public:
    explicit QQmlAndroidViewGroup(QQmlAndroidView *parent = 0);

    static QQmlAndroidLayoutParams *qmlAttachedProperties(QObject *object);

protected:
    QAndroidJniObject onCreate() Q_DECL_OVERRIDE;
    void onInflate(QAndroidJniObject &instance) Q_DECL_OVERRIDE;

    void viewChange(ViewChange change, const ViewChangeData &data) Q_DECL_OVERRIDE;
};

QT_END_NAMESPACE

QML_DECLARE_TYPEINFO(QQmlAndroidViewGroup, QML_HAS_ATTACHED_PROPERTIES)

#endif // QQMLANDROIDVIEWGROUP_P_H