KDECore
kinstance.cpp File Reference
#include "kinstance.h"
#include <stdlib.h>
#include <unistd.h>
#include "kconfig.h"
#include "klocale.h"
#include "kcharsets.h"
#include "kiconloader.h"
#include "kaboutdata.h"
#include "kstandarddirs.h"
#include "kdebug.h"
#include "kglobal.h"
#include "kmimesourcefactory.h"
#include <qfont.h>
#include "config.h"
#include <assert.h>
#include <qptrdict.h>
Include dependency graph for kinstance.cpp:
Go to the source code of this file.
Defines | |
#define | DEBUG_ADD do { if (!allInstances) { allInstances = new QPtrList<KInstance>(); allOldInstances = new QPtrDict<QCString>(); } allInstances->append(this); allOldInstances->insert( this, new QCString( _name)); } while (false); |
#define | DEBUG_CHECK_ALIVE do { if (!allInstances->contains((KInstance*)this)) { QCString *old = allOldInstances->find((KInstance*)this); qWarning("ACCESSING DELETED KINSTANCE! (%s)", old ? old->data() : "<unknown>"); assert(false); } } while (false); |
#define | DEBUG_REMOVE do { allInstances->removeRef(this); } while (false); |
Variables | |
static QPtrList< KInstance > * | allInstances = 0 |
static QPtrDict< QCString > * | allOldInstances = 0 |
bool | kde_kiosk_admin |
bool | kde_kiosk_exception |
Define Documentation
#define DEBUG_ADD do { if (!allInstances) { allInstances = new QPtrList<KInstance>(); allOldInstances = new QPtrDict<QCString>(); } allInstances->append(this); allOldInstances->insert( this, new QCString( _name)); } while (false); |
Definition at line 41 of file kinstance.cpp.
#define DEBUG_CHECK_ALIVE do { if (!allInstances->contains((KInstance*)this)) { QCString *old = allOldInstances->find((KInstance*)this); qWarning("ACCESSING DELETED KINSTANCE! (%s)", old ? old->data() : "<unknown>"); assert(false); } } while (false); |
Definition at line 43 of file kinstance.cpp.
#define DEBUG_REMOVE do { allInstances->removeRef(this); } while (false); |
Definition at line 42 of file kinstance.cpp.
Variable Documentation
QPtrList<KInstance>* allInstances = 0 [static] |
Definition at line 39 of file kinstance.cpp.
QPtrDict<QCString>* allOldInstances = 0 [static] |
Definition at line 40 of file kinstance.cpp.
Definition at line 154 of file kapplication.cpp.
Definition at line 153 of file kapplication.cpp.