亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? qlocale.cpp

?? QT 開發環境里面一個很重要的文件
?? CPP
?? 第 1 頁 / 共 5 頁
字號:
#else    Q_ASSERT(p >= locale_data && p - locale_data < locale_data_size);    quint16 index = p - locale_data;#endif    i &= 0xFFFF0000;    i |= index & 0xFFFF;    *v = reinterpret_cast<void*>(i);}static void setNumberOptions(void **v, int _opts){    quint32 i = reinterpret_cast<quintptr>(*v);    quint32 opts = quint32(_opts) << 16;    i &= 0xFFFF;    i |= opts & 0xFFFF0000;    *v = reinterpret_cast<void*>(i);}/*!    Constructs a QLocale object with the specified \a name,    which has the format    "language[_country][.codeset][@modifier]" or "C", where:    \list    \i language is a lowercase, two-letter, ISO 639 language code,    \i territory is an uppercase, two-letter, ISO 3166 country code,    \i and codeset and modifier are ignored.    \endlist    If the string violates the locale format, or language is not    a valid ISO 369 code, the "C" locale is used instead. If country    is not present, or is not a valid ISO 3166 code, the most    appropriate country is chosen for the specified language.    The language and country codes are converted to their respective    \c Language and \c Country enums. After this conversion is    performed the constructor behaves exactly like QLocale(Country,    Language).    This constructor is much slower than QLocale(Country, Language).    \sa name()*/QLocale::QLocale(const QString &name){    ::setDataPointer(&v, findLocale(name));    ::setNumberOptions(&v, 0);}/*!    Constructs a QLocale object initialized with the default locale. If    no default locale was set using setDefaultLocale(), this locale will    be the same as the one returned by system().    \sa setDefault()*/QLocale::QLocale(){    ::setDataPointer(&v, defaultPrivate());    ::setNumberOptions(&v, 0);}/*!    Constructs a QLocale object with the specified \a language and \a    country.    \list    \i If the language/country pair is found in the database, it is used.    \i If the language is found but the country is not, or if the country       is \c AnyCountry, the language is used with the most       appropriate available country (for example, Germany for German),    \i If neither the language nor the country are found, QLocale       defaults to the default locale (see setDefault()).    \endlist    The language and country that are actually used can be queried    using language() and country().    \sa setDefault() language() country()*/QLocale::QLocale(Language language, Country country){    const QLocalePrivate *d = findLocale(language, country);    // If not found, should default to system    if (d->languageId() == QLocale::C && language != QLocale::C)        d = defaultPrivate();    ::setDataPointer(&v, d);    ::setNumberOptions(&v, 0);}/*!    Constructs a QLocale object as a copy of \a other.*/QLocale::QLocale(const QLocale &other){    v = other.v;}const QLocalePrivate *QLocale::d() const{    return ::dataPointer(v);}/*!    Assigns \a other to this QLocale object and returns a reference    to this QLocale object.*/QLocale &QLocale::operator=(const QLocale &other){    v = other.v;    return *this;}/*!    \since 4.2    Sets the \a options related to number conversions for this    QLocale instance.*/void QLocale::setNumberOptions(NumberOptions options){    ::setNumberOptions(&v, options);}/*!    \since 4.2    Returns the options related to number conversions for this    QLocale instance.    By default, no options are set for the standard locales.*/QLocale::NumberOptions QLocale::numberOptions() const{    return static_cast<NumberOption>(::numberOptions(v));}/*!    \nonreentrant    Sets the global default locale to \a locale. These    values are used when a QLocale object is constructed with    no arguments. If this function is not called, the system's    locale is used.    \warning In a multithreaded application, the default locale    should be set at application startup, before any non-GUI threads    are created.    \sa system() c()*/void QLocale::setDefault(const QLocale &locale){    default_lp = locale.d();}/*!    Returns the language of this locale.    \sa country(), languageToString(), name()*/QLocale::Language QLocale::language() const{    return Language(d()->languageId());}/*!    Returns the country of this locale.    \sa language(), countryToString(), name()*/QLocale::Country QLocale::country() const{    return Country(d()->countryId());}/*!    Returns the language and country of this locale as a    string of the form "language_country", where    language is a lowercase, two-letter ISO 639 language code,    and country is an uppercase, two-letter ISO 3166 country code.    \sa language(), country()*/QString QLocale::name() const{    Language l = language();    QString result = languageToCode(l);    if (l == C)        return result;    Country c = country();    if (c == AnyCountry)        return result;    result.append(QLatin1Char('_'));    result.append(countryToCode(c));    return result;}/*!    Returns a QString containing the name of \a language.    \sa countryToString(), name()*/QString QLocale::languageToString(Language language){    if (uint(language) > uint(QLocale::LastLanguage))        return QLatin1String("Unknown");    return QLatin1String(language_name_list + language_name_index[language]);}/*!    Returns a QString containing the name of \a country.    \sa country(), name()*/QString QLocale::countryToString(Country country){    if (uint(country) > uint(QLocale::LastCountry))        return QLatin1String("Unknown");    return QLatin1String(country_name_list + country_name_index[country]);}/*!    Returns the short int represented by the localized string \a s,    using base \a base. If \a base is 0 the base is determined    automatically using the following rules: If the string begins with    "0x", it is assumed to be hexadecimal; if it begins with "0", it    is assumed to be octal; otherwise it is assumed to be decimal.    If the conversion fails the function returns 0.    If \a ok is not 0, failure is reported by setting *ok to false, and    success by setting *ok to true.    This function ignores leading and trailing whitespace.    \sa toUShort(), toString()*/short QLocale::toShort(const QString &s, bool *ok, int base) const{    qlonglong i = toLongLong(s, ok, base);    if (i < SHRT_MIN || i > SHRT_MAX) {        if (ok != 0)            *ok = false;        return 0;    }    return short(i);}/*!    Returns the unsigned short int represented by the localized string    \a s, using base \a base. If \a base is 0 the base is determined    automatically using the following rules: If the string begins with    "0x", it is assumed to be hexadecimal; if it begins with "0", it    is assumed to be octal; otherwise it is assumed to be decimal.    If the conversion fails the function returns 0.    If \a ok is not 0, failure is reported by setting *ok to false, and    success by setting *ok to true.    This function ignores leading and trailing whitespace.    \sa toShort(), toString()*/ushort QLocale::toUShort(const QString &s, bool *ok, int base) const{    qulonglong i = toULongLong(s, ok, base);    if (i > USHRT_MAX) {        if (ok != 0)            *ok = false;        return 0;    }    return ushort(i);}/*!    Returns the int represented by the localized string \a s, using    base \a base. If \a base is 0 the base is determined automatically    using the following rules: If the string begins with "0x", it is    assumed to be hexadecimal; if it begins with "0", it is assumed to    be octal; otherwise it is assumed to be decimal.    If the conversion fails the function returns 0.    If \a ok is not 0, failure is reported by setting *ok to false, and    success by setting *ok to true.    This function ignores leading and trailing whitespace.    \sa toUInt(), toString()*/int QLocale::toInt(const QString &s, bool *ok, int base) const{    qlonglong i = toLongLong(s, ok, base);    if (i < INT_MIN || i > INT_MAX) {        if (ok != 0)            *ok = false;        return 0;    }    return int(i);}/*!    Returns the unsigned int represented by the localized string \a s,    using base \a base. If \a base is 0 the base is determined    automatically using the following rules: If the string begins with    "0x", it is assumed to be hexadecimal; if it begins with "0", it    is assumed to be octal; otherwise it is assumed to be decimal.    If the conversion fails the function returns 0.    If \a ok is not 0, failure is reported by setting *ok to false, and    success by setting *ok to true.    This function ignores leading and trailing whitespace.    \sa toInt(), toString()*/uint QLocale::toUInt(const QString &s, bool *ok, int base) const{    qulonglong i = toULongLong(s, ok, base);    if (i > UINT_MAX) {        if (ok != 0)            *ok = false;        return 0;    }    return uint(i);}/*!    Returns the long long int represented by the localized string \a    s, using base \a base. If \a base is 0 the base is determined    automatically using the following rules: If the string begins with    "0x", it is assumed to be hexadecimal; if it begins with "0", it    is assumed to be octal; otherwise it is assumed to be decimal.    If the conversion fails the function returns 0.    If \a ok is not 0, failure is reported by setting *ok to false, and    success by setting *ok to true.    This function ignores leading and trailing whitespace.    \sa toInt(), toULongLong(), toDouble(), toString()*/qlonglong QLocale::toLongLong(const QString &s, bool *ok, int base) const{    QLocalePrivate::GroupSeparatorMode mode        = ::numberOptions(v) & RejectGroupSeparator            ? QLocalePrivate::FailOnGroupSeparators            : QLocalePrivate::ParseGroupSeparators;    return d()->stringToLongLong(s, base, ok, mode);}/*!    Returns the unsigned long long int represented by the localized    string \a s, using base \a base. If \a base is 0 the base is    determined automatically using the following rules: If the string    begins with "0x", it is assumed to be hexadecimal; if it begins    with "0", it is assumed to be octal; otherwise it is assumed to be    decimal.    If the conversion fails the function returns 0.    If \a ok is not 0, failure is reported by setting *ok to false, and    success by setting *ok to true.    This function ignores leading and trailing whitespace.    \sa toLongLong(), toInt(), toDouble(), toString()*/qlonglong QLocale::toULongLong(const QString &s, bool *ok, int base) const{    QLocalePrivate::GroupSeparatorMode mode        = ::numberOptions(v) & RejectGroupSeparator            ? QLocalePrivate::FailOnGroupSeparators            : QLocalePrivate::ParseGroupSeparators;    return d()->stringToUnsLongLong(s, base, ok, mode);}/*!    Returns the float represented by the localized string \a s, or 0.0    if the conversion failed.    If \a 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.    \sa toDouble(), toInt(), toString()*/#define QT_MAX_FLOAT 3.4028234663852886e+38float QLocale::toFloat(const QString &s, bool *ok) const{    bool myOk;    double d = toDouble(s, &myOk);    if (!myOk || d > QT_MAX_FLOAT || d < -QT_MAX_FLOAT) {        if (ok != 0)            *ok = false;        return 0.0;    }    if (ok != 0)        *ok = true;    return float(d);}/*!    Returns the double represented by the localized string \a s, or    0.0 if the conversion failed.    If \a ok is not 0, reports failure by setting    *ok to false and success by setting *ok to true.    Unlike QString::toDouble(), this function does not fall back to    the "C" locale if the string cannot be interpreted in this    locale.    \code        bool ok;        double d;        QLocale c(QLocale::C);        d = c.toDouble( "1234.56", &ok );  // ok == true, d == 1234.56        d = c.toDouble( "1,234.56", &ok ); // ok == true, d == 1234.56        d = c.toDouble( "1234,56", &ok );  // ok == false        QLocale german(QLocale::German);        d = german.toDouble( "1234,56", &ok );  // ok == true, d == 1234.56        d = german.toDouble( "1.234,56", &ok ); // ok == true, d == 1234.56        d = german.toDouble( "1234.56", &ok );  // ok == false        d = german.toDouble( "1.234", &ok );    // ok == true, d == 1234.0    \endcode    Notice that the last conversion returns 1234.0, because '.' is the 

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
欧美精品tushy高清| 成人免费观看av| 国产v日产∨综合v精品视频| 在线亚洲人成电影网站色www| 日韩精品影音先锋| 亚洲欧美另类小说视频| 精品一区二区免费在线观看| 色综合久久综合| 精品三级av在线| 亚洲欧美另类在线| 国产精品99久久久久久有的能看| 欧洲一区二区av| 国产精品护士白丝一区av| 日本不卡高清视频| 欧美日韩午夜精品| 亚洲欧洲另类国产综合| 国产精品一区二区你懂的| 欧美一级一区二区| 亚洲成人777| 99国产精品久| 欧美激情一区二区三区蜜桃视频| 日韩电影免费一区| 欧美美女黄视频| 一区二区三区在线观看网站| 成人亚洲精品久久久久软件| 精品国产免费久久| 久久精品国产亚洲一区二区三区| 欧美亚州韩日在线看免费版国语版| 国产精品萝li| 懂色av一区二区在线播放| 久久久一区二区三区| 九九九精品视频| 日韩三级伦理片妻子的秘密按摩| 午夜天堂影视香蕉久久| 在线欧美一区二区| 亚洲一区二区三区四区五区中文 | 久久精品99久久久| 日韩三级电影网址| 看电视剧不卡顿的网站| 精品国产免费人成在线观看| 紧缚捆绑精品一区二区| 337p日本欧洲亚洲大胆色噜噜| 老汉av免费一区二区三区| xnxx国产精品| 国产激情91久久精品导航| 中文成人av在线| 91麻豆免费视频| 一区二区久久久久久| 欧美日韩亚洲综合在线| 麻豆传媒一区二区三区| 久久一二三国产| 成人福利电影精品一区二区在线观看 | 日韩网站在线看片你懂的| 日韩高清在线一区| 精品入口麻豆88视频| 丁香另类激情小说| 最新国产精品久久精品| 欧美午夜理伦三级在线观看| 日韩制服丝袜先锋影音| 日韩欧美中文字幕精品| 国产乱人伦精品一区二区在线观看| 久久久天堂av| 色婷婷国产精品综合在线观看| 日韩va亚洲va欧美va久久| 久久亚洲影视婷婷| 成人高清伦理免费影院在线观看| 亚洲免费高清视频在线| 欧美肥胖老妇做爰| 国产成人亚洲精品狼色在线| 久久亚洲精品国产精品紫薇| 日韩一区二区电影| 国产精品18久久久久久久久| 国产精品无遮挡| 欧美老肥妇做.爰bbww| 国产麻豆精品久久一二三| 一区二区三区在线播放| 精品国产一二三| 色综合久久久久| 国产一区二区三区在线观看免费| 中文字幕一区二区三中文字幕| 欧美一区二区播放| 一本一本久久a久久精品综合麻豆| 日本sm残虐另类| 亚洲人成亚洲人成在线观看图片 | 成人国产视频在线观看| 蜜桃视频在线观看一区| 一区二区三区四区激情| 久久先锋资源网| 欧美一区二区三级| 91免费国产在线观看| 国产精品影视网| 男女性色大片免费观看一区二区| 国产精品进线69影院| 久久精品视频在线看| 宅男在线国产精品| 成人免费福利片| 免费成人在线播放| 一区二区三区影院| 国产精品久久久久天堂| 精品免费视频一区二区| 欧美日韩在线免费视频| av电影在线观看完整版一区二区| 精久久久久久久久久久| 日韩精品久久久久久| 亚洲品质自拍视频| 亚洲色图制服诱惑 | 国内精品第一页| 日韩精品欧美精品| 亚洲成人三级小说| 一区二区三区欧美亚洲| 自拍偷拍国产精品| 亚洲丝袜精品丝袜在线| 日本一区免费视频| 国产日韩欧美精品在线| 亚洲精品在线三区| 欧美精品一区二区三区高清aⅴ| 欧美老人xxxx18| 欧美性猛片aaaaaaa做受| 91久久精品一区二区二区| 99麻豆久久久国产精品免费| 成人小视频免费在线观看| 国产69精品久久久久毛片| 国产成人免费在线观看不卡| 国产精品影音先锋| 成人动漫一区二区在线| 99久久婷婷国产综合精品| 91视频一区二区三区| 日本精品视频一区二区三区| 日本大香伊一区二区三区| 欧美日韩一区视频| 91 com成人网| 欧美一区二区黄| 久久午夜老司机| 中文字幕亚洲成人| 午夜在线电影亚洲一区| 成人免费高清视频在线观看| 91免费精品国自产拍在线不卡| 欧美午夜不卡视频| 欧美一区三区二区| 久久久久久久久久久电影| 日本一区二区不卡视频| 一区二区成人在线观看| 亚洲第一二三四区| 激情综合一区二区三区| jlzzjlzz亚洲日本少妇| 国产亚洲一区二区三区四区| 欧美一级黄色录像| 国产精品国产三级国产| 黄色日韩三级电影| 亚洲午夜精品一区二区三区他趣| 调教+趴+乳夹+国产+精品| 国产做a爰片久久毛片| 成人免费福利片| 欧美日韩久久久久久| 日韩精品一区二区三区在线| 亚洲欧洲精品成人久久奇米网| 亚洲高清免费在线| 国产精品一区专区| 欧美日韩一区二区三区视频| 久久影视一区二区| 欧美精品第1页| 亚洲综合成人网| 奇米一区二区三区av| 午夜精品福利在线| 一区二区三区高清| 国产自产v一区二区三区c| 欧美色综合网站| 国产精品二区一区二区aⅴ污介绍| 亚洲在线成人精品| 国产精品白丝jk黑袜喷水| 91精品国产色综合久久ai换脸| 国产午夜精品久久久久久久 | 国产sm精品调教视频网站| 欧美日韩在线精品一区二区三区激情| 国产日产精品1区| 日韩av一区二区三区四区| 色狠狠综合天天综合综合| 中文欧美字幕免费| 国产永久精品大片wwwapp| 久久综合精品国产一区二区三区| 一区二区欧美国产| 成人激情av网| 国产亚洲欧美中文| 久99久精品视频免费观看| 欧美日韩一级黄| 一区二区三区 在线观看视频| 成人一级黄色片| 精品成人一区二区三区四区| 亚洲v日本v欧美v久久精品| 色视频一区二区| 亚洲欧洲成人av每日更新| 国产精品亚洲一区二区三区在线 | 欧美极品另类videosde| 国产真实乱偷精品视频免| 欧美一区二区黄| 男男成人高潮片免费网站| 欧美日韩在线免费视频| 亚洲一区二区三区四区在线观看 | 欧美刺激午夜性久久久久久久| 亚洲成在人线在线播放|