aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/cmake/test_qml_app_deployment/Shapes/FunkyShape/funkyitem.h
blob: ea0338763dfd2ef487f499c6fa9b136addcebaf4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// Copyright (C) 2022 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
#ifndef FunkyItem_H
#define FunkyItem_H

#include <QQuickPaintedItem>

class FunkyItem : public QQuickPaintedItem
{
    Q_OBJECT
    Q_DISABLE_COPY(FunkyItem)
    QML_NAMED_ELEMENT(FunkyItemCpp)

public:
    FunkyItem(QQuickItem *parent = nullptr);
    ~FunkyItem();
    void paint(QPainter *painter);
};

#endif // FunkyItem_H