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.cpp
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
#
include
"window.h"
5
6
Window
::Window()
7
{
8
}
9
10
void
Window
::
normalMethod
()
11
{
12
// Cannot be called by the meta-object system.
13
show();
14
}
15
16
void
Window
::
invokableMethod
()
17
{
18
// Can be called by the meta-object system.
19
show();
20
}
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.cpp
Generated on
for Qt by
1.14.0