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

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.

bool kde_kiosk_admin

Definition at line 154 of file kapplication.cpp.

bool kde_kiosk_exception

Definition at line 153 of file kapplication.cpp.

KDECore

Skip menu "KDECore"
  • Main Page
  • Modules
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • 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