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
QSystemLocalePrivate Struct Reference
+ Collaboration diagram for QSystemLocalePrivate:

Public Member Functions

 QSystemLocalePrivate ()
 
QVariant zeroDigit ()
 
QVariant decimalPoint ()
 
QVariant groupSeparator ()
 
QVariant negativeSign ()
 
QVariant positiveSign ()
 
QVariant dateFormat (QLocale::FormatType)
 
QVariant timeFormat (QLocale::FormatType)
 
QVariant dateTimeFormat (QLocale::FormatType)
 
QVariant dayName (int, QLocale::FormatType)
 
QVariant standaloneMonthName (int, QLocale::FormatType)
 
QVariant monthName (int, QLocale::FormatType)
 
QVariant toString (QDate, QLocale::FormatType)
 
QVariant toString (QTime, QLocale::FormatType)
 
QVariant toString (const QDateTime &, QLocale::FormatType)
 
QVariant measurementSystem ()
 
QVariant collation ()
 
QVariant amText ()
 
QVariant pmText ()
 
QVariant firstDayOfWeek ()
 
QVariant currencySymbol (QLocale::CurrencySymbolFormat)
 
QVariant toCurrencyString (const QSystemLocale::CurrencyToStringArgument &)
 
QVariant uiLanguages ()
 
QVariant nativeLanguageName ()
 
QVariant nativeTerritoryName ()
 
void update ()
 

Detailed Description

Definition at line 105 of file qlocale_win.cpp.

Constructor & Destructor Documentation

◆ QSystemLocalePrivate()

QSystemLocalePrivate::QSystemLocalePrivate ( )

Definition at line 167 of file qlocale_win.cpp.

Member Function Documentation

◆ amText()

QVariant QSystemLocalePrivate::amText ( )

Definition at line 564 of file qlocale_win.cpp.

References QString::fromWCharArray(), and output.

+ Here is the call graph for this function:

◆ collation()

QVariant QSystemLocalePrivate::collation ( )

Definition at line 559 of file qlocale_win.cpp.

◆ currencySymbol()

QVariant QSystemLocalePrivate::currencySymbol ( QLocale::CurrencySymbolFormat format)

Definition at line 594 of file qlocale_win.cpp.

References QLocale::CurrencyDisplayName, QLocale::CurrencyIsoCode, QLocale::CurrencySymbol, and QString::fromWCharArray().

+ Here is the call graph for this function:

◆ dateFormat()

QVariant QSystemLocalePrivate::dateFormat ( QLocale::FormatType type)

Definition at line 337 of file qlocale_win.cpp.

References QLocale::LongFormat, QLocale::NarrowFormat, QLocale::ShortFormat, and toString().

Referenced by dateTimeFormat().

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

◆ dateTimeFormat()

QVariant QSystemLocalePrivate::dateTimeFormat ( QLocale::FormatType type)

Definition at line 363 of file qlocale_win.cpp.

References d, dateFormat(), and timeFormat().

+ Here is the call graph for this function:

◆ dayName()

◆ decimalPoint()

QVariant QSystemLocalePrivate::decimalPoint ( )

Definition at line 317 of file qlocale_win.cpp.

References toString().

+ Here is the call graph for this function:

◆ firstDayOfWeek()

QVariant QSystemLocalePrivate::firstDayOfWeek ( )

Definition at line 584 of file qlocale_win.cpp.

References QString::fromWCharArray(), and output.

+ Here is the call graph for this function:

◆ groupSeparator()

QVariant QSystemLocalePrivate::groupSeparator ( )

Definition at line 322 of file qlocale_win.cpp.

◆ measurementSystem()

QVariant QSystemLocalePrivate::measurementSystem ( )

Definition at line 547 of file qlocale_win.cpp.

References QLocale::ImperialSystem, QLocale::MetricSystem, and output.

◆ monthName()

QVariant QSystemLocalePrivate::monthName ( int month,
QLocale::FormatType type )

Definition at line 420 of file qlocale_win.cpp.

References QString::fromWCharArray(), and QLocale::LongFormat.

+ Here is the call graph for this function:

◆ nativeLanguageName()

QVariant QSystemLocalePrivate::nativeLanguageName ( )

Definition at line 741 of file qlocale_win.cpp.

References LOCALE_SNATIVELANGUAGENAME.

◆ nativeTerritoryName()

QVariant QSystemLocalePrivate::nativeTerritoryName ( )

Definition at line 746 of file qlocale_win.cpp.

References LOCALE_SNATIVECOUNTRYNAME.

◆ negativeSign()

QVariant QSystemLocalePrivate::negativeSign ( )

Definition at line 327 of file qlocale_win.cpp.

References toString().

+ Here is the call graph for this function:

◆ pmText()

QVariant QSystemLocalePrivate::pmText ( )

Definition at line 574 of file qlocale_win.cpp.

References QString::fromWCharArray(), and output.

+ Here is the call graph for this function:

◆ positiveSign()

QVariant QSystemLocalePrivate::positiveSign ( )

Definition at line 332 of file qlocale_win.cpp.

References toString().

+ Here is the call graph for this function:

◆ standaloneMonthName()

QVariant QSystemLocalePrivate::standaloneMonthName ( int month,
QLocale::FormatType type )

Definition at line 398 of file qlocale_win.cpp.

References QLocale::LongFormat.

◆ timeFormat()

QVariant QSystemLocalePrivate::timeFormat ( QLocale::FormatType type)

Definition at line 350 of file qlocale_win.cpp.

References LOCALE_SSHORTTIME, QLocale::LongFormat, QLocale::NarrowFormat, QLocale::ShortFormat, and toString().

Referenced by dateTimeFormat().

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

◆ toCurrencyString()

QVariant QSystemLocalePrivate::toCurrencyString ( const QSystemLocale::CurrencyToStringArgument & arg)

Definition at line 625 of file qlocale_win.cpp.

References arg, QLocaleData::c(), QLocaleData::DFDecimal, QString::fromWCharArray(), QLocale::OmitGroupSeparator, out, and ret.

+ Here is the call graph for this function:

◆ toString() [1/3]

QVariant QSystemLocalePrivate::toString ( const QDateTime & dt,
QLocale::FormatType type )

Definition at line 539 of file qlocale_win.cpp.

References d, and toString().

+ Here is the call graph for this function:

◆ toString() [2/3]

QVariant QSystemLocalePrivate::toString ( QDate date,
QLocale::FormatType type )

Definition at line 491 of file qlocale_win.cpp.

References date, QDate::day(), QString::fromWCharArray(), QLocale::LongFormat, QDate::month(), Q_ASSERT, text, QDate::year(), and QGregorianCalendar::yearSharingWeekDays().

Referenced by dateFormat(), decimalPoint(), negativeSign(), positiveSign(), timeFormat(), and toString().

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

◆ toString() [3/3]

QVariant QSystemLocalePrivate::toString ( QTime time,
QLocale::FormatType type )

Definition at line 518 of file qlocale_win.cpp.

References QString::fromWCharArray(), QTime::hour(), LOCALE_SSHORTTIME, QTime::minute(), nullptr, QTime::second(), QLocale::ShortFormat, and time.

+ Here is the call graph for this function:

◆ uiLanguages()

QVariant QSystemLocalePrivate::uiLanguages ( )

Definition at line 698 of file qlocale_win.cpp.

References QString::constData(), QString::fromStdString(), QString::fromWCharArray(), MUI_LANGUAGE_NAME, QT_CATCH, QT_TRY, QString::size(), and str.

+ Here is the call graph for this function:

◆ update()

void QSystemLocalePrivate::update ( )

Definition at line 752 of file qlocale_win.cpp.

References getDefaultWinId(), and QString::resize().

+ Here is the call graph for this function:

◆ zeroDigit()

QVariant QSystemLocalePrivate::zeroDigit ( )

Definition at line 297 of file qlocale_win.cpp.

References digits(), QString::fromWCharArray(), and QString::isEmpty().

+ Here is the call graph for this function:

The documentation for this struct was generated from the following file: