KDECore
#include "kglobal.h"
#include "kglobal_p.h"
#include <QThread>
#include <QAtomicInt>
#include <config.h>
#include <QtCore/QList>
#include <QtCore/QSet>
#include <kaboutdata.h>
#include <kconfig.h>
#include <klocale.h>
#include <kcharsets.h>
#include <kstandarddirs.h>
#include <kcomponentdata.h>
#include <QtCore/QCoreApplication>
#include <QtCore/QDebug>
#include <QtCore/QTextCodec>
#include "kcmdlineargs.h"
#include <unistd.h>
Go to the source code of this file.
|
static QBasicAtomicInt | s_allowQuit = Q_BASIC_ATOMIC_INITIALIZER(false) |
|
static QBasicAtomicInt | s_refCount = Q_BASIC_ATOMIC_INITIALIZER(0) |
|
mode_t | s_umsk |
|
◆ MYASSERT
Value: if (!x) \
qFatal("Fatal error: you need to have a KComponentData object before\n" \
"you do anything that requires it! Examples of this are config\n" \
"objects, standard directories or translations.");
Definition at line 58 of file kglobal.cpp.
◆ PRIVATE_DATA
#define PRIVATE_DATA KGlobalPrivate *d = globalData |
◆ QT_NO_TRANSLATION
#define QT_NO_TRANSLATION |
◆ KStringDict
◆ K_GLOBAL_STATIC_WITH_ARGS()
K_GLOBAL_STATIC_WITH_ARGS |
( |
KComponentData |
, |
|
|
fakeComponent |
, |
|
|
(KGlobalPrivate::initFakeComponent()) |
|
|
) |
| |
◆ s_allowQuit
QBasicAtomicInt s_allowQuit = Q_BASIC_ATOMIC_INITIALIZER(false) |
|
static |
This counter indicates when to quit the application.
It starts at 0, is incremented by KMainWindow, systray icons, running jobs, etc. and decremented again when those things are destroyed. This mechanism allows dialogs and jobs to outlive the last window closed e.g. a file copy for a file manager, or 'compacting folders on exit' for a mail client, the job progress widget with "keep open" checked, etc.
Definition at line 318 of file kglobal.cpp.
◆ s_refCount
QBasicAtomicInt s_refCount = Q_BASIC_ATOMIC_INITIALIZER(0) |
|
static |
◆ s_umsk
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Mon Feb 20 2023 00:00:00 by
doxygen 1.9.6 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.