![]() |
Qt 6.x
The Qt SDK
|
#include "qlocale_p.h"#include "qlocale_tools_p.h"#include "qstringlist.h"#include "qvariant.h"#include "qdatetime.h"#include "qdebug.h"#include "QtCore/private/qgregoriancalendar_p.h"#include <q20algorithm.h>
Include dependency graph for qlocale_win.cpp:Go to the source code of this file.
Classes | |
| struct | QSystemLocalePrivate |
| struct | WindowsToISOListElt |
Macros | |
| #define | MUI_LANGUAGE_NAME 0x8 |
| #define | LOCALE_SSHORTESTDAYNAME1 0x0060 |
| #define | LOCALE_SSHORTESTDAYNAME2 0x0061 |
| #define | LOCALE_SSHORTESTDAYNAME3 0x0062 |
| #define | LOCALE_SSHORTESTDAYNAME4 0x0063 |
| #define | LOCALE_SSHORTESTDAYNAME5 0x0064 |
| #define | LOCALE_SSHORTESTDAYNAME6 0x0065 |
| #define | LOCALE_SSHORTESTDAYNAME7 0x0066 |
| #define | LOCALE_SNATIVELANGUAGENAME 0x00000004 |
| #define | LOCALE_SNATIVECOUNTRYNAME 0x00000008 |
| #define | LOCALE_SSHORTTIME 0x00000079 |
Functions | |
| static QByteArray | getWinLocaleName (LCID id=LOCALE_USER_DEFAULT) |
| static QString | winIso639LangName (LCID id=LOCALE_USER_DEFAULT) |
| static QString | winIso3116CtryName (LCID id=LOCALE_USER_DEFAULT) |
| static QString | fourDigitYear (int year) |
| static const char * | winLangCodeToIsoName (int code) |
| LCID | qt_inIsoNametoLCID (const char *name) |
| Q_CORE_EXPORT QLocale | qt_localeFromLCID (LCID id) |
Variables | |
| static constexpr WindowsToISOListElt | windows_to_iso_list [] |
| #define LOCALE_SNATIVECOUNTRYNAME 0x00000008 |
Definition at line 56 of file qlocale_win.cpp.
| #define LOCALE_SNATIVELANGUAGENAME 0x00000004 |
Definition at line 53 of file qlocale_win.cpp.
| #define LOCALE_SSHORTESTDAYNAME1 0x0060 |
Definition at line 44 of file qlocale_win.cpp.
| #define LOCALE_SSHORTESTDAYNAME2 0x0061 |
Definition at line 45 of file qlocale_win.cpp.
| #define LOCALE_SSHORTESTDAYNAME3 0x0062 |
Definition at line 46 of file qlocale_win.cpp.
| #define LOCALE_SSHORTESTDAYNAME4 0x0063 |
Definition at line 47 of file qlocale_win.cpp.
| #define LOCALE_SSHORTESTDAYNAME5 0x0064 |
Definition at line 48 of file qlocale_win.cpp.
| #define LOCALE_SSHORTESTDAYNAME6 0x0065 |
Definition at line 49 of file qlocale_win.cpp.
| #define LOCALE_SSHORTESTDAYNAME7 0x0066 |
Definition at line 50 of file qlocale_win.cpp.
| #define LOCALE_SSHORTTIME 0x00000079 |
Definition at line 59 of file qlocale_win.cpp.
| #define MUI_LANGUAGE_NAME 0x8 |
Definition at line 41 of file qlocale_win.cpp.
|
static |
Definition at line 396 of file qlocale_win.cpp.
References QStringLiteral.
|
static |
Definition at line 1113 of file qlocale_win.cpp.
References QString::fromLocal8Bit(), QString::isEmpty(), qgetenv(), qstrntoll(), qt_splitLocaleName(), QString::toLatin1(), winIso3116CtryName(), winIso639LangName(), and winLangCodeToIsoName().
Referenced by qt_localeFromLCID().
Here is the call graph for this function:
Here is the caller graph for this function:| LCID qt_inIsoNametoLCID | ( | const char * | name | ) |
Definition at line 1039 of file qlocale_win.cpp.
References i, and windows_to_iso_list.
| Q_CORE_EXPORT QLocale qt_localeFromLCID | ( | LCID | id | ) |
Definition at line 1139 of file qlocale_win.cpp.
References QString::fromLatin1(), and getWinLocaleName().
Referenced by QWindowsInputContext::handleInputLanguageChanged().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 1102 of file qlocale_win.cpp.
References QString::fromWCharArray(), and out.
Referenced by getWinLocaleName().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 1067 of file qlocale_win.cpp.
References QByteArray::data(), QString::fromWCharArray(), i, QString::isEmpty(), out, qstrntoull(), and QByteArray::size().
Referenced by getWinLocaleName().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 1019 of file qlocale_win.cpp.
References WindowsToISOListElt::iso_name, it, WindowsToISOListElt::windows_code, and windows_to_iso_list.
Referenced by getWinLocaleName().
Here is the caller graph for this function:
|
staticconstexpr |
Definition at line 905 of file qlocale_win.cpp.
Referenced by qt_inIsoNametoLCID(), and winLangCodeToIsoName().