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
qndefnfcsmartposterrecord_p.h
Go to the documentation of this file.
1// Copyright (C) 2016 - 2012 Research In Motion
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 QNDEFNFCSMARTPOSTERRECORD_P_H
5#define QNDEFNFCSMARTPOSTERRECORD_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
19
21{
22public:
23 Q_DECLARE_NDEF_RECORD(QNdefNfcActRecord, QNdefRecord::NfcRtd, "act", QByteArray(0, char(0)))
24
27};
28
30{
31public:
33
34 void setSize(quint32 size);
35 quint32 size() const;
36};
37
39{
40public:
42
43 void setTypeInfo(const QString &type);
44 QString typeInfo() const;
45};
46
60
61QT_END_NAMESPACE
62
63Q_DECLARE_ISRECORDTYPE_FOR_NDEF_RECORD(QNdefNfcActRecord, QNdefRecord::NfcRtd, "act")
64Q_DECLARE_ISRECORDTYPE_FOR_NDEF_RECORD(QNdefNfcSizeRecord, QNdefRecord::NfcRtd, "s")
65Q_DECLARE_ISRECORDTYPE_FOR_NDEF_RECORD(QNdefNfcTypeRecord, QNdefRecord::NfcRtd, "t")
66
67#endif // QNDEFNFCSMARTPOSTERRECORD_P_H
The QNdefNfcIconRecord class provides an NFC MIME record to hold an icon.
Q_DECLARE_NDEF_RECORD(QNdefNfcSizeRecord, QNdefRecord::NfcRtd, "s", QByteArray(0, char(0))) void setSize(quint32 size)
The QNdefNfcSmartPosterRecord class provides an NFC RTD-SmartPoster.
Q_DECLARE_NDEF_RECORD(QNdefNfcTypeRecord, QNdefRecord::NfcRtd, "t", QByteArray(0, char(0))) void setTypeInfo(const QString &type)
\inmodule QtCore
Definition qurl.h:94
Combined button and popup list for selecting options.
#define Q_DECLARE_ISRECORDTYPE_FOR_MIME_NDEF_RECORD(className)
#define Q_DECLARE_MIME_NDEF_RECORD(className, initialPayload)