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.cpp
Go to the documentation of this file.
1
// Copyright (C) 2018 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
#
include
"qquicklabsplatformicon_p.h"
6
7
QT_BEGIN_NAMESPACE
8
9
QUrl QQuickLabsPlatformIcon::source()
const
10
{
11
return
m_source;
12
}
13
14
void
QQuickLabsPlatformIcon
::
setSource
(
const
QUrl& source)
15
{
16
m_source = source;
17
}
18
19
QString
QQuickLabsPlatformIcon
::
name
()
const
20
{
21
return
m_name;
22
}
23
24
void
QQuickLabsPlatformIcon
::
setName
(
const
QString& name)
25
{
26
m_name = name;
27
}
28
29
bool
QQuickLabsPlatformIcon
::
isMask
()
const
30
{
31
return
m_mask;
32
}
33
34
void
QQuickLabsPlatformIcon
::
setMask
(
bool
mask)
35
{
36
m_mask = mask;
37
}
38
39
bool
QQuickLabsPlatformIcon
::
operator
==(
const
QQuickLabsPlatformIcon
&other)
const
40
{
41
return
m_source == other.m_source && m_name == other.m_name && m_mask == other.m_mask;
42
}
43
44
bool
QQuickLabsPlatformIcon
::
operator
!=(
const
QQuickLabsPlatformIcon
&other)
const
45
{
46
return
!(*
this
==
other);
47
}
48
49
QT_END_NAMESPACE
50
51
#
include
"moc_qquicklabsplatformicon_p.cpp"
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::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.cpp
Generated on
for Qt by
1.14.0