KDEUI
kapplication.cpp File Reference
#include "kapplication.h"
#include <config.h>
#include <QtCore/QTranslator>
#include <QtCore/QDir>
#include <QtCore/QFile>
#include <QtGui/QSessionManager>
#include <QtGui/QStyleFactory>
#include <QtCore/QTimer>
#include <QtGui/QWidget>
#include <QtCore/QList>
#include <QtDBus/QtDBus>
#include <QtCore/QMetaType>
#include "kauthorized.h"
#include "kaboutdata.h"
#include "kcheckaccelerators.h"
#include "kcrash.h"
#include "kconfig.h"
#include "kcmdlineargs.h"
#include "kclipboard.h"
#include "kglobalsettings.h"
#include "kdebug.h"
#include "kglobal.h"
#include "kicon.h"
#include "klocale.h"
#include "ksessionmanager.h"
#include "kstandarddirs.h"
#include "kstandardshortcut.h"
#include "ktoolinvocation.h"
#include "kgesturemap.h"
#include "kurl.h"
#include "kmessage.h"
#include "kmessageboxmessagehandler.h"
#include <QtGui/qx11info_x11.h>
#include <kstartupinfo.h>
#include <sys/types.h>
#include <sys/wait.h>
#include <fcntl.h>
#include <stdlib.h>
#include <unistd.h>
#include <netwm.h>
#include <X11/Xlib.h>
#include <X11/Xutil.h>
#include <X11/Xatom.h>
#include <X11/SM/SMlib.h>
#include <fixx11h.h>
#include <QX11Info>
#include <signal.h>
#include <QtGui/QActionEvent>
#include <kcomponentdata.h>
#include "kapplication.moc"
Go to the source code of this file.
Defines | |
#define | NUM_TO_STRING(num) NUM_TO_STRING2( num ) |
#define | NUM_TO_STRING2(num) #num |
#define | QT_NO_TRANSLATION |
#define | QT_NO_TRANSLATION |
Functions | |
static void | checkRestartVersion (QSessionManager &sm) |
static void | installSigpipeHandler () |
void | KApplication_init_windows () |
static int | kde_x_errhandler (Display *dpy, XErrorEvent *err) |
static int | kde_xio_errhandler (Display *dpy) |
void | kDebugCleanup () |
Variables | |
static Atom | atom_DesktopWindow |
static Atom | atom_NetSupported |
static Atom | kde_xdnd_drop |
static SmcConn | mySmcConnection = 0 |
static QByteArray * | startup_id_tmp |
static QList< const QWidget * > * | x11Filter = 0 |
Define Documentation
#define NUM_TO_STRING | ( | num | ) | NUM_TO_STRING2( num ) |
#define NUM_TO_STRING2 | ( | num | ) | #num |
#define QT_NO_TRANSLATION |
Definition at line 29 of file kapplication.cpp.
#define QT_NO_TRANSLATION |
Definition at line 29 of file kapplication.cpp.
Function Documentation
static void checkRestartVersion | ( | QSessionManager & | sm | ) | [static] |
Definition at line 718 of file kapplication.cpp.
static void installSigpipeHandler | ( | ) | [static] |
Installs a handler for the SIGPIPE signal.
It is thrown when you write to a pipe or socket that has been closed. The handler is installed automatically in the constructor, but you may need it if your application or component does not have a KApplication instance.
Definition at line 247 of file kapplication.cpp.
void KApplication_init_windows | ( | ) |
MS Windows-related actions for KApplication startup.
- Use Qt translation which will be usable for QFileDialog and other Qt-only GUIs. The "qt_<language>.qm" file should be stored in the same place as .po files for a given language.
For internal use only.
Definition at line 38 of file kapplication_win.cpp.
static int kde_x_errhandler | ( | Display * | dpy, | |
XErrorEvent * | err | |||
) | [static] |
Definition at line 133 of file kapplication.cpp.
static int kde_xio_errhandler | ( | Display * | dpy | ) | [static] |
Definition at line 128 of file kapplication.cpp.
void kDebugCleanup | ( | ) |
Variable Documentation
Atom atom_DesktopWindow [static] |
Definition at line 118 of file kapplication.cpp.
Atom atom_NetSupported [static] |
Definition at line 119 of file kapplication.cpp.
Atom kde_xdnd_drop [static] |
Definition at line 120 of file kapplication.cpp.
SmcConn mySmcConnection = 0 [static] |
Definition at line 334 of file kapplication.cpp.
QByteArray* startup_id_tmp [static] |
Definition at line 121 of file kapplication.cpp.
Definition at line 238 of file kapplication.cpp.