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
qquicklabsplatformicon_p.h
Go to the documentation of this file.
1// Copyright (C) 2022 The Qt Company Ltd.
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
3
4#ifndef QQUICKLABSPLATFORMICON_P_H
5#define QQUICKLABSPLATFORMICON_P_H
6
7//
8// W A R N I N G
9// -------------
10//
11// This file is not part of the Qt API. It exists purely as an
12// implementation detail. This header file may change from version to
13// version without notice, or even be removed.
14//
15// We mean it.
16//
17
18#include <QtCore/qurl.h>
19#include <QtCore/qstring.h>
20
21#include <QtQml/qqmlengine.h>
22#include <QtCore/private/qglobal_p.h>
23
25
26class QObject;
27
29{
34 Q_PROPERTY(bool mask READ isMask WRITE setMask FINAL)
35
36public:
37 QUrl source() const;
38 void setSource(const QUrl &source);
39
40 QString name() const;
41 void setName(const QString &name);
42
43 bool isMask() const;
44 void setMask(bool mask);
45
46 bool operator==(const QQuickLabsPlatformIcon &other) const;
47 bool operator!=(const QQuickLabsPlatformIcon &other) const;
48
50 bool m_mask = false;
51 QUrl m_source;
52 QString m_name;
53};
54
56
57#endif // QQUICKLABSPLATFORMICON_P_H
\inmodule QtCore
Definition qobject.h:103
void setName(const QString &name)
void setSource(const QUrl &source)
\macro QT_RESTRICTED_CAST_FROM_ASCII
Definition qstring.h:129
\inmodule QtCore
Definition qurl.h:94
Combined button and popup list for selecting options.
GLuint name
GLint GLint GLint GLint GLint GLint GLint GLbitfield mask
GLsizei GLsizei GLchar * source
#define QML_ANONYMOUS
#define Q_PROPERTY(...)
#define Q_GADGET
QSharedPointer< T > other(t)
[5]