Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
qnearfieldmanager_p.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 QNEARFIELDMANAGER_P_H
5#define QNEARFIELDMANAGER_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
18#include "qnearfieldmanager.h"
19#include "qnearfieldtarget.h"
20#include "qndefrecord.h"
21
22#include "qtnfcglobal.h"
23
24#include <QtCore/QObject>
25
27
28class QNdefFilter;
29
31{
33
34public:
35 explicit QNearFieldManagerPrivate(QObject *parent = nullptr)
36 : QObject(parent)
37 {
38 }
39
41 {
42 }
43
44 virtual bool isEnabled() const
45 {
46 return false;
47 }
48
50 {
51 return false;
52 }
53
55 {
56 return false;
57 }
58
59 virtual void stopTargetDetection(const QString &)
60 {
61 }
62
63 virtual void setUserInformation(const QString &)
64 {
65 }
66
72};
73
75
76#endif // QNEARFIELDMANAGER_P_H
The QNdefFilter class provides a filter for matching NDEF messages.
Definition qndeffilter.h:17
QNearFieldManagerPrivate(QObject *parent=nullptr)
virtual bool startTargetDetection(QNearFieldTarget::AccessMethod)
void targetDetected(QNearFieldTarget *target)
void adapterStateChanged(QNearFieldManager::AdapterState state)
virtual void setUserInformation(const QString &)
void targetLost(QNearFieldTarget *target)
virtual bool isEnabled() const
virtual void stopTargetDetection(const QString &)
virtual bool isSupported(QNearFieldTarget::AccessMethod) const
The QNearFieldTarget class provides an interface for communicating with a target device.
AccessMethod
This enum describes the access methods a near field target supports.
\inmodule QtCore
Definition qobject.h:103
\macro QT_RESTRICTED_CAST_FROM_ASCII
Definition qstring.h:129
else opt state
[0]
Combined button and popup list for selecting options.
GLenum target
#define Q_AUTOTEST_EXPORT
#define Q_OBJECT
#define signals