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/QVarLengthArray>#include <QtCore/QMutex>#include <QtCore/QRegExp>#include <QtCore/QDir>#include <QtCore/QFileInfo>#include <QtCore/QSettings>Go to the source code of this file.
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 [] |
Function Documentation
Definition at line 1234 of file kstandarddirs.cpp.
Definition at line 1356 of file kstandarddirs.cpp.
Definition at line 1218 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 589 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 714 of file kstandarddirs.cpp.
| static QStringList lookupProfiles | ( | const QString & | mapFile | ) | [static] |
Definition at line 1777 of file kstandarddirs.cpp.
| static void priorityAdd | ( | QStringList & | prefixes, | |
| const QString & | dir, | |||
| bool | priority | |||
| ) | [static] |
Definition at line 288 of file kstandarddirs.cpp.
| static QString readEnvPath | ( | const char * | env | ) | [static] |
Definition at line 1538 of file kstandarddirs.cpp.
| static int tokenize | ( | QStringList & | token, | |
| const QString & | str, | |||
| const QString & | delim | |||
| ) | [static] |
Definition at line 1369 of file kstandarddirs.cpp.
Definition at line 468 of file kstandarddirs.cpp.
Variable Documentation
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, 536, 554, -1
}
Definition at line 216 of file kstandarddirs.cpp.
const char types_string[] [static] |
Definition at line 162 of file kstandarddirs.cpp.
KDE 4.3 API Reference