Qt 4.8
|
#include "qglobal.h"
#include "private/qcore_mac_p.h"
#include <CoreFoundation/CoreFoundation.h>
#include "qplatformdefs.h"
#include "qdatastream.h"
#include "qstring.h"
#include "qlocale.h"
#include "qlocale_p.h"
#include "qlocale_tools_p.h"
#include "qdatetime_p.h"
#include "qnamespace.h"
#include "qdatetime.h"
#include "qstringlist.h"
#include "qvariant.h"
#include "qstringbuilder.h"
#include "qt_windows.h"
#include <time.h>
#include "private/qnumeric_p.h"
#include "private/qsystemlibrary_p.h"
#include "qlocale_data_p.h"
Go to the source code of this file.
Macros | |
#define | QT_MAX_FLOAT 3.4028234663852886e+38 |
Returns the float represented by the localized string s, or 0.0 if the conversion failed. More... | |
Variables | |
static QSystemLocale * | _systemLocale = 0 |
static const QLocalePrivate * | default_lp = 0 |
static uint | default_number_options = 0 |
static const int | locale_data_size = sizeof(locale_data)/sizeof(QLocalePrivate) - 1 |
static QLocalePrivate * | system_lp = 0 |
#define QT_MAX_FLOAT 3.4028234663852886e+38 |
Returns the float represented by the localized string s, or 0.0 if the conversion failed.
If ok is not 0, reports failure by setting ok to false and success by setting *ok to true.
This function ignores leading and trailing whitespace.
Definition at line 1242 of file qlocale.cpp.
Referenced by QLocale::toFloat().
|
static |
|
static |
|
static |
Definition at line 377 of file qlocale.cpp.
Referenced by QLocalePrivate::countryId(), and QLocale::QLocale().
Definition at line 573 of file qlocale.cpp.
Referenced by QLocale::amText(), QLocale::createSeparatedList(), QLocale::currencySymbol(), QLocale::dateFormat(), QLocale::nativeCountryName(), QLocale::nativeLanguageName(), QLocale::pmText(), QLocale::timeFormat(), and QLocale::toCurrencyString().
Definition at line 555 of file qlocale.cpp.
Referenced by QLocale::currencySymbol(), QLocale::dayName(), QLocale::monthName(), QLocale::standaloneDayName(), and QLocale::standaloneMonthName().
|
static |
Definition at line 611 of file qlocale.cpp.
Referenced by QLocale::matchingLocales(), QLocale::QLocale(), and QLocale::system().
QDataStream& operator<< | ( | QDataStream & | ds, |
const QLocale & | l | ||
) |
Definition at line 580 of file qlocale.cpp.
Referenced by QLocale::toCurrencyString().
QDataStream& operator>> | ( | QDataStream & | ds, |
QLocale & | l | ||
) |
Definition at line 586 of file qlocale.cpp.
Referenced by QLocale::toCurrencyString().
|
static |
Definition at line 282 of file qlocale.cpp.
Referenced by qt_splitLocaleName().
|
static |
Definition at line 1848 of file qlocale.cpp.
Referenced by QLocale::toString().
|
static |
Referenced by systemLocale().
Definition at line 387 of file qlocale.cpp.
Referenced by QLocalePrivate::dateTimeToString(), QLocalePrivate::digitToCLocale(), macToQtFormat(), timeFormatContainsAP(), and QSystemLocalePrivate::winToQtFormat().
int qt_repeatCount | ( | const QString & | s, |
int | i | ||
) |
Definition at line 421 of file qlocale.cpp.
Referenced by QLocalePrivate::dateTimeToString(), QLocalePrivate::digitToCLocale(), macToQtFormat(), and QSystemLocalePrivate::winToQtFormat().
Definition at line 302 of file qlocale.cpp.
Referenced by QLocalePrivate::digitToCLocale(), QLocalePrivate::getLangAndCountry(), getMacLocaleName(), and getWinLocaleName().
|
static |
Definition at line 1853 of file qlocale.cpp.
Referenced by QLocale::toString().
|
static |
Definition at line 471 of file qlocale.cpp.
Referenced by QLocale::amText(), QLocale::createSeparatedList(), QLocale::currencySymbol(), QLocale::dateFormat(), QLocale::dateTimeFormat(), QLocale::dayName(), QLocale::firstDayOfWeek(), QLocale::measurementSystem(), QLocale::monthName(), QLocale::nativeCountryName(), QLocale::nativeLanguageName(), QLocale::pmText(), QHttpNetworkConnectionPrivate::prepareRequest(), QLocale::quoteString(), QLocale::standaloneDayName(), QLocale::standaloneMonthName(), QLocale::timeFormat(), QLocale::toCurrencyString(), QLocale::toString(), QLocale::uiLanguages(), QLocalePrivate::updateSystemPrivate(), and QLocale::weekdays().
|
static |
Definition at line 535 of file qlocale.cpp.
Referenced by QLocale::amText(), QLocale::createSeparatedList(), QLocale::currencySymbol(), QLocale::dateFormat(), QLocale::dateTimeFormat(), QLocale::dayName(), defaultPrivate(), QLocale::firstDayOfWeek(), QLocale::measurementSystem(), QLocale::monthName(), QLocale::nativeCountryName(), QLocale::nativeLanguageName(), QLocale::pmText(), QLocale::quoteString(), QLocale::standaloneDayName(), QLocale::standaloneMonthName(), QLocale::system(), QLocale::timeFormat(), QLocale::toCurrencyString(), QLocale::toString(), QLocale::uiLanguages(), and QLocale::weekdays().
|
static |
Definition at line 1354 of file qlocale.cpp.
Referenced by QLocalePrivate::dateTimeToString().
|
static |
Definition at line 1371 of file qlocale.cpp.
Referenced by QLocalePrivate::dateTimeToString().
|
static |
Definition at line 83 of file qlocale.cpp.
Referenced by QSystemLocale::QSystemLocale(), and systemLocale().
|
static |
Definition at line 430 of file qlocale.cpp.
Referenced by defaultPrivate().
|
static |
Definition at line 431 of file qlocale.cpp.
Referenced by QLocale::QLocale().
|
static |
Definition at line 596 of file qlocale.cpp.
Referenced by localePrivateIndex().
|
static |
Definition at line 85 of file qlocale.cpp.
Referenced by dataPointerHelper(), and systemPrivate().