/usr/include/klauncher_iface.h is in kdelibs5-dev 4:4.8.4-4+deb7u1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 | /*
* This file was generated by dbusxml2cpp version 0.6
* Command line was: dbusxml2cpp -p klauncher_iface -m ../kinit/org.kde.KLauncher.xml
*
* dbusxml2cpp is Copyright (C) 2006 Trolltech AS. All rights reserved.
*
* This is an auto-generated file.
* Do not edit! All changes made to it will be lost.
*/
/*
KDE5:
This is a manual copy of an automatically generated file, and the output from dbusxml2cpp
can change between dbusxml2cpp versions. This is currently no binary compatible
with what dbusxml2cpp generates these days, so if something else autogenerates the interface,
there will be crashes on systems with no symbol visibility (happened in ksmserver).
Either dbusxml2cpp should be fixed or this should be removed from kdelibs.
*/
#ifndef KLAUNCHER_IFACE_H_84591156096727
#define KLAUNCHER_IFACE_H_84591156096727
#include <kdecore_export.h>
#include <QtCore/QObject>
#include <QtCore/QByteArray>
#include <QtCore/QList>
#include <QtCore/QMap>
#include <QtCore/QString>
#include <QtCore/QStringList>
#include <QtCore/QVariant>
#include <QtDBus/QtDBus>
/*
* Proxy class for interface org.kde.KLauncher
*/
class KDECORE_EXPORT OrgKdeKLauncherInterface: public QDBusAbstractInterface
{
Q_OBJECT
public:
static inline const char *staticInterfaceName()
{ return "org.kde.KLauncher"; }
public:
OrgKdeKLauncherInterface(const QString &service, const QString &path, const QDBusConnection &connection, QObject *parent = 0);
~OrgKdeKLauncherInterface();
public Q_SLOTS: // METHODS
inline QDBusReply<void> autoStart()
{
QList<QVariant> argumentList;
return callWithArgumentList(QDBus::Block, QLatin1String("autoStart"), argumentList);
}
inline QDBusReply<void> autoStart(int phase)
{
QList<QVariant> argumentList;
argumentList << qVariantFromValue(phase);
return callWithArgumentList(QDBus::Block, QLatin1String("autoStart"), argumentList);
}
inline QDBusReply<void> exec_blind(const QString &name, const QStringList &arg_list, const QStringList &envs, const QString &startup_id)
{
QList<QVariant> argumentList;
argumentList << qVariantFromValue(name) << qVariantFromValue(arg_list) << qVariantFromValue(envs) << qVariantFromValue(startup_id);
return callWithArgumentList(QDBus::Block, QLatin1String("exec_blind"), argumentList);
}
inline QDBusReply<void> exec_blind(const QString &name, const QStringList &arg_list)
{
QList<QVariant> argumentList;
argumentList << qVariantFromValue(name) << qVariantFromValue(arg_list);
return callWithArgumentList(QDBus::Block, QLatin1String("exec_blind"), argumentList);
}
inline QDBusReply<int> kdeinit_exec(const QString &app, const QStringList &args, const QStringList &env, const QString &startup_id, QString &dbusServiceName, QString &error, int &pid)
{
QList<QVariant> argumentList;
argumentList << qVariantFromValue(app) << qVariantFromValue(args) << qVariantFromValue(env) << qVariantFromValue(startup_id);
QDBusMessage reply = callWithArgumentList(QDBus::Block, QLatin1String("kdeinit_exec"), argumentList);
if (reply.type() == QDBusMessage::ReplyMessage && reply.arguments().count() == 4) {
dbusServiceName = qdbus_cast<QString>(reply.arguments().at(1));
error = qdbus_cast<QString>(reply.arguments().at(2));
pid = qdbus_cast<int>(reply.arguments().at(3));
}
return reply;
}
inline QDBusReply<int> kdeinit_exec_wait(const QString &app, const QStringList &args, const QStringList &env, const QString &startup_id, QString &dbusServiceName, QString &error, int &pid)
{
QList<QVariant> argumentList;
argumentList << qVariantFromValue(app) << qVariantFromValue(args) << qVariantFromValue(env) << qVariantFromValue(startup_id);
QDBusMessage reply = callWithArgumentList(QDBus::Block, QLatin1String("kdeinit_exec_wait"), argumentList);
if (reply.type() == QDBusMessage::ReplyMessage && reply.arguments().count() == 4) {
dbusServiceName = qdbus_cast<QString>(reply.arguments().at(1));
error = qdbus_cast<QString>(reply.arguments().at(2));
pid = qdbus_cast<int>(reply.arguments().at(3));
}
return reply;
}
inline QDBusReply<void> reparseConfiguration()
{
QList<QVariant> argumentList;
return callWithArgumentList(QDBus::Block, QLatin1String("reparseConfiguration"), argumentList);
}
inline QDBusReply<int> requestHoldSlave(const QString &url, const QString &app_socket)
{
QList<QVariant> argumentList;
argumentList << qVariantFromValue(url) << qVariantFromValue(app_socket);
return callWithArgumentList(QDBus::Block, QLatin1String("requestHoldSlave"), argumentList);
}
inline QDBusReply<int> requestSlave(const QString &protocol, const QString &host, const QString &app_socket, QString &error)
{
QList<QVariant> argumentList;
argumentList << qVariantFromValue(protocol) << qVariantFromValue(host) << qVariantFromValue(app_socket);
QDBusMessage reply = callWithArgumentList(QDBus::Block, QLatin1String("requestSlave"), argumentList);
if (reply.type() == QDBusMessage::ReplyMessage && reply.arguments().count() == 2) {
error = qdbus_cast<QString>(reply.arguments().at(1));
}
return reply;
}
inline QDBusReply<void> setLaunchEnv(const QString &name, const QString &value)
{
QList<QVariant> argumentList;
argumentList << qVariantFromValue(name) << qVariantFromValue(value);
return callWithArgumentList(QDBus::Block, QLatin1String("setLaunchEnv"), argumentList);
}
inline QDBusReply<int> start_service_by_desktop_name(const QString &serviceName, const QStringList &urls, const QStringList &envs, const QString &startup_id, bool blind, QString &dbusServiceName, QString &error, int &pid)
{
QList<QVariant> argumentList;
argumentList << qVariantFromValue(serviceName) << qVariantFromValue(urls) << qVariantFromValue(envs) << qVariantFromValue(startup_id) << qVariantFromValue(blind);
QDBusMessage reply = callWithArgumentList(QDBus::Block, QLatin1String("start_service_by_desktop_name"), argumentList);
if (reply.type() == QDBusMessage::ReplyMessage && reply.arguments().count() == 4) {
dbusServiceName = qdbus_cast<QString>(reply.arguments().at(1));
error = qdbus_cast<QString>(reply.arguments().at(2));
pid = qdbus_cast<int>(reply.arguments().at(3));
}
return reply;
}
inline QDBusReply<int> start_service_by_desktop_path(const QString &serviceName, const QStringList &urls, const QStringList &envs, const QString &startup_id, bool blind, QString &dbusServiceName, QString &error, int &pid)
{
QList<QVariant> argumentList;
argumentList << qVariantFromValue(serviceName) << qVariantFromValue(urls) << qVariantFromValue(envs) << qVariantFromValue(startup_id) << qVariantFromValue(blind);
QDBusMessage reply = callWithArgumentList(QDBus::Block, QLatin1String("start_service_by_desktop_path"), argumentList);
if (reply.type() == QDBusMessage::ReplyMessage && reply.arguments().count() == 4) {
dbusServiceName = qdbus_cast<QString>(reply.arguments().at(1));
error = qdbus_cast<QString>(reply.arguments().at(2));
pid = qdbus_cast<int>(reply.arguments().at(3));
}
return reply;
}
inline QDBusReply<int> start_service_by_name(const QString &serviceName, const QStringList &urls, const QStringList &envs, const QString &startup_id, bool blind, QString &dbusServiceName, QString &error, int &pid)
{
QList<QVariant> argumentList;
argumentList << qVariantFromValue(serviceName) << qVariantFromValue(urls) << qVariantFromValue(envs) << qVariantFromValue(startup_id) << qVariantFromValue(blind);
QDBusMessage reply = callWithArgumentList(QDBus::Block, QLatin1String("start_service_by_name"), argumentList);
if (reply.type() == QDBusMessage::ReplyMessage && reply.arguments().count() == 4) {
dbusServiceName = qdbus_cast<QString>(reply.arguments().at(1));
error = qdbus_cast<QString>(reply.arguments().at(2));
pid = qdbus_cast<int>(reply.arguments().at(3));
}
return reply;
}
inline QDBusReply<void> waitForSlave(int pid)
{
QList<QVariant> argumentList;
argumentList << qVariantFromValue(pid);
return callWithArgumentList(QDBus::Block, QLatin1String("waitForSlave"), argumentList);
}
inline QDBusReply<bool> checkForHeldSlave(const QString &url)
{
QList<QVariant> argumentList;
argumentList << qVariantFromValue(url);
return callWithArgumentList(QDBus::Block, QLatin1String("checkForHeldSlave"), argumentList);
}
Q_SIGNALS: // SIGNALS
void autoStart0Done();
void autoStart1Done();
void autoStart2Done();
};
namespace org {
namespace kde {
typedef ::OrgKdeKLauncherInterface KLauncher;
}
}
#endif
|