KDBusAddons
kdbusservice.h
30 * href="http://standards.freedesktop.org/desktop-entry-spec/desktop-entry-spec-latest.html">Desktop
95 Unique = 1,
101 Multiple = 2,
111 NoExitOnFailure = 4,
116 * If exported, it will try first quitting the service calling @c org.qtproject.Qt.QCoreApplication.quit,
122 };
213 * @param arguments The arguments the executable was called with, starting with the executable file name.
220 * commandLineParser->parse(arguments); // same QCommandLineParser instance as the one used in main()
221 * handleCmdLine(workingDirectory); // shared method with main(), which uses commandLineParser to handle options and positional arguments
226 * and make sure the mainwindow is shown as well as request its activation from the window manager.
230 * "XDG_ACTIVATION_TOKEN" environment variable and unsets it again after the signal, if there is one.
231 * The util method @c KWindowSystem::updateStartupId(QWindow *window) (since KF 5.91) takes care of that.
242 * since parse() doesn't handle those (and exiting the already-running instance would be wrong anyway).
252 * For GUI applications, the signal handler also needs to deal with any platform-specific startup ids
253 * and make sure the mainwindow is shown as well as request its activation from the window manager.
265 * For GUI applications, the signal handler also needs to deal with any platform-specific startup ids
266 * and make sure the mainwindow is shown as well as request its activation from the window manager.
284 KDBUSADDONS_NO_EXPORT void ActivateAction(const QString &action_name, const QVariantList &maybeParameter, const QVariantMap &platform_data);
288 KDBUSADDONS_NO_EXPORT int CommandLine(const QStringList &arguments, const QString &workingDirectory, const QVariantMap &platform_data);
KDBusService takes care of registering the current process with D-Bus.
Definition kdbusservice.h:81
Q_ENUM(...)
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 16:59:44 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 16:59:44 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.