Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
QOhosAppContext Namespace Reference

Typedefs

using AppContextType = QMap<Type, QString>

Enumerations

enum class  Type {
  bundleCodeDir , cacheDir , filesDir , preferencesDir ,
  tempDir , databaseDir , distributedFilesDir , resourceDir
}

Functions

void init (QMap< Type, QString > appcontext)
QString getProperty (Type prop)
QMap< Type, QStringgetAllProperties ()

Typedef Documentation

◆ AppContextType

Enumeration Type Documentation

◆ Type

enum class QOhosAppContext::Type
strong
Enumerator
bundleCodeDir 
cacheDir 
filesDir 
preferencesDir 
tempDir 
databaseDir 
distributedFilesDir 
resourceDir 

Definition at line 23 of file qohosappcontext_p.h.

Function Documentation

◆ getAllProperties()

QMap< Type, QString > QOhosAppContext::getAllProperties ( )

Definition at line 25 of file qohosappcontext.cpp.

◆ getProperty()

QString QOhosAppContext::getProperty ( Type prop)

Definition at line 20 of file qohosappcontext.cpp.

◆ init()

void QOhosAppContext::init ( QMap< Type, QString > appcontext)

Definition at line 15 of file qohosappcontext.cpp.