Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
examples.cpp
Go to the documentation of this file.
1
// Copyright (C) 2024 The Qt Company Ltd.
2
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
3
5
// myapp.cpp
6
#include "myapp.h"
7
#include <QObject>
8
9
class
MyApp
:
public
QObject
{
10
Q_OBJECT
11
public
:
12
MyApp
() =
default
;
13
};
14
15
#include "myapp.moc"
MyApp
[qt_wrap_cpp_4]
Definition
examples.cpp:9
MyApp::MyApp
MyApp()=default
QObject
\inmodule QtCore
Definition
qobject.h:103
Q_OBJECT
#define Q_OBJECT
Definition
qtmetamacros.h:119
qtbase
src
corelib
doc
snippets
cmake-macros
examples.cpp
Generated by
1.10.0