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_pcsc_p.h
Go to the documentation of this file.
1// Copyright (C) 2022 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_PCSC_P_H
5#define QNEARFIELDMANAGER_PCSC_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_p.h"
19
21
22class QPcscManager;
23class QPcscCard;
24class QThread;
25
27{
29public:
32
33 bool isEnabled() const override;
34 bool isSupported(QNearFieldTarget::AccessMethod accessMethod) const override;
35
38
39public Q_SLOTS:
40 void onCardInserted(QPcscCard *card, const QByteArray &uid,
41 QNearFieldTarget::AccessMethods accessMethods, int maxInputLength);
42 void onTargetLost(QNearFieldTargetPrivate *target);
43
47
48private:
49 QThread *m_workerThread;
50 QPcscManager *m_worker;
51};
52
54
55#endif // QNEARFIELDMANAGER_PCSC_P_H
\inmodule QtCore
Definition qbytearray.h:57
bool isEnabled() const override
bool isSupported(QNearFieldTarget::AccessMethod accessMethod) const override
bool startTargetDetection(QNearFieldTarget::AccessMethod accessMethod) override
void startTargetDetectionRequest(QNearFieldTarget::AccessMethod accessMethod)
~QNearFieldManagerPrivateImpl() override
void stopTargetDetection(const QString &errorMessage) override
void onCardInserted(QPcscCard *card, const QByteArray &uid, QNearFieldTarget::AccessMethods accessMethods, int maxInputLength)
AccessMethod
This enum describes the access methods a near field target supports.
\macro QT_RESTRICTED_CAST_FROM_ASCII
Definition qstring.h:129
Combined button and popup list for selecting options.
GLenum target
#define Q_OBJECT
#define Q_SLOTS
#define Q_SIGNALS
static QString errorMessage(QUrlPrivate::ErrorCode errorCode, const QString &errorSource, qsizetype errorPosition)
Definition qurl.cpp:3517