MauiMan
mauimanutils.cpp
28 auto watcher = new QDBusServiceWatcher(mauimanInterface, QDBusConnection::sessionBus(), QDBusServiceWatcher::WatchForRegistration | QDBusServiceWatcher::WatchForUnregistration, this);
58 QProcess::startDetached(QStringLiteral("MauiSettings"), QStringList {QStringLiteral("-m"), module});
bool serverRunning
Whether the server application is running, listening and broadcasting events.
Definition mauimanutils.h:15
static void startServer()
Invoke the MauiManServer4 application to be launched.
Definition mauimanutils.cpp:49
static bool isPlasmaSession()
Whether the current desktop environment session is Plasma from KDE.
Definition mauimanutils.cpp:77
static QString currentDesktopSession()
The name of the current desktop environment.
Definition mauimanutils.cpp:61
static bool isGnomeSession()
Whether the current desktop environment is GNOME Shell.
Definition mauimanutils.cpp:82
static void invokeManager(const QString &module)
Invoke the MauiSettings application to be launched at a given module name.
Definition mauimanutils.cpp:56
static bool isMauiSession()
Whether the current desktop environment session is running Maui Shell.
Definition mauimanutils.cpp:72
QString name(StandardAction id)
QDBusConnectionInterface * interface() const const
QDBusConnection sessionBus()
registeredServiceNames
WatchForRegistration
void serviceRegistered(const QString &serviceName)
void serviceUnregistered(const QString &serviceName)
bool startDetached(const QString &program, const QStringList &arguments, const QString &workingDirectory, qint64 *pid)
QFuture< ArgsType< Signal > > connect(Sender *sender, Signal signal)
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Dec 6 2024 12:06:58 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Dec 6 2024 12:06:58 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.