Changeset View
Changeset View
Standalone View
Standalone View
core/daemon.cpp
Show All 33 Lines | |||||
34 | #endif | 34 | #endif | ||
35 | 35 | | |||
36 | #include "backends/lan/lanlinkprovider.h" | 36 | #include "backends/lan/lanlinkprovider.h" | ||
37 | #include "backends/loopback/loopbacklinkprovider.h" | 37 | #include "backends/loopback/loopbacklinkprovider.h" | ||
38 | #include "device.h" | 38 | #include "device.h" | ||
39 | #include "backends/devicelink.h" | 39 | #include "backends/devicelink.h" | ||
40 | #include "backends/linkprovider.h" | 40 | #include "backends/linkprovider.h" | ||
41 | 41 | | |||
42 | //In older Qt released, qAsConst isnt available | ||||
43 | #ifdef SAILFISHOS | ||||
44 | #define qAsConst | ||||
apol: You may be interested in this:
https://cgit.kde.org/kdevelop.git/tree/kdevplatform/qtcompat_p.h | |||||
piggz: Ive replaced my version with the one from kdevelop | |||||
45 | #endif | ||||
46 | | ||||
42 | static Daemon* s_instance = nullptr; | 47 | static Daemon* s_instance = nullptr; | ||
43 | 48 | | |||
44 | struct DaemonPrivate | 49 | struct DaemonPrivate | ||
45 | { | 50 | { | ||
46 | //Different ways to find devices and connect to them | 51 | //Different ways to find devices and connect to them | ||
47 | QSet<LinkProvider*> m_linkProviders; | 52 | QSet<LinkProvider*> m_linkProviders; | ||
48 | 53 | | |||
49 | //Every known device | 54 | //Every known device | ||
▲ Show 20 Lines • Show All 238 Lines • Show Last 20 Lines |
You may be interested in this:
https://cgit.kde.org/kdevelop.git/tree/kdevplatform/qtcompat_p.h