• Skip to content
  • Skip to link menu
KDE 4.0 API Reference
  • KDE API Reference
  • kdelibs
  • Sitemap
  • Contact Us
 

KInit

klauncher_adaptor.cpp

Go to the documentation of this file.
00001 /*
00002  * This file was generated by dbusidl2cpp version 0.4
00003  * when processing input file <stdin>
00004  *
00005  * dbusidl2cpp is Copyright (C) 2006 Trolltech AS. All rights reserved.
00006  *
00007  * This is an auto-generated file.
00008  */
00009 
00010 #include "klauncher_adaptor.h"
00011 #include <QtCore/QArgument>
00012 #include <QtCore/QByteRef>
00013 #include <QtCore/QList>
00014 #include <QtCore/QMap>
00015 #include <QtCore/QString>
00016 #include <QtCore/QStringList>
00017 #include <QtCore/QVariant>
00018 
00019 #include "klauncher.h"
00020 
00021 /*
00022  * Implementation of adaptor class KLauncherAdaptor
00023  */
00024 
00025 KLauncherAdaptor::KLauncherAdaptor(QObject *parent)
00026    : QDBusAbstractAdaptor(parent)
00027 {
00028     // constructor
00029     setAutoRelaySignals(true);
00030 }
00031 
00032 KLauncherAdaptor::~KLauncherAdaptor()
00033 {
00034     // destructor
00035 }
00036 
00037 void KLauncherAdaptor::autoStart(int phase)
00038 {
00039     // handle method call org.kde.KLauncher.autoStart
00040     static_cast<KLauncher *>(parent())->autoStart(phase);
00041 }
00042 
00043 void KLauncherAdaptor::exec_blind(const QString &name, const QStringList &arg_list)
00044 {
00045     // handle method call org.kde.KLauncher.exec_blind
00046     static_cast<KLauncher *>(parent())->exec_blind(name, arg_list);
00047 }
00048 
00049 void KLauncherAdaptor::exec_blind(const QString &name, const QStringList &arg_list, const QStringList &envs, const QString &startup_id)
00050 {
00051     // handle method call org.kde.KLauncher.exec_blind
00052     static_cast<KLauncher *>(parent())->exec_blind(name, arg_list, envs, startup_id);
00053 }
00054 
00055 int KLauncherAdaptor::kdeinit_exec(const QString &app, const QStringList &args, const QStringList &env, const QString& startup_id, const QDBusMessage &msg, QString &, QString &, int &)
00056 {
00057     // handle method call org.kde.KLauncher.kdeinit_exec
00058     static_cast<KLauncher *>(parent())->kdeinit_exec(app, args, env, startup_id, msg);
00059     return 0;                   // delayed reply
00060 }
00061 
00062 int KLauncherAdaptor::kdeinit_exec_wait(const QString &app, const QStringList &args, const QStringList &env, const QString& startup_id, const QDBusMessage &msg, QString &, QString &, int &)
00063 {
00064     // handle method call org.kde.KLauncher.kdeinit_exec_wait
00065     static_cast<KLauncher *>(parent())->kdeinit_exec_wait(app, args, env, startup_id, msg);
00066     return 0;                   // delayed reply
00067 }
00068 
00069 void KLauncherAdaptor::reparseConfiguration()
00070 {
00071     // handle method call org.kde.KLauncher.reparseConfiguration
00072     static_cast<KLauncher *>(parent())->reparseConfiguration();
00073 }
00074 
00075 int KLauncherAdaptor::requestHoldSlave(const QString &url, const QString &app_socket)
00076 {
00077     // handle method call org.kde.KLauncher.requestHoldSlave
00078     return static_cast<KLauncher *>(parent())->requestHoldSlave(KUrl(url), app_socket);
00079 }
00080 
00081 int KLauncherAdaptor::requestSlave(const QString &protocol, const QString &host, const QString &app_socket, QString &error)
00082 {
00083     // handle method call org.kde.KLauncher.requestSlave
00084     return static_cast<KLauncher *>(parent())->requestSlave(protocol, host, app_socket, error);
00085 }
00086 
00087 void KLauncherAdaptor::setLaunchEnv(const QString &name, const QString &value)
00088 {
00089     // handle method call org.kde.KLauncher.setLaunchEnv
00090     static_cast<KLauncher *>(parent())->setLaunchEnv(name, value);
00091 }
00092 
00093 int KLauncherAdaptor::start_service_by_desktop_name(const QString &serviceName, const QStringList &urls, const QStringList &envs, const QString &startup_id, bool blind, const QDBusMessage &msg, QString &dbusServiceName, QString &error, int &pid)
00094 {
00095     // handle method call org.kde.KLauncher.start_service_by_desktop_name
00096     KLauncher *p = static_cast<KLauncher *>(parent());
00097     p->start_service_by_desktop_name(serviceName, urls, envs, startup_id, blind, msg);
00098     dbusServiceName = p->requestResult.dbusName;
00099     error = p->requestResult.error;
00100     pid = p->requestResult.pid;
00101     return p->requestResult.result;
00102 }
00103 
00104 int KLauncherAdaptor::start_service_by_desktop_path(const QString &serviceName, const QStringList &urls, const QStringList &envs, const QString &startup_id, bool blind, const QDBusMessage &msg, QString &dbusServiceName, QString &error, int &pid)
00105 {
00106     // handle method call org.kde.KLauncher.start_service_by_desktop_path
00107     KLauncher *p = static_cast<KLauncher *>(parent());
00108     p->start_service_by_desktop_path(serviceName, urls, envs, startup_id, blind, msg);
00109     dbusServiceName = p->requestResult.dbusName;
00110     error = p->requestResult.error;
00111     pid = p->requestResult.pid;
00112     return p->requestResult.result;
00113 }
00114 
00115 int KLauncherAdaptor::start_service_by_name(const QString &serviceName, const QStringList &urls, const QStringList &envs, const QString &startup_id, bool blind, const QDBusMessage &msg, QString &dbusServiceName, QString &error, int &pid)
00116 {
00117     // handle method call org.kde.KLauncher.start_service_by_name
00118     KLauncher *p = static_cast<KLauncher *>(parent());
00119     p->start_service_by_name(serviceName, urls, envs, startup_id, blind, msg);
00120     dbusServiceName = p->requestResult.dbusName;
00121     error = p->requestResult.error;
00122     pid = p->requestResult.pid;
00123     return p->requestResult.result;
00124 }
00125 
00126 void KLauncherAdaptor::waitForSlave(int pid, const QDBusMessage &msg)
00127 {
00128     // handle method call org.kde.KLauncher.waitForSlave
00129     static_cast<KLauncher *>(parent())->waitForSlave(pid, msg);
00130 }
00131 
00132 
00133 #include "klauncher_adaptor.moc"

KInit

Skip menu "KInit"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Class Members
  • Related Pages

kdelibs

Skip menu "kdelibs"
  • DNSSD
  • Interfaces
  •   KHexEdit
  •   KMediaPlayer
  •   KSpeech
  •   KTextEditor
  • Kate
  • kconf_update
  • KDE3Support
  •   KUnitTest
  • KDECore
  • KDED
  • KDEsu
  • KDEUI
  • KDocTools
  • KFile
  • KHTML
  • KImgIO
  • KInit
  • KIO
  • KIOSlave
  • KJS
  •   WTF
  • KJSEmbed
  • KNewStuff
  • KParts
  • Kross
  • KUtils
  • Nepomuk
  •   core
  • Phonon
  •   Backend
  • Solid
  • Sonnet
  • ThreadWeaver
Generated for kdelibs by doxygen 1.5.4
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal