KDECore
kstandarddirs.cpp File Reference
#include "kstandarddirs.h"
#include "kconfig.h"
#include "kconfiggroup.h"
#include "kdebug.h"
#include "kcomponentdata.h"
#include "kshell.h"
#include "kuser.h"
#include "kde_file.h"
#include "kkernel_win.h"
#include "kkernel_mac.h"
#include "klocale.h"
#include <config.h>
#include <config-prefix.h>
#include <config-kstandarddirs.h>
#include <stdlib.h>
#include <assert.h>
#include <errno.h>
#include <sys/param.h>
#include <sys/types.h>
#include <dirent.h>
#include <pwd.h>
#include <grp.h>
#include <windows.h>
#include <shlobj.h>
#include <QtCore/QRegExp>
#include <QtCore/QDir>
#include <QtCore/QFileInfo>
#include <QtCore/QSettings>
#include <QtCore/QCharRef>
#include <QtCore/QMutableStringListIterator>

Go to the source code of this file.
Defines | |
#define | _WIN32_IE 0x0500 |
Functions | |
static QString | checkExecutable (const QString &path, bool ignoreExecBit) |
static QString | equalizePath (QString &str) |
static QString | getBundle (const QString &path, bool ignore) |
static void | lookupDirectory (const QString &path, const QString &relPart, const QRegExp ®exp, QStringList &list, QStringList &relList, bool recursive, bool unique) |
static void | lookupPrefix (const QString &prefix, const QString &relpath, const QString &relPart, const QRegExp ®exp, QStringList &list, QStringList &relList, bool recursive, bool unique) |
static QStringList | lookupProfiles (const QString &mapFile) |
static void | priorityAdd (QStringList &prefixes, const QString &dir, bool priority) |
static QString | readEnvPath (const char *env) |
static int | tokenize (QStringList &token, const QString &str, const QString &delim) |
static quint32 | updateHash (const QString &file, quint32 hash) |
Variables | |
bool | kde_kiosk_admin |
static const int | types_indices [] |
static const char | types_string [] |
Define Documentation
#define _WIN32_IE 0x0500 |
Definition at line 58 of file kstandarddirs.cpp.
Function Documentation
Definition at line 1131 of file kstandarddirs.cpp.
Definition at line 1253 of file kstandarddirs.cpp.
Definition at line 1115 of file kstandarddirs.cpp.
static void lookupDirectory | ( | const QString & | path, | |
const QString & | relPart, | |||
const QRegExp & | regexp, | |||
QStringList & | list, | |||
QStringList & | relList, | |||
bool | recursive, | |||
bool | unique | |||
) | [static] |
Definition at line 595 of file kstandarddirs.cpp.
static void lookupPrefix | ( | const QString & | prefix, | |
const QString & | relpath, | |||
const QString & | relPart, | |||
const QRegExp & | regexp, | |||
QStringList & | list, | |||
QStringList & | relList, | |||
bool | recursive, | |||
bool | unique | |||
) | [static] |
Definition at line 685 of file kstandarddirs.cpp.
static QStringList lookupProfiles | ( | const QString & | mapFile | ) | [static] |
Definition at line 1664 of file kstandarddirs.cpp.
static void priorityAdd | ( | QStringList & | prefixes, | |
const QString & | dir, | |||
bool | priority | |||
) | [static] |
Definition at line 285 of file kstandarddirs.cpp.
static QString readEnvPath | ( | const char * | env | ) | [static] |
Definition at line 1428 of file kstandarddirs.cpp.
static int tokenize | ( | QStringList & | token, | |
const QString & | str, | |||
const QString & | delim | |||
) | [static] |
Definition at line 1266 of file kstandarddirs.cpp.
static quint32 updateHash | ( | const QString & | file, | |
quint32 | hash | |||
) | [static] |
Definition at line 465 of file kstandarddirs.cpp.
Variable Documentation
bool kde_kiosk_admin |
Definition at line 159 of file kcomponentdata.cpp.
const int types_indices[] [static] |
Initial value:
{ 0, 5, 16, 21, 36, 41, 53, 60, 73, 80, 94, 99, 112, 118, 131, 138, 151, 160, 180, 193, 217, 222, 236, 240, 248, 258, 275, 285, 301, 305, 309, 316, 326, 336, 354, 359, 377, 387, 403, 416, 429, 442, 448, 463, 471, 484, 504, 217, 517, 530, -1 }
Definition at line 206 of file kstandarddirs.cpp.
const char types_string[] [static] |
Definition at line 154 of file kstandarddirs.cpp.