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
qandroidsystemlocale.h
Go to the documentation of this file.
1
// Copyright (C) 2016 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 QANDROIDSYSTEMLOCALE_H
5
#define QANDROIDSYSTEMLOCALE_H
6
7
#include "private/qlocale_p.h"
8
#include <QtCore/qreadwritelock.h>
9
10
QT_BEGIN_NAMESPACE
11
12
class
QAndroidSystemLocale
:
public
QSystemLocale
13
{
14
Q_DISABLE_COPY_MOVE(
QAndroidSystemLocale
)
15
public
:
16
QAndroidSystemLocale
();
17
18
QVariant
query
(
QueryType
type
,
QVariant
&&
in
)
const override
;
19
QLocale
fallbackLocale
()
const override
;
20
21
private
:
22
void
getLocaleFromJava()
const
;
23
24
mutable
QLocale
m_locale;
25
mutable
QReadWriteLock
m_lock;
26
};
27
28
QT_END_NAMESPACE
29
30
#endif
// QANDROIDSYSTEMLOCALE_H
QAndroidSystemLocale
Definition
qandroidsystemlocale.h:13
QAndroidSystemLocale::fallbackLocale
QLocale fallbackLocale() const override
Definition
qandroidsystemlocale.cpp:167
QAndroidSystemLocale::QAndroidSystemLocale
QAndroidSystemLocale()
Definition
qandroidsystemlocale.cpp:22
QLocale
Definition
qlocale.h:29
QReadWriteLock
\inmodule QtCore
QSystemLocale
Definition
qlocale_p.h:107
QSystemLocale::QueryType
QueryType
Definition
qlocale_p.h:124
QVariant
\inmodule QtCore
Definition
qvariant.h:65
QT_BEGIN_NAMESPACE
Combined button and popup list for selecting options.
Definition
qstandardpaths_haiku.cpp:21
QT_END_NAMESPACE
Definition
qsharedpointer.cpp:1590
type
GLenum type
Definition
qopengles2ext.h:150
query
GLenum query
Definition
qopenglext.h:2738
in
GLuint in
Definition
qopenglext.h:8870
qtbase
src
plugins
platforms
android
qandroidsystemlocale.h
Generated by
1.10.0