#include <KoApplication.h>
Graphe de collaboration de KoApplication:
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 | |
KoApplicationPrivate * | d |
Attributs privés statiques | |
static bool | m_starting |
is the application starting or not | |
Amis | |
class | ResetStarting |
Classes | |
class | ResetStarting |
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.
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] |
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] |
Définition à la ligne 254 du fichier KoApplication.cpp.
Références m_starting.
bool KoApplication::initHack | ( | ) | [private] |
friend class ResetStarting [friend] |
Définition à la ligne 81 du fichier KoApplication.h.
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().