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.h File Reference

(664d2a1cf019f76adf433d41b1418e515ffce86c)

#include <QtCore/QList>
#include <QtCore/QString>
#include <QtNfc/qtnfcglobal.h>
#include <QtNfc/QNdefRecord>
#include <QtNfc/qndefnfctextrecord.h>
#include <QtNfc/qndefnfcurirecord.h>
+ Include dependency graph for qndefnfcsmartposterrecord.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  QNdefNfcIconRecord
 The QNdefNfcIconRecord class provides an NFC MIME record to hold an icon. More...
 
class  QNdefNfcSmartPosterRecord
 The QNdefNfcSmartPosterRecord class provides an NFC RTD-SmartPoster. More...
 

Macros

#define Q_DECLARE_ISRECORDTYPE_FOR_MIME_NDEF_RECORD(className)
 
#define Q_DECLARE_MIME_NDEF_RECORD(className, initialPayload)
 

Macro Definition Documentation

◆ Q_DECLARE_ISRECORDTYPE_FOR_MIME_NDEF_RECORD

#define Q_DECLARE_ISRECORDTYPE_FOR_MIME_NDEF_RECORD ( className)
Value:
QT_BEGIN_NAMESPACE \
template<> inline bool QNdefRecord::isRecordType<className>() const\
{ \
return (typeNameFormat() == QNdefRecord::Mime); \
} \
bool isRecordType() const
Returns true if the NDEF record is of the specified record type; otherwise returns false.
Definition qndefrecord.h:48

Definition at line 20 of file qndefnfcsmartposterrecord.h.

◆ Q_DECLARE_MIME_NDEF_RECORD

#define Q_DECLARE_MIME_NDEF_RECORD ( className,
initialPayload )
Value:
className() : QNdefRecord(QNdefRecord::Mime, "") { setPayload(initialPayload); } \
className(const QNdefRecord &other) : QNdefRecord(other, QNdefRecord::Mime) { }
The QNdefRecord class provides an NFC NDEF record.
Definition qndefrecord.h:16
const char className[16]
[1]
Definition qwizard.cpp:99
QSharedPointer< T > other(t)
[5]

Definition at line 28 of file qndefnfcsmartposterrecord.h.