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_p.h
Go to the documentation of this file.
1
// Copyright (C) 2025 The Qt Company Ltd.
2
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
3
4
#
ifndef
QOHOSAPPCONTEXT_H
5
#
define
QOHOSAPPCONTEXT_H
6
7
//
8
// W A R N I N G
9
// -------------
10
//
11
// This file is not part of the Qt API. It exists purely as an
12
// implementation detail. This header file may change from version to
13
// version without notice, or even be removed.
14
//
15
// We mean it.
16
//
17
18
#
include
<
QtCore
/
qmap
.
h
>
19
20
QT_BEGIN_NAMESPACE
21
22
namespace
QOhosAppContext
{
23
enum
class
Type
{
24
bundleCodeDir
,
25
cacheDir
,
26
filesDir
,
27
preferencesDir
,
28
tempDir
,
29
databaseDir
,
30
distributedFilesDir
,
31
resourceDir
,
32
};
33
34
Q_CORE_EXPORT
void
init
(QMap<Type, QString> appcontext);
35
Q_CORE_EXPORT QString
getProperty
(
Type
prop
);
36
Q_CORE_EXPORT
QMap
<
Type
,
QString
>
getAllProperties
();
37
}
38
39
QT_END_NAMESPACE
40
41
#
endif
// QOHOSAPPCONTEXT_H
QOhosAppContext
Definition
qohosappcontext.cpp:11
QOhosAppContext::getAllProperties
QMap< Type, QString > getAllProperties()
Definition
qohosappcontext.cpp:25
QOhosAppContext::Type
Type
Definition
qohosappcontext_p.h:23
QOhosAppContext::Type::distributedFilesDir
@ distributedFilesDir
Definition
qohosappcontext_p.h:30
QOhosAppContext::Type::bundleCodeDir
@ bundleCodeDir
Definition
qohosappcontext_p.h:24
QOhosAppContext::Type::filesDir
@ filesDir
Definition
qohosappcontext_p.h:26
QOhosAppContext::Type::preferencesDir
@ preferencesDir
Definition
qohosappcontext_p.h:27
QOhosAppContext::Type::tempDir
@ tempDir
Definition
qohosappcontext_p.h:28
QOhosAppContext::Type::cacheDir
@ cacheDir
Definition
qohosappcontext_p.h:25
QOhosAppContext::Type::resourceDir
@ resourceDir
Definition
qohosappcontext_p.h:31
QOhosAppContext::Type::databaseDir
@ databaseDir
Definition
qohosappcontext_p.h:29
QOhosAppContext::init
void init(QMap< Type, QString > appcontext)
Definition
qohosappcontext.cpp:15
QOhosAppContext::getProperty
QString getProperty(Type prop)
Definition
qohosappcontext.cpp:20
qtbase
src
corelib
platform
ohos
qohosappcontext_p.h
Generated on
for Qt by
1.16.1