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

KInit

KLauncher Class Reference

#include <klauncher.h>

Inheritance diagram for KLauncher:

Inheritance graph
[legend]

List of all members.


Public Slots

void acceptSlave (KSocket *)
void idleTimeout ()
void slotAppRegistered (const QCString &appId)
void slotAutoStart ()
void slotDequeue ()
void slotKDEInitData (int)
void slotSlaveGone ()
void slotSlaveStatus (IdleSlave *)

Public Member Functions

void close ()
virtual QCStringList functions ()
virtual QCStringList interfaces ()
 KLauncher (int _kdeinitSocket, bool new_startup)
virtual bool process (const QCString &fun, const QByteArray &data, QCString &replyType, QByteArray &replyData)
 ~KLauncher ()

Static Public Member Functions

static void destruct (int exit_code)

Protected Member Functions

void autoStart (int phase)
void cancel_service_startup_info (KLaunchRequest *request, const QCString &startup_id, const QValueList< QCString > &envs)
void createArgs (KLaunchRequest *request, const KService::Ptr service, const QStringList &url)
void exec_blind (const QCString &name, const QValueList< QCString > &arg_list, const QValueList< QCString > &envs, const QCString &startup_id="")
bool kdeinit_exec (const QString &app, const QStringList &args, const QValueList< QCString > &envs, QCString startup_id, bool wait)
void processDied (pid_t pid, long exitStatus)
void queueRequest (KLaunchRequest *)
void requestDone (KLaunchRequest *request)
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 requestStart (KLaunchRequest *request)
void send_service_startup_info (KLaunchRequest *request, KService::Ptr service, const QCString &startup_id, const QValueList< QCString > &envs)
void setLaunchEnv (const QCString &name, const QCString &value)
bool start_service (KService::Ptr service, const QStringList &urls, const QValueList< QCString > &envs, const QCString &startup_id="", bool blind=false, bool autoStart=false)
bool start_service_by_desktop_name (const QString &serviceName, const QStringList &urls, const QValueList< QCString > &envs, const QCString &startup_id, bool blind)
bool start_service_by_desktop_path (const QString &serviceName, const QStringList &urls, const QValueList< QCString > &envs, const QCString &startup_id, bool blind)
bool start_service_by_name (const QString &serviceName, const QStringList &urls, const QValueList< QCString > &envs, const QCString &startup_id, bool blind)
void waitForSlave (pid_t pid)

Protected Attributes

bool bProcessingQueue
serviceResult DCOPresult
bool dontBlockReading
QSocketNotifier * kdeinitNotifier
int kdeinitSocket
KLaunchRequest * lastRequest
AutoStart mAutoStart
QTimer mAutoTimer
KServerSocket * mPoolSocket
QString mPoolSocketName
QCString mSlaveDebug
QPtrList< IdleSlave > mSlaveList
QCString mSlaveValgrind
QCString mSlaveValgrindSkin
QPtrList< SlaveWaitRequest > mSlaveWaitRequest
QTimer mTimer
bool newStartup
QPtrList< KLaunchRequest > requestList
QPtrList< KLaunchRequest > requestQueue

Detailed Description

Definition at line 108 of file klauncher.h.


Constructor & Destructor Documentation

KLauncher::KLauncher ( int  _kdeinitSocket,
bool  new_startup 
)

Definition at line 165 of file klauncher.cpp.

KLauncher::~KLauncher (  ) 

Definition at line 226 of file klauncher.cpp.


Member Function Documentation

void KLauncher::acceptSlave ( KSocket *  slaveSocket  )  [slot]

Definition at line 1355 of file klauncher.cpp.

void KLauncher::autoStart ( int  phase  )  [protected]

Definition at line 673 of file klauncher.cpp.

void KLauncher::cancel_service_startup_info ( KLaunchRequest *  request,
const QCString &  startup_id,
const QValueList< QCString > &  envs 
) [protected]

Definition at line 1104 of file klauncher.cpp.

void KLauncher::close (  ) 

Definition at line 231 of file klauncher.cpp.

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

Definition at line 1209 of file klauncher.cpp.

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

Definition at line 246 of file klauncher.cpp.

void KLauncher::exec_blind ( const QCString &  name,
const QValueList< QCString > &  arg_list,
const QValueList< QCString > &  envs,
const QCString &  startup_id = "" 
) [protected]

Definition at line 881 of file klauncher.cpp.

QCStringList KLauncher::functions (  )  [virtual]

Definition at line 453 of file klauncher.cpp.

void KLauncher::idleTimeout (  )  [slot]

Definition at line 1403 of file klauncher.cpp.

QCStringList KLauncher::interfaces (  )  [virtual]

Definition at line 445 of file klauncher.cpp.

bool KLauncher::kdeinit_exec ( const QString &  app,
const QStringList &  args,
const QValueList< QCString > &  envs,
QCString  startup_id,
bool  wait 
) [protected]

Definition at line 1138 of file klauncher.cpp.

bool KLauncher::process ( const QCString &  fun,
const QByteArray &  data,
QCString &  replyType,
QByteArray &  replyData 
) [virtual]

Definition at line 254 of file klauncher.cpp.

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

Definition at line 613 of file klauncher.cpp.

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

Definition at line 1180 of file klauncher.cpp.

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

Definition at line 729 of file klauncher.cpp.

pid_t KLauncher::requestHoldSlave ( const KURL &  url,
const QString &  app_socket 
) [protected]

Definition at line 1225 of file klauncher.cpp.

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

Definition at line 1244 of file klauncher.cpp.

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

Definition at line 790 of file klauncher.cpp.

void KLauncher::send_service_startup_info ( KLaunchRequest *  request,
KService::Ptr  service,
const QCString &  startup_id,
const QValueList< QCString > &  envs 
) [protected]

Definition at line 1049 of file klauncher.cpp.

void KLauncher::setLaunchEnv ( const QCString &  name,
const QCString &  value 
) [protected]

Definition at line 482 of file klauncher.cpp.

void KLauncher::slotAppRegistered ( const QCString &  appId  )  [slot]

Definition at line 634 of file klauncher.cpp.

void KLauncher::slotAutoStart (  )  [slot]

Definition at line 692 of file klauncher.cpp.

void KLauncher::slotDequeue (  )  [slot]

Definition at line 1191 of file klauncher.cpp.

void KLauncher::slotKDEInitData ( int   )  [slot]

Definition at line 524 of file klauncher.cpp.

void KLauncher::slotSlaveGone (  )  [slot]

Definition at line 1392 of file klauncher.cpp.

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

Definition at line 1370 of file klauncher.cpp.

bool KLauncher::start_service ( KService::Ptr  service,
const QStringList &  urls,
const QValueList< QCString > &  envs,
const QCString &  startup_id = "",
bool  blind = false,
bool  autoStart = false 
) [protected]

Definition at line 968 of file klauncher.cpp.

bool KLauncher::start_service_by_desktop_name ( const QString &  serviceName,
const QStringList &  urls,
const QValueList< QCString > &  envs,
const QCString &  startup_id,
bool  blind 
) [protected]

Definition at line 951 of file klauncher.cpp.

bool KLauncher::start_service_by_desktop_path ( const QString &  serviceName,
const QStringList &  urls,
const QValueList< QCString > &  envs,
const QCString &  startup_id,
bool  blind 
) [protected]

Definition at line 926 of file klauncher.cpp.

bool KLauncher::start_service_by_name ( const QString &  serviceName,
const QStringList &  urls,
const QValueList< QCString > &  envs,
const QCString &  startup_id,
bool  blind 
) [protected]

Definition at line 909 of file klauncher.cpp.

void KLauncher::waitForSlave ( pid_t  pid  )  [protected]

Definition at line 1340 of file klauncher.cpp.


Member Data Documentation

bool KLauncher::bProcessingQueue [protected]

Definition at line 189 of file klauncher.h.

serviceResult KLauncher::DCOPresult [protected]

Definition at line 181 of file klauncher.h.

bool KLauncher::dontBlockReading [protected]

Definition at line 194 of file klauncher.h.

QSocketNotifier* KLauncher::kdeinitNotifier [protected]

Definition at line 180 of file klauncher.h.

int KLauncher::kdeinitSocket [protected]

Definition at line 179 of file klauncher.h.

KLaunchRequest* KLauncher::lastRequest [protected]

Definition at line 182 of file klauncher.h.

AutoStart KLauncher::mAutoStart [protected]

Definition at line 190 of file klauncher.h.

QTimer KLauncher::mAutoTimer [protected]

Definition at line 188 of file klauncher.h.

KServerSocket* KLauncher::mPoolSocket [protected]

Definition at line 185 of file klauncher.h.

QString KLauncher::mPoolSocketName [protected]

Definition at line 184 of file klauncher.h.

QCString KLauncher::mSlaveDebug [protected]

Definition at line 191 of file klauncher.h.

QPtrList<IdleSlave> KLauncher::mSlaveList [protected]

Definition at line 186 of file klauncher.h.

QCString KLauncher::mSlaveValgrind [protected]

Definition at line 192 of file klauncher.h.

QCString KLauncher::mSlaveValgrindSkin [protected]

Definition at line 193 of file klauncher.h.

QPtrList<SlaveWaitRequest> KLauncher::mSlaveWaitRequest [protected]

Definition at line 183 of file klauncher.h.

QTimer KLauncher::mTimer [protected]

Definition at line 187 of file klauncher.h.

bool KLauncher::newStartup [protected]

Definition at line 195 of file klauncher.h.

QPtrList<KLaunchRequest> KLauncher::requestList [protected]

Definition at line 177 of file klauncher.h.

QPtrList<KLaunchRequest> KLauncher::requestQueue [protected]

Definition at line 178 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
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Class Members
  • Related Pages

API Reference

Skip menu "API Reference"
  • dcop
  • DNSSD
  • interfaces
  • Kate
  • kconf_update
  • KDECore
  • KDED
  • kdefx
  • KDEsu
  • kdeui
  • KDocTools
  • KHTML
  • KImgIO
  • KInit
  • kio
  • kioslave
  • KJS
  • KNewStuff
  • KParts
  • KUtils
Generated for API Reference by doxygen 1.5.9
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