![]() |
Qt 6.x
The Qt SDK
|
#include "qstandardpaths.h"
#include <qdir.h>
#include <qurl.h>
#include <private/qcore_mac_p.h>
#include <qcoreapplication.h>
#import <Foundation/Foundation.h>
Go to the source code of this file.
Functions | |
static QString | pathForDirectory (NSSearchPathDirectory directory, NSSearchPathDomainMask mask) |
static NSSearchPathDirectory | searchPathDirectory (QStandardPaths::StandardLocation type) |
static void | appendOrganizationAndApp (QString &path) |
static QString | baseWritableLocation (QStandardPaths::StandardLocation type, NSSearchPathDomainMask mask=NSUserDomainMask, bool appendOrgAndApp=false) |
Definition at line 62 of file qstandardpaths_mac.mm.
References QCoreApplication::applicationName, QString::isEmpty(), QCoreApplication::organizationName, and Q_UNUSED.
Referenced by baseWritableLocation(), QT_BEGIN_NAMESPACE::haikuAppStandardPath(), and QT_BEGIN_NAMESPACE::haikuAppStandardPaths().
|
static |
Definition at line 76 of file qstandardpaths_mac.mm.
References QStandardPaths::AppConfigLocation, QStandardPaths::AppDataLocation, appendOrganizationAndApp(), QStandardPaths::ApplicationsLocation, QStandardPaths::AppLocalDataLocation, QStandardPaths::CacheLocation, QStandardPaths::ConfigLocation, QStandardPaths::DesktopLocation, dir, QStandardPaths::DownloadLocation, QStandardPaths::FontsLocation, QStandardPaths::GenericConfigLocation, QStandardPaths::HomeLocation, QDir::homePath(), QStandardPaths::MoviesLocation, QStandardPaths::MusicLocation, pathForDirectory(), QStandardPaths::PicturesLocation, QStandardPaths::PublicShareLocation, searchPathDirectory(), QStandardPaths::TemplatesLocation, QStandardPaths::TempLocation, and QDir::tempPath().
|
static |
Definition at line 22 of file qstandardpaths_mac.mm.
References directory.
Referenced by baseWritableLocation().
|
static |
Definition at line 29 of file qstandardpaths_mac.mm.
References QStandardPaths::AppDataLocation, QStandardPaths::ApplicationsLocation, QStandardPaths::AppLocalDataLocation, QStandardPaths::CacheLocation, QStandardPaths::DesktopLocation, QStandardPaths::DocumentsLocation, QStandardPaths::DownloadLocation, QStandardPaths::GenericCacheLocation, QStandardPaths::GenericDataLocation, QStandardPaths::MoviesLocation, QStandardPaths::MusicLocation, QStandardPaths::PicturesLocation, QStandardPaths::PublicShareLocation, QStandardPaths::RuntimeLocation, and QStandardPaths::TemplatesLocation.
Referenced by baseWritableLocation().