Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
qstandardpaths_mac.mm File Reference

(55f0738f1638356137e6bd60459dc186ceaaabd8)

#include "qstandardpaths.h"
#include <qdir.h>
#include <qurl.h>
#include <private/qcore_mac_p.h>
#include <qcoreapplication.h>
import <Foundation/Foundation.h>
+ Include dependency graph for qstandardpaths_mac.mm:

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)
 

Function Documentation

◆ appendOrganizationAndApp()

static void appendOrganizationAndApp ( QString & path)
static

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().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ baseWritableLocation()

◆ pathForDirectory()

static QString pathForDirectory ( NSSearchPathDirectory directory,
NSSearchPathDomainMask mask )
static

Definition at line 22 of file qstandardpaths_mac.mm.

References directory.

Referenced by baseWritableLocation().

+ Here is the caller graph for this function:

◆ searchPathDirectory()