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
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
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
};
25
26
#endif
QWidget
The QWidget class is the base class of all user interface objects.
Definition
qwidget.h:99
Window
[Window class with invokable method]
Definition
window.h:11
Window::normalMethod
void normalMethod()
Definition
window.cpp:10
Window::newProperty
int newProperty
Definition
window.h:14
Window::normalProperty
int normalProperty
Definition
window.h:13
Q_PROPERTY
#define Q_PROPERTY(...)
Definition
qtmetamacros.h:56
Q_OBJECT
#define Q_OBJECT
Definition
qtmetamacros.h:119
Q_REVISION
#define Q_REVISION(...)
Definition
qtmetamacros.h:59
slots
#define slots
Definition
qtmetamacros.h:40
qtbase
src
corelib
doc
snippets
qmetaobject-revision
window.h
Generated by
1.10.0