KNotifications
knotificationrestrictions.cpp
69 KNotificationRestrictions::KNotificationRestrictions(Services control, const QString &reason, QObject *parent)
109 QDBusMessage message = QDBusMessage::createMethodCall(QStringLiteral("org.freedesktop.ScreenSaver"),
169 QDBusMessage message = QDBusMessage::createMethodCall(QStringLiteral("org.freedesktop.ScreenSaver"),
bool isValid() const const
QDBusMessage call(const QDBusMessage &message, QDBus::CallMode mode, int timeout) const const
KNotificationRestrictions(Services control=NonCriticalServices, QObject *parent=nullptr)
Constructs a new service for restrict some services.
Definition: knotificationrestrictions.cpp:64
applicationDisplayName
QDBusConnection sessionBus()
bool isEmpty() const const
QCA_EXPORT QString appName()
applicationName
QDBusMessage createMethodCall(const QString &service, const QString &path, const QString &interface, const QString &method)
@ ScreenSaver
Causes the screensaver to be prevented from automatically turning on.
Definition: knotificationrestrictions.h:57
QString message
QDBusReply::Type value() const const
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Mon May 8 2023 03:49:15 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2023 The KDE developers.
Generated on Mon May 8 2023 03:49:15 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.