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
10class Window : public QWidget
11{
14 Q_PROPERTY(int newProperty READ newProperty REVISION(2, 1))
15
16public:
20public slots:
22 Q_REVISION(2, 1) void newMethod();
23};
25
26#endif
The QWidget class is the base class of all user interface objects.
Definition qwidget.h:99
[Window class with invokable method]
Definition window.h:11
void normalMethod()
Definition window.cpp:10
int newProperty
Definition window.h:14
int normalProperty
Definition window.h:13
#define Q_PROPERTY(...)
#define Q_OBJECT
#define Q_REVISION(...)
#define slots