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 Research In Motion.
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 revision]
10
class
Window
:
public
QWidget
11
{
12
Q_OBJECT
13
Q_PROPERTY(
int
normalProperty READ normalProperty)
14
Q_PROPERTY
(
int
newProperty
READ
newProperty
REVISION
(2, 1))
15
16
public
:
17
Window
();
18
int
normalProperty
();
19
int
newProperty
();
20
public
slots
:
21
void
normalMethod
();
22
Q_REVISION
(2, 1)
void
newMethod
();
23
};
24
//! [Window class with revision]
25
26
#
endif
Window
[Window class with invokable method]
Definition
window.h:11
Window::normalMethod
void normalMethod()
Definition
window.cpp:10
Window::newProperty
int newProperty()
Window::Q_REVISION
Q_REVISION(2, 1) void new Method()
Window::normalProperty
int normalProperty()
qtbase
src
corelib
doc
snippets
qmetaobject-revision
window.h
Generated on
for Qt by
1.14.0