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

KInit

KLauncher Class Reference

#include <klauncher.h>

Inheritance diagram for KLauncher:

Inheritance graph
[legend]

List of all members.


Detailed Description

Definition at line 116 of file klauncher.h.


Public Slots

void slotAutoStart ()
void slotDequeue ()
void slotKDEInitData (int)
void slotNameOwnerChanged (const QString &name, const QString &oldOnwer, const QString &newOwner)
void slotSlaveStatus (IdleSlave *)
void acceptSlave ()
void slotSlaveGone ()
void idleTimeout ()

Signals

void autoStart0Done ()
void autoStart1Done ()
void autoStart2Done ()

Public Member Functions

 KLauncher (int kdeinitSocket)
 ~KLauncher ()
void close ()
void autoStart (int phase=1)
void exec_blind (const QString &name, const QStringList &arg_list, const QStringList &envs, const QString &startup_id)
void exec_blind (const QString &name, const QStringList &arg_list)
void kdeinit_exec (const QString &app, const QStringList &args, const QStringList &env, const QString &startup_id, const QDBusMessage &msg)
void kdeinit_exec_wait (const QString &app, const QStringList &args, const QStringList &env, const QString &startup_id, const QDBusMessage &msg)
void reparseConfiguration ()
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)
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 waitForSlave (int pid, const QDBusMessage &msg)

Static Public Member Functions

static void destruct (int exit_code)

Public Attributes

serviceResult requestResult

Protected Slots

void slotGotOutput ()

Protected Member Functions

void processDied (pid_t pid, long exitStatus)
void requestStart (KLaunchRequest *request)
void requestDone (KLaunchRequest *request)
bool start_service (KService::Ptr service, const QStringList &urls, const QStringList &envs, const QString &startup_id, bool blind, bool autoStart, const QDBusMessage &msg)
bool kdeinit_exec (const QString &app, const QStringList &args, const QStringList &envs, const QString &startup_id, bool wait, const QDBusMessage &msg)
void createArgs (KLaunchRequest *request, const KService::Ptr service, const QStringList &url)
void queueRequest (KLaunchRequest *)
void send_service_startup_info (KLaunchRequest *request, KService::Ptr service, const QString &startup_id, const QStringList &envs)
void cancel_service_startup_info (KLaunchRequest *request, const QString &startup_id, const QStringList &envs)
void processRequestReturn (int status, const QByteArray &requestData)

Protected Attributes

QList< KLaunchRequest * > requestList
QList< KLaunchRequest * > requestQueue
KLaunchRequest * lastRequest
QList< SlaveWaitRequest * > mSlaveWaitRequest
int kdeinitSocket
QSocketNotifier * kdeinitNotifier
KIO::ConnectionServer mConnectionServer
QList< IdleSlave * > mSlaveList
QTimer mTimer
QTimer mAutoTimer
bool bProcessingQueue
AutoStart mAutoStart
QString mSlaveDebug
QString mSlaveValgrind
QString mSlaveValgrindSkin
bool dontBlockReading
Display * mCached_dpy

Constructor & Destructor Documentation

KLauncher::KLauncher ( int  kdeinitSocket  ) 

Definition at line 168 of file klauncher.cpp.

KLauncher::~KLauncher (  ) 

Definition at line 225 of file klauncher.cpp.


Member Function Documentation

void KLauncher::close (  ) 

Definition at line 230 of file klauncher.cpp.

void KLauncher::destruct ( int  exit_code  )  [static]

Definition at line 239 of file klauncher.cpp.

void KLauncher::processDied ( pid_t  pid,
long  exitStatus 
) [protected]

Definition at line 370 of file klauncher.cpp.

void KLauncher::requestStart ( KLaunchRequest *  request  )  [protected]

Definition at line 545 of file klauncher.cpp.

void KLauncher::requestDone ( KLaunchRequest *  request  )  [protected]

Definition at line 476 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 702 of file klauncher.cpp.

bool KLauncher::kdeinit_exec ( const QString &  app,
const QStringList &  args,
const QStringList &  envs,
const QString &  startup_id,
bool  wait,
const QDBusMessage &  msg 
) [protected]

Definition at line 866 of file klauncher.cpp.

void KLauncher::createArgs ( KLaunchRequest *  request,
const KService::Ptr  service,
const QStringList &  url 
) [protected]

Definition at line 937 of file klauncher.cpp.

void KLauncher::queueRequest ( KLaunchRequest *  request  )  [protected]

Definition at line 908 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 782 of file klauncher.cpp.

void KLauncher::cancel_service_startup_info ( KLaunchRequest *  request,
const QString &  startup_id,
const QStringList &  envs 
) [protected]

Definition at line 834 of file klauncher.cpp.

void KLauncher::autoStart0Done (  )  [signal]

void KLauncher::autoStart1Done (  )  [signal]

void KLauncher::autoStart2Done (  )  [signal]

void KLauncher::autoStart ( int  phase = 1  ) 

Definition at line 431 of file klauncher.cpp.

void KLauncher::exec_blind ( const QString &  name,
const QStringList &  arg_list,
const QStringList &  envs,
const QString &  startup_id 
)

Definition at line 621 of file klauncher.cpp.

void KLauncher::exec_blind ( const QString &  name,
const QStringList &  arg_list 
) [inline]

Definition at line 158 of file klauncher.h.

void KLauncher::kdeinit_exec ( const QString &  app,
const QStringList &  args,
const QStringList &  env,
const QString &  startup_id,
const QDBusMessage &  msg 
) [inline]

Definition at line 160 of file klauncher.h.

void KLauncher::kdeinit_exec_wait ( const QString &  app,
const QStringList &  args,
const QStringList &  env,
const QString &  startup_id,
const QDBusMessage &  msg 
) [inline]

Definition at line 162 of file klauncher.h.

void KLauncher::reparseConfiguration (  ) 

Definition at line 1161 of file klauncher.cpp.

void KLauncher::setLaunchEnv ( const QString &  name,
const QString &  value 
)

Definition at line 246 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 687 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 662 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 645 of file klauncher.cpp.

pid_t KLauncher::requestHoldSlave ( const KUrl &  url,
const QString &  app_socket 
)

Definition at line 953 of file klauncher.cpp.

pid_t KLauncher::requestSlave ( const QString &  protocol,
const QString &  host,
const QString &  app_socket,
QString &  error 
)

Definition at line 975 of file klauncher.cpp.

void KLauncher::waitForSlave ( int  pid,
const QDBusMessage &  msg 
)

Definition at line 1088 of file klauncher.cpp.

void KLauncher::slotAutoStart (  )  [slot]

Definition at line 442 of file klauncher.cpp.

void KLauncher::slotDequeue (  )  [slot]

Definition at line 919 of file klauncher.cpp.

void KLauncher::slotKDEInitData ( int   )  [slot]

Definition at line 289 of file klauncher.cpp.

void KLauncher::slotNameOwnerChanged ( const QString &  name,
const QString &  oldOnwer,
const QString &  newOwner 
) [slot]

Definition at line 390 of file klauncher.cpp.

void KLauncher::slotSlaveStatus ( IdleSlave *  slave  )  [slot]

Definition at line 1118 of file klauncher.cpp.

void KLauncher::acceptSlave (  )  [slot]

Definition at line 1103 of file klauncher.cpp.

void KLauncher::slotSlaveGone (  )  [slot]

Definition at line 1134 of file klauncher.cpp.

void KLauncher::idleTimeout (  )  [slot]

Definition at line 1145 of file klauncher.cpp.

void KLauncher::processRequestReturn ( int  status,
const QByteArray &  requestData 
) [protected]

Definition at line 326 of file klauncher.cpp.

void KLauncher::slotGotOutput (  )  [protected, slot]

Definition at line 1169 of file klauncher.cpp.


Member Data Documentation

serviceResult KLauncher::requestResult

Definition at line 189 of file klauncher.h.

QList<KLaunchRequest*> KLauncher::requestList [protected]

Definition at line 191 of file klauncher.h.

QList<KLaunchRequest*> KLauncher::requestQueue [protected]

Definition at line 192 of file klauncher.h.

KLaunchRequest* KLauncher::lastRequest [protected]

Definition at line 193 of file klauncher.h.

QList<SlaveWaitRequest*> KLauncher::mSlaveWaitRequest [protected]

Definition at line 194 of file klauncher.h.

int KLauncher::kdeinitSocket [protected]

Definition at line 195 of file klauncher.h.

QSocketNotifier* KLauncher::kdeinitNotifier [protected]

Definition at line 199 of file klauncher.h.

KIO::ConnectionServer KLauncher::mConnectionServer [protected]

Definition at line 201 of file klauncher.h.

QList<IdleSlave*> KLauncher::mSlaveList [protected]

Definition at line 202 of file klauncher.h.

QTimer KLauncher::mTimer [protected]

Definition at line 203 of file klauncher.h.

QTimer KLauncher::mAutoTimer [protected]

Definition at line 204 of file klauncher.h.

bool KLauncher::bProcessingQueue [protected]

Definition at line 205 of file klauncher.h.

AutoStart KLauncher::mAutoStart [protected]

Definition at line 206 of file klauncher.h.

QString KLauncher::mSlaveDebug [protected]

Definition at line 207 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.

bool KLauncher::dontBlockReading [protected]

Definition at line 210 of file klauncher.h.

Display* KLauncher::mCached_dpy [protected]

Definition at line 212 of file klauncher.h.


The documentation for this class was generated from the following files:
  • klauncher.h
  • klauncher.cpp

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