Home
last modified time | relevance | path

Searched refs:UPOWER_SERVICE (Results 1 – 6 of 6) sorted by relevance

/dports/misc/actiona/actiona-3.10.1/actions/actionpacksystem/systeminfo/linux/
H A Dqdevicekitservice_linux.cpp46 #define UPOWER_SERVICE "org.freedesktop.UPower" macro
52 : QDBusAbstractInterface(QLatin1String(UPOWER_SERVICE) in QUPowerInterface()
54 , UPOWER_SERVICE in QUPowerInterface()
79 if (!connection().connect(QStringLiteral(UPOWER_SERVICE), in connectNotify()
81 QStringLiteral(UPOWER_SERVICE), in connectNotify()
89 if (!connection().connect(QStringLiteral(UPOWER_SERVICE), in connectNotify()
91 QStringLiteral(UPOWER_SERVICE), in connectNotify()
107 QStringLiteral(UPOWER_SERVICE), in disconnectNotify()
137 : QDBusAbstractInterface(QLatin1String(UPOWER_SERVICE) in QUPowerDeviceInterface()
242 connection().disconnect(QLatin1String(UPOWER_SERVICE), in disconnectNotify()
[all …]
/dports/sysutils/plasma5-powerdevil/powerdevil-5.23.5/daemon/backends/upower/
H A Dpowerdevilupowerbackend.cpp64 if (!QDBusConnection::systemBus().interface()->isServiceRegistered(UPOWER_SERVICE)) { in isAvailable()
76 if (reply.value().contains(UPOWER_SERVICE)) { in isAvailable()
78 QDBusConnection::systemBus().interface()->startService(UPOWER_SERVICE); in isAvailable()
79 … if (!QDBusConnection::systemBus().interface()->isServiceRegistered(UPOWER_SERVICE)) { in isAvailable()
92 … while (!QDBusConnection::systemBus().interface()->isServiceRegistered(UPOWER_SERVICE)) { in isAvailable()
131 if (!QDBusConnection::systemBus().interface()->isServiceRegistered(UPOWER_SERVICE)) { in init()
133 QDBusConnection::systemBus().interface()->startService(UPOWER_SERVICE); in init()
249 QDBusConnection::systemBus().connect(UPOWER_SERVICE, UPOWER_PATH, UPOWER_IFACE, "DeviceAdded", in initWithBrightness()
251 QDBusConnection::systemBus().connect(UPOWER_SERVICE, UPOWER_PATH, UPOWER_IFACE, "DeviceRemoved", in initWithBrightness()
555 …new OrgFreedesktopUPowerDeviceInterface(UPOWER_SERVICE, device, QDBusConnection::systemBus(), this… in addDevice()
[all …]
H A Dpowerdevilupowerbackend.h36 #define UPOWER_SERVICE "org.freedesktop.UPower" macro
/dports/x11/cinnamon-screensaver/cinnamon-screensaver-4.8.1/src/dbusdepot/
H A DuPowerClient.py38 UPOWER_SERVICE = "org.freedesktop.UPower" variable in UPowerClient
44 self.UPOWER_SERVICE,
101 self.UPOWER_SERVICE,
/dports/devel/liblxqt/liblxqt-1.0.0/lxqtpower/
H A Dlxqtpowerproviders.cpp37 #define UPOWER_SERVICE "org.freedesktop.UPower" macro
39 #define UPOWER_INTERFACE UPOWER_SERVICE
254 QL1S(UPOWER_SERVICE), in canAction()
262 QL1S(UPOWER_SERVICE), in canAction()
294 return dbusCall(QL1S(UPOWER_SERVICE), in doAction()
/dports/x11/sddm/sddm-0.19.0/src/daemon/
H A DPowerManager.cpp57 const QString UPOWER_SERVICE = QStringLiteral("org.freedesktop.UPower"); variable
208 if (interface->isServiceRegistered(UPOWER_SERVICE)) in PowerManager()
209 m_backends << new UPowerBackend(UPOWER_SERVICE, UPOWER_PATH, UPOWER_OBJECT); in PowerManager()