• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdelibs API Reference
  • KDE Home
  • Contact Us
 

KDEUI

  • sources
  • kde-4.14
  • kdelibs
  • kdeui
  • kernel
Macros | Functions | Variables
kapplication.cpp File Reference
#include "kapplication.h"
#include <config.h>
#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"
Include dependency graph for kapplication.cpp:

Go to the source code of this file.

Macros

#define NUM_TO_STRING(num)   NUM_TO_STRING2( num )
 
#define NUM_TO_STRING2(num)   #num
 

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< QWeakPointer
< QWidget > > * 
x11Filter = 0
 

Macro Definition Documentation

#define NUM_TO_STRING (   num)    NUM_TO_STRING2( num )
#define NUM_TO_STRING2 (   num)    #num

Function Documentation

static void checkRestartVersion ( QSessionManager &  sm)
static

Definition at line 702 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 243 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.
  • Increase the default open file limit with the stdio API from 512 to 2048 (2048 is the hard limit on Windows)

Definition at line 43 of file kapplication_win.cpp.

static int kde_x_errhandler ( Display *  dpy,
XErrorEvent *  err 
)
static

Definition at line 129 of file kapplication.cpp.

static int kde_xio_errhandler ( Display *  dpy)
static

Definition at line 124 of file kapplication.cpp.

void kDebugCleanup ( )

Variable Documentation

Atom atom_DesktopWindow
static

Definition at line 114 of file kapplication.cpp.

Atom atom_NetSupported
static

Definition at line 115 of file kapplication.cpp.

Atom kde_xdnd_drop
static

Definition at line 116 of file kapplication.cpp.

SmcConn mySmcConnection = 0
static

Definition at line 338 of file kapplication.cpp.

QByteArray* startup_id_tmp
static

Definition at line 117 of file kapplication.cpp.

QList< QWeakPointer< QWidget > >* x11Filter = 0
static

Definition at line 234 of file kapplication.cpp.

This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:24:01 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

KDEUI

Skip menu "KDEUI"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Modules
  • Related Pages

kdelibs API Reference

Skip menu "kdelibs API Reference"
  • DNSSD
  • Interfaces
  •   KHexEdit
  •   KMediaPlayer
  •   KSpeech
  •   KTextEditor
  • kconf_update
  • KDE3Support
  •   KUnitTest
  • KDECore
  • KDED
  • KDEsu
  • KDEUI
  • KDEWebKit
  • KDocTools
  • KFile
  • KHTML
  • KImgIO
  • KInit
  • kio
  • KIOSlave
  • KJS
  •   KJS-API
  •   WTF
  • kjsembed
  • KNewStuff
  • KParts
  • KPty
  • Kross
  • KUnitConversion
  • KUtils
  • Nepomuk
  • Plasma
  • Solid
  • Sonnet
  • ThreadWeaver

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal