KInit
KLauncher Class Reference
#include <klauncher.h>

Detailed Description
Definition at line 118 of file klauncher.h.
Public Slots | |
| void | acceptSlave () |
| void | destruct () |
| void | idleTimeout () |
| void | slotAutoStart () |
| void | slotDequeue () |
| void | slotKDEInitData (int) |
| void | slotNameOwnerChanged (const QString &name, const QString &oldOnwer, const QString &newOwner) |
| void | slotSlaveGone () |
| void | slotSlaveStatus (IdleSlave *) |
Signals | |
| void | autoStart0Done () |
| void | autoStart1Done () |
| void | autoStart2Done () |
Public Member Functions | |
| void | autoStart (int phase=1) |
| void | close () |
| void | exec_blind (const QString &name, const QStringList &arg_list) |
| void | exec_blind (const QString &name, const QStringList &arg_list, const QStringList &envs, const QString &startup_id) |
| bool | kdeinit_exec (const QString &app, const QStringList &args, const QString &workdir, const QStringList &envs, const QString &startup_id, bool wait, const QDBusMessage &msg) |
| KLauncher (int kdeinitSocket) | |
| void | reparseConfiguration () |
| pid_t | requestHoldSlave (const KUrl &url, const QString &app_socket) |
| pid_t | requestSlave (const QString &protocol, const QString &host, const QString &app_socket, QString &error) |
| void | setLaunchEnv (const QString &name, const QString &value) |
| bool | start_service_by_desktop_name (const QString &serviceName, const QStringList &urls, const QStringList &envs, const QString &startup_id, bool blind, const QDBusMessage &msg) |
| bool | start_service_by_desktop_path (const QString &serviceName, const QStringList &urls, const QStringList &envs, const QString &startup_id, bool blind, const QDBusMessage &msg) |
| bool | start_service_by_name (const QString &serviceName, const QStringList &urls, const QStringList &envs, const QString &startup_id, bool blind, const QDBusMessage &msg) |
| void | waitForSlave (int pid, const QDBusMessage &msg) |
| ~KLauncher () | |
Public Attributes | |
| serviceResult | requestResult |
Protected Member Functions | |
| void | cancel_service_startup_info (KLaunchRequest *request, const QString &startup_id, const QStringList &envs) |
| void | createArgs (KLaunchRequest *request, const KService::Ptr service, const QStringList &url) |
| void | processDied (pid_t pid, long exitStatus) |
| void | processRequestReturn (int status, const QByteArray &requestData) |
| void | queueRequest (KLaunchRequest *) |
| void | requestDone (KLaunchRequest *request) |
| void | requestStart (KLaunchRequest *request) |
| void | send_service_startup_info (KLaunchRequest *request, KService::Ptr service, const QString &startup_id, const QStringList &envs) |
| bool | start_service (KService::Ptr service, const QStringList &urls, const QStringList &envs, const QString &startup_id, bool blind, bool autoStart, const QDBusMessage &msg) |
Protected Attributes | |
| bool | bProcessingQueue |
| bool | dontBlockReading |
| QSocketNotifier * | kdeinitNotifier |
| int | kdeinitSocket |
| KLaunchRequest * | lastRequest |
| AutoStart | mAutoStart |
| QTimer | mAutoTimer |
| Display * | mCached_dpy |
| KIO::ConnectionServer | mConnectionServer |
| QString | mSlaveDebug |
| QList< IdleSlave * > | mSlaveList |
| QString | mSlaveValgrind |
| QString | mSlaveValgrindSkin |
| QList< SlaveWaitRequest * > | mSlaveWaitRequest |
| QTimer | mTimer |
| QList< KLaunchRequest * > | requestList |
| QList< KLaunchRequest * > | requestQueue |
Constructor & Destructor Documentation
| KLauncher::KLauncher | ( | int | kdeinitSocket | ) |
Definition at line 166 of file klauncher.cpp.
| KLauncher::~KLauncher | ( | ) |
Definition at line 226 of file klauncher.cpp.
Member Function Documentation
| void KLauncher::acceptSlave | ( | ) | [slot] |
Definition at line 1113 of file klauncher.cpp.
| void KLauncher::autoStart | ( | int | phase = 1 |
) |
Definition at line 437 of file klauncher.cpp.
| void KLauncher::autoStart0Done | ( | ) | [signal] |
| void KLauncher::autoStart1Done | ( | ) | [signal] |
| void KLauncher::autoStart2Done | ( | ) | [signal] |
| void KLauncher::cancel_service_startup_info | ( | KLaunchRequest * | request, | |
| const QString & | startup_id, | |||
| const QStringList & | envs | |||
| ) | [protected] |
Definition at line 842 of file klauncher.cpp.
| void KLauncher::close | ( | ) |
Definition at line 232 of file klauncher.cpp.
| void KLauncher::createArgs | ( | KLaunchRequest * | request, | |
| const KService::Ptr | service, | |||
| const QStringList & | url | |||
| ) | [protected] |
Definition at line 947 of file klauncher.cpp.
| void KLauncher::destruct | ( | ) | [slot] |
Definition at line 244 of file klauncher.cpp.
| void KLauncher::exec_blind | ( | const QString & | name, | |
| const QStringList & | arg_list | |||
| ) | [inline] |
Definition at line 160 of file klauncher.h.
| void KLauncher::exec_blind | ( | const QString & | name, | |
| const QStringList & | arg_list, | |||
| const QStringList & | envs, | |||
| const QString & | startup_id | |||
| ) |
Definition at line 627 of file klauncher.cpp.
| void KLauncher::idleTimeout | ( | ) | [slot] |
Definition at line 1155 of file klauncher.cpp.
| bool KLauncher::kdeinit_exec | ( | const QString & | app, | |
| const QStringList & | args, | |||
| const QString & | workdir, | |||
| const QStringList & | envs, | |||
| const QString & | startup_id, | |||
| bool | wait, | |||
| const QDBusMessage & | msg | |||
| ) |
Definition at line 874 of file klauncher.cpp.
| void KLauncher::processDied | ( | pid_t | pid, | |
| long | exitStatus | |||
| ) | [protected] |
Definition at line 376 of file klauncher.cpp.
| void KLauncher::processRequestReturn | ( | int | status, | |
| const QByteArray & | requestData | |||
| ) | [protected] |
Definition at line 332 of file klauncher.cpp.
| void KLauncher::queueRequest | ( | KLaunchRequest * | request | ) | [protected] |
Definition at line 918 of file klauncher.cpp.
| void KLauncher::reparseConfiguration | ( | ) |
Definition at line 1171 of file klauncher.cpp.
| void KLauncher::requestDone | ( | KLaunchRequest * | request | ) | [protected] |
Definition at line 482 of file klauncher.cpp.
Definition at line 963 of file klauncher.cpp.
| pid_t KLauncher::requestSlave | ( | const QString & | protocol, | |
| const QString & | host, | |||
| const QString & | app_socket, | |||
| QString & | error | |||
| ) |
Definition at line 985 of file klauncher.cpp.
| void KLauncher::requestStart | ( | KLaunchRequest * | request | ) | [protected] |
Definition at line 551 of file klauncher.cpp.
| void KLauncher::send_service_startup_info | ( | KLaunchRequest * | request, | |
| KService::Ptr | service, | |||
| const QString & | startup_id, | |||
| const QStringList & | envs | |||
| ) | [protected] |
Definition at line 789 of file klauncher.cpp.
Definition at line 252 of file klauncher.cpp.
| void KLauncher::slotAutoStart | ( | ) | [slot] |
Definition at line 448 of file klauncher.cpp.
| void KLauncher::slotDequeue | ( | ) | [slot] |
Definition at line 929 of file klauncher.cpp.
| void KLauncher::slotKDEInitData | ( | int | ) | [slot] |
Definition at line 295 of file klauncher.cpp.
| void KLauncher::slotNameOwnerChanged | ( | const QString & | name, | |
| const QString & | oldOnwer, | |||
| const QString & | newOwner | |||
| ) | [slot] |
Definition at line 396 of file klauncher.cpp.
| void KLauncher::slotSlaveGone | ( | ) | [slot] |
Definition at line 1144 of file klauncher.cpp.
| void KLauncher::slotSlaveStatus | ( | IdleSlave * | slave | ) | [slot] |
Definition at line 1128 of file klauncher.cpp.
| bool KLauncher::start_service | ( | KService::Ptr | service, | |
| const QStringList & | urls, | |||
| const QStringList & | envs, | |||
| const QString & | startup_id, | |||
| bool | blind, | |||
| bool | autoStart, | |||
| const QDBusMessage & | msg | |||
| ) | [protected] |
Definition at line 709 of file klauncher.cpp.
| bool KLauncher::start_service_by_desktop_name | ( | const QString & | serviceName, | |
| const QStringList & | urls, | |||
| const QStringList & | envs, | |||
| const QString & | startup_id, | |||
| bool | blind, | |||
| const QDBusMessage & | msg | |||
| ) |
Definition at line 694 of file klauncher.cpp.
| bool KLauncher::start_service_by_desktop_path | ( | const QString & | serviceName, | |
| const QStringList & | urls, | |||
| const QStringList & | envs, | |||
| const QString & | startup_id, | |||
| bool | blind, | |||
| const QDBusMessage & | msg | |||
| ) |
Definition at line 669 of file klauncher.cpp.
| bool KLauncher::start_service_by_name | ( | const QString & | serviceName, | |
| const QStringList & | urls, | |||
| const QStringList & | envs, | |||
| const QString & | startup_id, | |||
| bool | blind, | |||
| const QDBusMessage & | msg | |||
| ) |
Definition at line 652 of file klauncher.cpp.
| void KLauncher::waitForSlave | ( | int | pid, | |
| const QDBusMessage & | msg | |||
| ) |
Definition at line 1098 of file klauncher.cpp.
Member Data Documentation
bool KLauncher::bProcessingQueue [protected] |
Definition at line 205 of file klauncher.h.
bool KLauncher::dontBlockReading [protected] |
Definition at line 210 of file klauncher.h.
QSocketNotifier* KLauncher::kdeinitNotifier [protected] |
Definition at line 199 of file klauncher.h.
int KLauncher::kdeinitSocket [protected] |
Definition at line 197 of file klauncher.h.
KLaunchRequest* KLauncher::lastRequest [protected] |
Definition at line 195 of file klauncher.h.
AutoStart KLauncher::mAutoStart [protected] |
Definition at line 206 of file klauncher.h.
QTimer KLauncher::mAutoTimer [protected] |
Definition at line 204 of file klauncher.h.
Display* KLauncher::mCached_dpy [protected] |
Definition at line 212 of file klauncher.h.
KIO::ConnectionServer KLauncher::mConnectionServer [protected] |
Definition at line 201 of file klauncher.h.
QString KLauncher::mSlaveDebug [protected] |
Definition at line 207 of file klauncher.h.
QList<IdleSlave*> KLauncher::mSlaveList [protected] |
Definition at line 202 of file klauncher.h.
QString KLauncher::mSlaveValgrind [protected] |
Definition at line 208 of file klauncher.h.
QString KLauncher::mSlaveValgrindSkin [protected] |
Definition at line 209 of file klauncher.h.
QList<SlaveWaitRequest*> KLauncher::mSlaveWaitRequest [protected] |
Definition at line 196 of file klauncher.h.
QTimer KLauncher::mTimer [protected] |
Definition at line 203 of file klauncher.h.
QList<KLaunchRequest*> KLauncher::requestList [protected] |
Definition at line 193 of file klauncher.h.
QList<KLaunchRequest*> KLauncher::requestQueue [protected] |
Definition at line 194 of file klauncher.h.
Definition at line 191 of file klauncher.h.
The documentation for this class was generated from the following files:
KDE 4.1 API Reference