BluezQt

utils.h
1 /*
2  * BluezQt - Asynchronous Bluez wrapper library
3  *
4  * SPDX-FileCopyrightText: 2014-2015 David Rosca <[email protected]>
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 
16 class QString;
17 class QDBusConnection;
18 
19 namespace BluezQt
20 {
21 namespace Strings
22 {
23 QString orgFreedesktopDBus();
24 QString orgFreedesktopDBusProperties();
25 QString orgBluez();
26 QString orgBluezAdapter1();
27 QString orgBluezBattery1();
28 QString orgBluezDevice1();
29 QString orgBluezGattService1();
30 QString orgBluezGattCharacteristic1();
31 QString orgBluezGattDescriptor1();
32 QString orgBluezInput1();
33 QString orgBluezGattManager1();
34 QString orgBluezLEAdvertisingManager1();
35 QString orgBluezMedia1();
36 QString orgBluezMediaPlayer1();
37 QString orgBluezMediaTransport1();
38 QString orgBluezAgentManager1();
39 QString orgBluezProfileManager1();
40 QString orgBluezObex();
41 QString orgBluezObexClient1();
42 QString orgBluezObexAgentManager1();
43 QString orgBluezObexSession1();
44 QString orgBluezObexTransfer1();
45 
46 }
47 
48 namespace DBusConnection
49 {
50 QDBusConnection orgBluez();
51 QDBusConnection orgBluezObex();
52 
53 }
54 
55 namespace Instance
56 {
57 Manager *manager();
58 void setManager(Manager *manager);
59 
60 ObexManager *obexManager();
61 void setObexManager(ObexManager *obexManager);
62 
63 }
64 
65 QStringList stringListToUpper(const QStringList &list);
66 ManData variantToManData(const QVariant &value);
67 Device::Type classToType(quint32 classNum);
68 Device::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-2022 The KDE developers.
Generated on Sun Sep 25 2022 04:19:10 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.