Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Toggle main menu visibility
Loading...
Searching...
No Matches
qndefnfctextrecord.h
Go to the documentation of this file.
1
// Copyright (C) 2016 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
QNDEFNFCTEXTRECORD_H
5
#
define
QNDEFNFCTEXTRECORD_H
6
7
#
include
<
QtNfc
/
qtnfcglobal
.
h
>
8
#
include
<
QtNfc
/
QNdefRecord
>
9
10
QT_BEGIN_NAMESPACE
11
12
class
Q_NFC_EXPORT
QNdefNfcTextRecord
:
public
QNdefRecord
13
{
14
public
:
15
#
ifndef
Q_QDOC
16
Q_DECLARE_NDEF_RECORD
(QNdefNfcTextRecord, QNdefRecord::NfcRtd,
"T"
, QByteArray(1,
char
(0)))
17
#
else
18
QNdefNfcTextRecord();
19
QNdefNfcTextRecord(
const
QNdefRecord& other);
20
#
endif
21
22
QString locale()
const
;
23
void
setLocale(
const
QString &locale);
24
25
QString text()
const
;
26
void
setText(
const
QString text);
27
28
enum
Encoding {
29
Utf8,
30
Utf16
31
};
32
33
Encoding encoding()
const
;
34
void
setEncoding(Encoding encoding);
35
};
36
37
QT_END_NAMESPACE
38
39
Q_DECLARE_ISRECORDTYPE_FOR_NDEF_RECORD
(QNdefNfcTextRecord, QNdefRecord::NfcRtd,
"T"
)
40
41
#
endif
// QNDEFNFCTEXTRECORD_H
QNdefNfcIconRecord
The QNdefNfcIconRecord class provides an NFC MIME record to hold an icon.
Definition
qndefnfcsmartposterrecord.h:33
QNdefNfcSizeRecord
Definition
qndefnfcsmartposterrecord_p.h:37
QNdefNfcSizeRecord::size
quint32 size() const
Definition
qndefnfcsmartposterrecord.cpp:766
QNdefNfcSmartPosterRecordPrivate
Definition
qndefnfcsmartposterrecord_p.h:55
QNdefNfcSmartPosterRecordPrivate::m_type
std::optional< QNdefNfcTypeRecord > m_type
Definition
qndefnfcsmartposterrecord_p.h:68
QNdefNfcSmartPosterRecordPrivate::cleanup
void cleanup()
Definition
qndefnfcsmartposterrecord.cpp:66
QNdefNfcSmartPosterRecordPrivate::m_action
std::optional< QNdefNfcActRecord > m_action
Definition
qndefnfcsmartposterrecord_p.h:65
QNdefNfcSmartPosterRecordPrivate::m_size
std::optional< QNdefNfcSizeRecord > m_size
Definition
qndefnfcsmartposterrecord_p.h:67
QNdefNfcSmartPosterRecordPrivate::m_titleList
QList< QNdefNfcTextRecord > m_titleList
Definition
qndefnfcsmartposterrecord_p.h:63
QNdefNfcSmartPosterRecordPrivate::m_iconList
QList< QNdefNfcIconRecord > m_iconList
Definition
qndefnfcsmartposterrecord_p.h:66
QNdefNfcSmartPosterRecordPrivate::QNdefNfcSmartPosterRecordPrivate
QNdefNfcSmartPosterRecordPrivate()
Definition
qndefnfcsmartposterrecord_p.h:57
QNdefNfcSmartPosterRecordPrivate::m_uri
std::optional< QNdefNfcUriRecord > m_uri
Definition
qndefnfcsmartposterrecord_p.h:64
QNdefNfcSmartPosterRecordPrivate::~QNdefNfcSmartPosterRecordPrivate
~QNdefNfcSmartPosterRecordPrivate()
Definition
qndefnfcsmartposterrecord.cpp:62
QNdefNfcSmartPosterRecord
The QNdefNfcSmartPosterRecord class provides an NFC RTD-SmartPoster.
Definition
qndefnfcsmartposterrecord.h:42
QNdefNfcTextRecord
The QNdefNfcTextRecord class provides an NFC RTD-Text.
Definition
qndefnfctextrecord.h:13
QNdefNfcTypeRecord
Definition
qndefnfcsmartposterrecord_p.h:46
QNdefNfcTypeRecord::typeInfo
QString typeInfo() const
Definition
qndefnfcsmartposterrecord.cpp:782
QUrl
\inmodule QtCore
Definition
qurl.h:95
QT_BEGIN_NAMESPACE
Combined button and popup list for selecting options.
Definition
qsequentialanimationgroup.cpp:47
std
[33]
Definition
src_corelib_tools_qhash.cpp:421
Q_DECLARE_ISRECORDTYPE_FOR_MIME_NDEF_RECORD
#define Q_DECLARE_ISRECORDTYPE_FOR_MIME_NDEF_RECORD(className)
Definition
qndefnfcsmartposterrecord.h:20
Q_DECLARE_MIME_NDEF_RECORD
#define Q_DECLARE_MIME_NDEF_RECORD(className, initialPayload)
Definition
qndefnfcsmartposterrecord.h:28
Q_DECLARE_ISRECORDTYPE_FOR_NDEF_RECORD
#define Q_DECLARE_ISRECORDTYPE_FOR_NDEF_RECORD(className, typeNameFormat_, type_)
Definition
qndefrecord.h:72
Q_DECLARE_NDEF_RECORD
#define Q_DECLARE_NDEF_RECORD(className, typeNameFormat, type, initialPayload)
Definition
qndefrecord.h:68
qtconnectivity
src
nfc
qndefnfctextrecord.h
Generated on
for Qt by
1.18.0