aboutsummaryrefslogtreecommitdiffstats
path: root/doc/src/snippets/moc/myclass3.h
blob: a7c2edf20c97b80e1d8d0ff8fb1b010c54192566 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
// Copyright (C) 2016 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause

#ifndef MYCLASS3_H
#define MYCLASS3_H

#include <QObject>

//! [0]
class MyClass : public QObject
{
    Q_OBJECT
    Q_CLASSINFO("Author", "Oscar Peterson")
    Q_CLASSINFO("Status", "Active")

public:
    MyClass(QObject *parent = 0);
    ~MyClass();
};
//! [0]

#endif