KDECore
kapplication.cpp File Reference
#include "config.h"#include <qtranslator.h>#include <qdir.h>#include <qptrcollection.h>#include <qwidgetlist.h>#include <qstrlist.h>#include <qfile.h>#include <qmessagebox.h>#include <qtextstream.h>#include <qregexp.h>#include <qlineedit.h>#include <qtextedit.h>#include <qsessionmanager.h>#include <qptrlist.h>#include <qtimer.h>#include <qstylesheet.h>#include <qpixmapcache.h>#include <qtooltip.h>#include <qstylefactory.h>#include <qmetaobject.h>#include <qsqlpropertymap.h>#include "kapplication.h"#include <kglobal.h>#include <kstandarddirs.h>#include <kdebug.h>#include <klocale.h>#include <kstyle.h>#include <kiconloader.h>#include <kclipboard.h>#include <kconfig.h>#include <ksimpleconfig.h>#include <kcmdlineargs.h>#include <kaboutdata.h>#include <kglobalsettings.h>#include <kcrash.h>#include <kdatastream.h>#include <klibloader.h>#include <kmimesourcefactory.h>#include <kstdaccel.h>#include <kaccel.h>#include "kcheckaccelerators.h"#include <qptrdict.h>#include <kmacroexpander.h>#include <kshell.h>#include <kprotocolinfo.h>#include <kkeynative.h>#include <kmdcodec.h>#include <kglobalaccel.h>#include <dcopclient.h>#include <dcopref.h>#include <sys/types.h>#include <sys/wait.h>#include "kwin.h"#include <fcntl.h>#include <stdlib.h>#include <signal.h>#include <unistd.h>#include <time.h>#include <sys/time.h>#include <errno.h>#include <string.h>#include <netdb.h>#include "kprocctrl.h"#include <KDE-ICE/ICElib.h>#include "kappdcopiface.h"#include "kapplication.moc"Go to the source code of this file.
Define Documentation
| #define checkEqual | ( | s, | |||
| b | ) | b = (s == "="); |
Definition at line 275 of file kapplication.cpp.
| #define checkExactMatch | ( | s, | |||
| b | ) |
Value:
if (s.isEmpty()) b = true; \ else if (s[s.length()-1] == '!') \ { b = false; s.truncate(s.length()-1); } \ else b = true;
Definition at line 265 of file kapplication.cpp.
| #define checkStartWildCard | ( | s, | |||
| b | ) |
Value:
if (s.isEmpty()) b = true; \ else if (s[0] == '*') \ { b = true; s = s.mid(1); } \ else b = false;
Definition at line 270 of file kapplication.cpp.
| #define QT_NO_TRANSLATION |
Definition at line 50 of file kapplication.cpp.
| #define QT_NO_TRANSLATION |
Definition at line 50 of file kapplication.cpp.
Function Documentation
Definition at line 2854 of file kapplication.cpp.
| static void checkRestartVersion | ( | QSessionManager & | sm | ) | [static] |
Definition at line 1247 of file kapplication.cpp.
| void kDebugCleanup | ( | ) |
| static int my_system | ( | const char * | command | ) | [static] |
Definition at line 960 of file kapplication.cpp.
| static QPtrList<KSessionManaged>* sessionClients | ( | ) | [static] |
Definition at line 561 of file kapplication.cpp.
| static QStringList splitEmailAddressList | ( | const QString & | aStr | ) | [static] |
Definition at line 2356 of file kapplication.cpp.
| static int startServiceInternal | ( | const QCString & | function, | |
| const QString & | _name, | |||
| const QStringList & | URLs, | |||
| QString * | error, | |||
| QCString * | dcopService, | |||
| int * | pid, | |||
| const QCString & | startup_id, | |||
| bool | noWait | |||
| ) | [static] |
Definition at line 2613 of file kapplication.cpp.
Variable Documentation
bool autoDcopRegistration = true [static] |
Definition at line 407 of file kapplication.cpp.
bool kapp_block_user_input = false [static] |
Definition at line 1695 of file kapplication.cpp.
Definition at line 81 of file kaccel.cpp.
| KDE_EXPORT bool kde_have_kipc = true |
Definition at line 152 of file kapplication.cpp.
| bool kde_kiosk_admin = false |
Definition at line 154 of file kapplication.cpp.
| bool kde_kiosk_exception = false |
Definition at line 153 of file kapplication.cpp.
const KCmdLineOptions kde_options[] [static] |
Initial value:
{
{ "caption <caption>", I18N_NOOP("Use 'caption' as name in the titlebar"), 0},
{ "icon <icon>", I18N_NOOP("Use 'icon' as the application icon"), 0},
{ "miniicon <icon>", I18N_NOOP("Use 'icon' as the icon in the titlebar"), 0},
{ "config <filename>", I18N_NOOP("Use alternative configuration file"), 0},
{ "dcopserver <server>", I18N_NOOP("Use the DCOP Server specified by 'server'"), 0},
{ "nocrashhandler", I18N_NOOP("Disable crash handler, to get core dumps"), 0},
{ "waitforwm", I18N_NOOP("Waits for a WM_NET compatible windowmanager"), 0},
{ "style <style>", I18N_NOOP("sets the application GUI style"), 0},
{ "geometry <geometry>", I18N_NOOP("sets the client geometry of the main widget - see man X for the argument format"), 0},
{ "smkey <sessionKey>", 0, 0},
KCmdLineLastOption
}
Definition at line 1466 of file kapplication.cpp.
const KCmdLineOptions qt_options[] [static] |
Definition at line 1429 of file kapplication.cpp.
| bool qt_qclipboard_bailout_hack = false |
Definition at line 171 of file kapplication.cpp.
QTime* smModificationTime = 0 [static] |
Definition at line 589 of file kapplication.cpp.
Definition at line 406 of file kapplication.cpp.
KDE 3.5 API Reference