Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
window.h
Go to the documentation of this file.
1
// Copyright (C) 2016 The Qt Company Ltd.
2
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
3
4
#
ifndef
WINDOW_H
5
#
define
WINDOW_H
6
7
#
include
<
QWidget
>
8
9
//! [Window class with invokable method]
10
class
Window
:
public
QWidget
11
{
12
Q_OBJECT
13
14
public
:
15
Window
();
16
void
normalMethod
();
17
Q_INVOKABLE
void
invokableMethod
();
18
};
19
//! [Window class with invokable method]
20
21
#
endif
Window
[Window class with invokable method]
Definition
window.h:11
Window::normalMethod
void normalMethod()
Definition
window.cpp:10
Window::invokableMethod
Q_INVOKABLE void invokableMethod()
Definition
window.cpp:16
qtbase
src
corelib
doc
snippets
qmetaobject-invokable
window.h
Generated on
for Qt by
1.14.0