1// Copyright (C) 2016 The Qt Company Ltd.
2// Copyright (C) 2016 BasysKom GmbH.
3// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
4
5#ifndef NEARD_HELPER_P_H
6#define NEARD_HELPER_P_H
7
8//
9// W A R N I N G
10// -------------
11//
12// This file is not part of the Qt API. It exists purely as an
13// implementation detail. This header file may change from version to
14// version without notice, or even be removed.
15//
16// We mean it.
17//
18
19#include "neard_dbus_types_p.h"
20
21class OrgFreedesktopDBusObjectManagerInterface;
22
23QT_BEGIN_NAMESPACE
24
25class NeardHelper : public QObject
26{
27 Q_OBJECT
28public:
29 NeardHelper(QObject* parent = 0);
30 static NeardHelper *instance();
31
32 OrgFreedesktopDBusObjectManagerInterface *dbusObjectManager();
33
34signals:
35 void tagFound(const QDBusObjectPath&);
36 void tagRemoved(const QDBusObjectPath&);
37 void recordFound(const QDBusObjectPath&);
38 void recordRemoved(const QDBusObjectPath&);
39
40private slots:
41 void interfacesAdded(const QDBusObjectPath&, InterfaceList);
42 void interfacesRemoved(const QDBusObjectPath&, const QStringList&);
43
44private:
45 OrgFreedesktopDBusObjectManagerInterface *m_dbusObjectManager;
46};
47
48QT_END_NAMESPACE
49
50#endif // NEARD_HELPER_P_H
51

Provided by KDAB

Privacy Policy
Learn to use CMake with our Intro Training
Find out more

source code of qtconnectivity/src/nfc/neard/neard_helper_p.h