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