6#ifndef QT_NO_STANDARDPATHS
14#include <FindDirectory.h>
16#include <PathFinder.h>
17#include <StringList.h>
25#ifndef QT_BOOTSTRAPPED
31 path += u
'/' + appName;
44 if (find_directory(which, &standardPath,
false) != B_OK)
57 if (BPathFinder::FindPaths(baseDirectory,
paths) != B_OK)
61 for (
int i = 0;
i <
paths.CountStrings(); ++
i) {
86 for (
int i = 0;
i <
paths.count(); ++
i)
139 paths += writablePath;
QString organizationName
the name of the organization that wrote this application
QString applicationName
the name of this application
static QString decodeName(const QByteArray &localFileName)
This does the reverse of QFile::encodeName() using localFileName.
static QStringList standardLocations(StandardLocation type)
static QString writableLocation(StandardLocation type)
\macro QT_RESTRICTED_CAST_FROM_ASCII
bool isEmpty() const
Returns true if the string has no characters; otherwise returns false.
Combined button and popup list for selecting options.
QString haikuAppStandardPath(directory_which which)
QString haikuStandardPath(directory_which which)
QStringList haikuStandardPaths(path_base_directory baseDirectory)
QStringList haikuAppStandardPaths(path_base_directory baseDirectory)
GLsizei const GLuint * paths
GLsizei const GLchar *const * path
static void appendOrganizationAndApp(QString &path)