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
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
// Qt-Security score:significant reason:default
4
5
#
ifndef
QQUICKLABSPLATFORMICON_P_H
6
#
define
QQUICKLABSPLATFORMICON_P_H
7
8
//
9
// W A R N I N G
10
// -------------
11
//
12
// This file is not part of the Qt API. It exists purely as an
13
// implementation detail. This header file may change from version to
14
// version without notice, or even be removed.
15
//
16
// We mean it.
17
//
18
19
#
include
<
QtCore
/
qurl
.
h
>
20
#
include
<
QtCore
/
qstring
.
h
>
21
22
#
include
<
QtQml
/
qqmlengine
.
h
>
23
#
include
<
QtCore
/
private
/
qglobal_p
.
h
>
24
25
QT_BEGIN_NAMESPACE
26
27
class
QObject;
28
29
class
QQuickLabsPlatformIcon
30
{
31
Q_GADGET
32
QML_ANONYMOUS
33
Q_PROPERTY
(
QUrl
source
READ
source
WRITE
setSource
FINAL
)
34
Q_PROPERTY
(
QString
name
READ
name
WRITE
setName
FINAL
)
35
Q_PROPERTY
(
bool
mask
READ
isMask
WRITE
setMask
FINAL
)
36
37
public
:
38
QUrl
source
()
const
;
39
void
setSource
(
const
QUrl &source);
40
41
QString
name
()
const
;
42
void
setName
(
const
QString &name);
43
44
bool
isMask
()
const
;
45
void
setMask
(
bool
mask);
46
47
bool
operator
==(
const
QQuickLabsPlatformIcon
&other)
const
;
48
bool
operator
!=(
const
QQuickLabsPlatformIcon
&other)
const
;
49
50
private
:
51
bool
m_mask =
false
;
52
QUrl m_source;
53
QString m_name;
54
};
55
56
QT_END_NAMESPACE
57
58
#
endif
// QQUICKLABSPLATFORMICON_P_H
QQuickLabsPlatformIcon
Definition
qquicklabsplatformicon_p.h:30
QQuickLabsPlatformIcon::setName
void setName(const QString &name)
Definition
qquicklabsplatformicon.cpp:24
QQuickLabsPlatformIcon::setMask
void setMask(bool mask)
Definition
qquicklabsplatformicon.cpp:34
QQuickLabsPlatformIcon::isMask
bool isMask() const
Definition
qquicklabsplatformicon.cpp:29
QQuickLabsPlatformIcon::setSource
void setSource(const QUrl &source)
Definition
qquicklabsplatformicon.cpp:14
QQuickLabsPlatformIcon::source
QML_ANONYMOUSQUrl source
Definition
qquicklabsplatformicon_p.h:33
QQuickLabsPlatformIcon::operator==
bool operator==(const QQuickLabsPlatformIcon &other) const
Definition
qquicklabsplatformicon.cpp:39
QQuickLabsPlatformIcon::operator!=
bool operator!=(const QQuickLabsPlatformIcon &other) const
Definition
qquicklabsplatformicon.cpp:44
QQuickLabsPlatformIcon::name
QString name() const
Definition
qquicklabsplatformicon.cpp:19
QPlatformGraphicsBufferHelper
\inmodule QtGui
qtdeclarative
src
labs
platform
qquicklabsplatformicon_p.h
Generated on
for Qt by
1.14.0