BluezQt

utils.h
1/*
2 * BluezQt - Asynchronous Bluez wrapper library
3 *
4 * SPDX-FileCopyrightText: 2014-2015 David Rosca <nowrep@gmail.com>
5 *
6 * SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL
7 */
8
9#ifndef BLUEZQT_UTILS_H
10#define BLUEZQT_UTILS_H
11
12#include "device.h"
13
14#include <QStringList>
15
16class QString;
17class QDBusConnection;
18
19namespace BluezQt
20{
21namespace Strings
22{
23QString orgFreedesktopDBus();
24QString orgFreedesktopDBusProperties();
25QString orgBluez();
26QString orgBluezAdapter1();
27QString orgBluezBattery1();
28QString orgBluezDevice1();
29QString orgBluezGattService1();
30QString orgBluezGattCharacteristic1();
31QString orgBluezGattDescriptor1();
32QString orgBluezInput1();
33QString orgBluezGattManager1();
34QString orgBluezLEAdvertisingManager1();
35QString orgBluezMedia1();
36QString orgBluezMediaPlayer1();
37QString orgBluezMediaTransport1();
38QString orgBluezAgentManager1();
39QString orgBluezProfileManager1();
40QString orgBluezObex();
41QString orgBluezObexClient1();
42QString orgBluezObexAgentManager1();
43QString orgBluezObexSession1();
44QString orgBluezObexTransfer1();
45
46}
47
48namespace DBusConnection
49{
50QDBusConnection orgBluez();
51QDBusConnection orgBluezObex();
52
53}
54
55namespace Instance
56{
57Manager *manager();
58void setManager(Manager *manager);
59
60ObexManager *obexManager();
61void setObexManager(ObexManager *obexManager);
62
63}
64
65QStringList stringListToUpper(const QStringList &list);
66ManData variantToManData(const QVariant &value);
67Device::Type classToType(quint32 classNum);
68Device::Type appearanceToType(quint16 appearance);
69
70} // namespace BluezQt
71
72#endif // BLUEZQT_UTILS_H
Type
Device types.
Definition device.h:65
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Tue Mar 26 2024 11:13:52 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.