Référence de la classe KoApplication

Base class for all KOffice apps. Plus de détails...

#include <KoApplication.h>

Graphe de collaboration de KoApplication:

[légende]
Liste de tous les membres

Fonctions membres publiques

 KoApplication ()
virtual ~KoApplication ()
virtual bool start ()

Fonctions membres publiques statiques

static bool isStarting ()

Fonctions membres privées

bool initHack ()

Attributs privés

KoApplicationPrivated

Attributs privés statiques

static bool m_starting
 is the application starting or not

Amis

class ResetStarting

Classes

class  ResetStarting

Description détaillée

Base class for all KOffice apps.

This class handles arguments given on the command line and shows a generic about dialog for all KOffice apps.

In addition it adds the standard directories where KOffice applications can find their images etc.

If the last mainwindow becomes closed, KoApplication automatically calls QApplication::quit.

Définition à la ligne 42 du fichier KoApplication.h.


Documentation des contructeurs et destructeur

KoApplication::KoApplication (  ) 

Creates an application object, adds some standard directories and initializes kimgio.

Définition à la ligne 60 du fichier KoApplication.cpp.

Références d, KoGlobal::initialize(), et m_starting.

Voici le graphe d'appel pour cette fonction :

KoApplication::~KoApplication (  )  [virtual]

Destructor.

Définition à la ligne 248 du fichier KoApplication.cpp.

Références d.


Documentation des fonctions membres

bool KoApplication::start (  )  [virtual]

Call this to start the application.

Parses command line arguments and creates the initial shells and docs from them (or an empty doc if no cmd-line argument is specified ).

You must call this method directly before calling QApplication::exec.

It is valid behaviour not to call this method at all. In this case you have to process your command line parameters by yourself.

Définition à la ligne 94 du fichier KoApplication.cpp.

Références KoDocument::addShell(), KoDocument::checkAutoSaveFile(), KoDocumentEntry::createDoc(), KoDocumentEntry::isEmpty(), KoMainWindow::openDocument(), KoMainWindow::print(), KoDocument::readNativeService(), KoDocument::resetURL(), KoGlobal::setDPI(), KoDocument::setEmpty(), KoMainWindow::setRootDocument(), KoDocument::setTitleModified(), et KoDocument::showStartUpWidget().

Voici le graphe d'appel pour cette fonction :

bool KoApplication::isStarting (  )  [static]

Renvoie:
true if the application is starting

Définition à la ligne 254 du fichier KoApplication.cpp.

Références m_starting.

bool KoApplication::initHack (  )  [private]

Définition à la ligne 79 du fichier KoApplication.cpp.

Références options.


Documentation des fonctions amies et associées

friend class ResetStarting [friend]

Définition à la ligne 81 du fichier KoApplication.h.


Documentation des données membres

KoApplicationPrivate* KoApplication::d [private]

Définition à la ligne 79 du fichier KoApplication.h.

Référencé par KoApplication(), et ~KoApplication().

bool KoApplication::m_starting [static, private]

is the application starting or not

Définition à la ligne 80 du fichier KoApplication.h.

Référencé par isStarting(), KoApplication(), et KoApplication::ResetStarting::~ResetStarting().


La documentation de cette classe a été générée à partir des fichiers suivants :
Généré le Wed Nov 22 23:43:40 2006 pour KPlato par  doxygen 1.5.1-p1