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

KInit

kinit_win.cpp File Reference

#include <config.h>
#include <errno.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <windows.h>
#include <psapi.h>
#include <QtCore/QProcess>
#include <QtCore/QFileInfo>
#include <QtDBus/QtDBus>
#include <kcomponentdata.h>
#include <kstandarddirs.h>
#include <kapplication.h>
#include <kdeversion.h>

Include dependency graph for kinit_win.cpp:

Go to the source code of this file.


Defines

#define KDED_EXENAME   "kded4"
#define KNOTIFY_EXENAME   "knotify4"

Functions

int launch (const QString &cmd)
bool checkIfRegisteredInDBus (const QString &name, int _timeout=10)
int main (int argc, char **argv, char **envp)

Variables

static KComponentData * s_instance = 0
int verbose = 0
QList< QProcess * > startedProcesses

Define Documentation

#define KDED_EXENAME   "kded4"

Definition at line 45 of file kinit_win.cpp.

#define KNOTIFY_EXENAME   "knotify4"

Definition at line 46 of file kinit_win.cpp.


Function Documentation

bool checkIfRegisteredInDBus ( const QString &  name,
int  _timeout = 10 
)

check dbus registration

Definition at line 81 of file kinit_win.cpp.

int launch ( const QString &  cmd  ) 

Definition at line 57 of file kinit_win.cpp.

int main ( int  argc,
char **  argv,
char **  envp 
)

Save arguments first...

Make process group leader (for shutting down children later)

Create our instance

Free arguments

wait for termination of all (core) processes

Definition at line 241 of file kinit_win.cpp.


Variable Documentation

KComponentData* s_instance = 0 [static]

Definition at line 48 of file kinit_win.cpp.

QList<QProcess*> startedProcesses

holds process list for suicide mode

Definition at line 54 of file kinit_win.cpp.

int verbose = 0

Definition at line 51 of file kinit_win.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