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

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

?? qsettings.cpp

?? QT 開發環境里面一個很重要的文件
?? CPP
?? 第 1 頁 / 共 5 頁
字號:
            result += QLatin1Char(')');            break;        }        case QVariant::Size: {            QSize s = qvariant_cast<QSize>(v);            result += QLatin1String("@Size(");            result += QString::number(s.width());            result += QLatin1Char(' ');            result += QString::number(s.height());            result += QLatin1Char(')');            break;        }        case QVariant::Point: {            QPoint p = qvariant_cast<QPoint>(v);            result += QLatin1String("@Point(");            result += QString::number(p.x());            result += QLatin1Char(' ');            result += QString::number(p.y());            result += QLatin1Char(')');            break;        }#endif // !QT_NO_GEOM_VARIANT        default: {#ifndef QT_NO_DATASTREAM            QByteArray a;            {                QDataStream s(&a, QIODevice::WriteOnly);                s.setVersion(QDataStream::Qt_4_0);                s << v;            }            result = QLatin1String("@Variant(");            result += QString::fromLatin1(a.constData(), a.size());            result += QLatin1Char(')');#else            Q_ASSERT("QSettings: Cannot save custom types without QDataStream support");#endif            break;        }    }    return result;}QVariant QSettingsPrivate::stringToVariant(const QString &s){    if (s.startsWith(QLatin1Char('@'))) {        if (s.endsWith(QLatin1Char(')'))) {            if (s.startsWith(QLatin1String("@ByteArray("))) {                return QVariant(s.toLatin1().mid(11, s.size() - 12));            } else if (s.startsWith(QLatin1String("@Variant("))) {#ifndef QT_NO_DATASTREAM                QByteArray a(s.toLatin1().mid(9));                QDataStream stream(&a, QIODevice::ReadOnly);                stream.setVersion(QDataStream::Qt_4_0);                QVariant result;                stream >> result;                return result;#else                Q_ASSERT("QSettings: Cannot load custom types without QDataStream support");#endif#ifndef QT_NO_GEOM_VARIANT            } else if (s.startsWith(QLatin1String("@Rect("))) {                QStringList args = QSettingsPrivate::splitArgs(s, 5);                if (args.size() == 4)                    return QVariant(QRect(args[0].toInt(), args[1].toInt(), args[2].toInt(), args[3].toInt()));            } else if (s.startsWith(QLatin1String("@Size("))) {                QStringList args = QSettingsPrivate::splitArgs(s, 5);                if (args.size() == 2)                    return QVariant(QSize(args[0].toInt(), args[1].toInt()));            } else if (s.startsWith(QLatin1String("@Point("))) {                QStringList args = QSettingsPrivate::splitArgs(s, 6);                if (args.size() == 2)                    return QVariant(QPoint(args[0].toInt(), args[1].toInt()));#endif            } else if (s == QLatin1String("@Invalid()")) {                return QVariant();            }        }        if (s.startsWith(QLatin1String("@@")))            return QVariant(s.mid(1));    }    return QVariant(s);}static const char hexDigits[] = "0123456789ABCDEF";void QSettingsPrivate::iniEscapedKey(const QString &key, QByteArray &result){    result.reserve(result.length() + key.length() * 3 / 2);    for (int i = 0; i < key.size(); ++i) {        uint ch = key.at(i).unicode();        if (ch == '/') {            result += '\\';        } else if (ch >= 'a' && ch <= 'z' || ch >= 'A' && ch <= 'Z' || ch >= '0' && ch <= '9'                || ch == '_' || ch == '-' || ch == '.') {            result += (char)ch;        } else if (ch <= 0xFF) {            result += '%';            result += hexDigits[ch / 16];            result += hexDigits[ch % 16];        } else {            result += "%U";            QByteArray hexCode;            for (int i = 0; i < 4; ++i) {                hexCode.prepend(hexDigits[ch % 16]);                ch >>= 4;            }            result += hexCode;        }    }}bool QSettingsPrivate::iniUnescapedKey(const QByteArray &key, int from, int to, QString &result){    bool lowercaseOnly = true;    int i = from;    result.reserve(result.length() + (to - from));    while (i < to) {        int ch = (uchar)key.at(i);        if (ch == '\\') {            result += QLatin1Char('/');            ++i;            continue;        }        if (ch != '%' || i == to - 1) {            if (uint(ch - 'A') <= 'Z' - 'A') // only for ASCII                lowercaseOnly = false;            result += QLatin1Char(ch);            ++i;            continue;        }        int numDigits = 2;        int firstDigitPos = i + 1;        ch = key.at(i + 1);        if (ch == 'U') {            ++firstDigitPos;            numDigits = 4;        }        if (firstDigitPos + numDigits > to) {            result += QLatin1Char('%');            // ### missing U            ++i;            continue;        }        bool ok;        ch = key.mid(firstDigitPos, numDigits).toInt(&ok, 16);        if (!ok) {            result += QLatin1Char('%');            // ### missing U            ++i;            continue;        }        QChar qch(ch);        if (qch.isUpper())            lowercaseOnly = false;        result += qch;        i = firstDigitPos + numDigits;    }    return lowercaseOnly;}void QSettingsPrivate::iniEscapedString(const QString &str, QByteArray &result){    bool needsQuotes = false;    bool escapeNextIfDigit = false;    int i;    int startPos = result.size();    result.reserve(startPos + str.size() * 3 / 2);    for (i = 0; i < str.size(); ++i) {        uint ch = str.at(i).unicode();        if (ch == ';' || ch == ',' || ch == '=')            needsQuotes = true;        if (escapeNextIfDigit                && ((ch >= '0' && ch <= '9')                    || (ch >= 'a' && ch <= 'f')                    || (ch >= 'A' && ch <= 'F'))) {            result += "\\x";            result += QByteArray::number(ch, 16);            continue;        }        escapeNextIfDigit = false;        switch (ch) {        case '\0':            result += "\\0";            escapeNextIfDigit = true;            break;        case '\a':            result += "\\a";            break;        case '\b':            result += "\\b";            break;        case '\f':            result += "\\f";            break;        case '\n':            result += "\\n";            break;        case '\r':            result += "\\r";            break;        case '\t':            result += "\\t";            break;        case '\v':            result += "\\v";            break;        case '"':        case '\\':            result += '\\';            result += (char)ch;            break;        default:            if (ch <= 0x1F || ch >= 0x7F) {                result += "\\x";                result += QByteArray::number(ch, 16);                escapeNextIfDigit = true;            } else {                result += (char)ch;            }        }    }    if (needsQuotes            || (startPos < result.size() && (result.at(startPos) == ' '                                                || result.at(result.size() - 1) == ' '))) {        result.insert(startPos, '"');        result += '"';    }}inline static void iniChopTrailingSpaces(QString &str){    int n = str.size() - 1;    QChar ch;    while (n >= 0 && ((ch = str.at(n)) == QLatin1Char(' ') || ch == QLatin1Char('\t')))        str.truncate(n--);}void QSettingsPrivate::iniEscapedStringList(const QStringList &strs, QByteArray &result){    if (strs.isEmpty()) {        /*            We need to distinguish between empty lists and one-item            lists that contain an empty string. Ideally, we'd have a            @EmptyList() symbol but that would break compatibility            with Qt 4.0. @Invalid() stands for QVariant(), and            QVariant().toStringList() returns an empty QStringList,            so we're in good shape.            ### Qt 5: Use a nicer syntax, e.g. @List, for variant lists        */        result += "@Invalid()";    } else {        for (int i = 0; i < strs.size(); ++i) {            if (i != 0)                result += ", ";            iniEscapedString(strs.at(i), result);        }    }}bool QSettingsPrivate::iniUnescapedStringList(const QByteArray &str, int from, int to,                                              QString &stringResult, QStringList &stringListResult){    static const char escapeCodes[][2] =    {        { 'a', '\a' },        { 'b', '\b' },        { 'f', '\f' },        { 'n', '\n' },        { 'r', '\r' },        { 't', '\t' },        { 'v', '\v' },        { '"', '"' },        { '?', '?' },        { '\'', '\'' },        { '\\', '\\' }    };    static const int numEscapeCodes = sizeof(escapeCodes) / sizeof(escapeCodes[0]);    bool isStringList = false;    bool inQuotedString = false;    bool currentValueIsQuoted = false;    int escapeVal = 0;    int i = from;    char ch;StSkipSpaces:    while (i < to && ((ch = str.at(i)) == ' ' || ch == '\t'))        ++i;    // fallthroughStNormal:    while (i < to) {        switch (str.at(i)) {        case '\\':            ++i;            if (i >= to)                goto end;            ch = str.at(i++);            for (int j = 0; j < numEscapeCodes; ++j) {                if (ch == escapeCodes[j][0]) {                    stringResult += QLatin1Char(escapeCodes[j][1]);                    goto StNormal;                }            }            if (ch == 'x') {                escapeVal = 0;                if (i >= to)                    goto end;                ch = str.at(i);                if ((ch >= '0' && ch <= '9') || (ch >= 'A' && ch <= 'F') || (ch >= 'a' && ch <= 'f'))                    goto StHexEscape;            } else if (ch >= '0' && ch <= '7') {                escapeVal = ch - '0';                goto StOctEscape;            } else if (ch == '\n' || ch == '\r') {                if (i < to) {                    char ch2 = str.at(i);                    // \n, \r, \r\n, and \n\r are legitimate line terminators in INI files                    if ((ch2 == '\n' || ch2 == '\r') && ch2 != ch)                        ++i;                }            } else {                // the character is skipped            }            break;        case '"':            ++i;            currentValueIsQuoted = true;            inQuotedString = !inQuotedString;            if (!inQuotedString)                goto StSkipSpaces;            break;        case ',':            if (!inQuotedString) {                if (!currentValueIsQuoted)                    iniChopTrailingSpaces(stringResult);                if (!isStringList) {                    isStringList = true;                    stringListResult.clear();                    stringResult.squeeze();                }                stringListResult.append(stringResult);                stringResult.clear();                currentValueIsQuoted = false;                ++i;                goto StSkipSpaces;            }            // fallthrough        default: {            int j = i + 1;            while (j < to) {                ch = str.at(j);                if (ch == '\\' || ch == '"' || ch == ',')                    break;                ++j;            }            int n = stringResult.size();            stringResult.resize(n + (j - i));            QChar *resultData = stringResult.data() + n;            for (int k = i; k < j; ++k)                *resultData++ = QLatin1Char(str.at(k));            i = j;        }        }    }    goto end;StHexEscape:    if (i >= to) {        stringResult += QChar(escapeVal);        goto end;    }    ch = str.at(i);    if (ch >= 'a')        ch -= 'a' - 'A';    if ((ch >= '0' && ch <= '9') || (ch >= 'A' && ch <= 'F')) {        escapeVal <<= 4;        escapeVal += strchr(hexDigits, ch) - hexDigits;        ++i;        goto StHexEscape;    } else {        stringResult += QChar(escapeVal);        goto StNormal;    }StOctEscape:    if (i >= to) {        stringResult += QChar(escapeVal);        goto end;    }

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
欧美亚洲综合网| 久久综合给合久久狠狠狠97色69| 亚洲国产成人高清精品| 2020国产成人综合网| 在线观看国产日韩| 国产九色精品成人porny | av电影在线观看一区| 日韩主播视频在线| 日韩伦理av电影| 久久久亚洲欧洲日产国码αv| 色综合天天综合狠狠| 粉嫩欧美一区二区三区高清影视| 午夜在线成人av| 中文字幕欧美一| 精品国产亚洲一区二区三区在线观看| 在线一区二区三区| av网站一区二区三区| 国产精品综合久久| 久久99久久99精品免视看婷婷| 亚洲国产毛片aaaaa无费看 | 午夜精品一区在线观看| 国产精品成人免费精品自在线观看| 日韩精品中午字幕| 欧美日韩高清在线| 欧美性淫爽ww久久久久无| 99精品桃花视频在线观看| 国产电影一区二区三区| 国模无码大尺度一区二区三区| 丝袜美腿亚洲一区二区图片| 亚洲国产精品久久久久婷婷884| 亚洲天堂av老司机| 最好看的中文字幕久久| ...中文天堂在线一区| 国产精品欧美一区喷水| 国产精品美女久久福利网站| 久久久国产综合精品女国产盗摄| 2014亚洲片线观看视频免费| 日韩精品一区二区在线| 精品三级在线看| 欧美一区二区福利在线| 日韩三级在线免费观看| 欧美一区二区三区视频在线| 欧美日韩国产bt| 51精品国自产在线| 日韩美女主播在线视频一区二区三区| 日韩欧美国产一区在线观看| 日韩欧美一区二区三区在线| 亚洲综合久久久久| 亚洲人成亚洲人成在线观看图片 | 成人免费看的视频| www.欧美精品一二区| 99精品欧美一区| 欧美视频在线观看一区| 欧美日本在线播放| 日韩欧美不卡在线观看视频| 久久九九全国免费| 亚洲视频狠狠干| 亚洲第一会所有码转帖| 免费久久精品视频| 岛国精品一区二区| 一本色道a无线码一区v| 欧美日韩在线免费视频| 精品剧情v国产在线观看在线| 久久这里只精品最新地址| 中文字幕不卡的av| 玉足女爽爽91| 麻豆一区二区99久久久久| 国产一区美女在线| 色婷婷av一区二区三区gif| 91精品在线一区二区| 国产无一区二区| 伊人婷婷欧美激情| 美女网站在线免费欧美精品| 国产99久久久国产精品潘金| 欧美性极品少妇| 欧美成人精品1314www| 国产精品三级电影| 香蕉加勒比综合久久| 国产成人亚洲综合a∨婷婷图片 | 欧美精品三级日韩久久| 久久五月婷婷丁香社区| 亚洲欧洲中文日韩久久av乱码| 无吗不卡中文字幕| 成人涩涩免费视频| 欧美日韩在线播放三区四区| 久久久久久久久久久久久女国产乱 | 欧美日韩一级二级| 久久精品亚洲国产奇米99| 亚洲愉拍自拍另类高清精品| 国产乱淫av一区二区三区| 欧美性大战久久久久久久| 久久久久久久久久久99999| 夜夜精品视频一区二区| 国产一区二区三区在线观看免费| 色综合久久久久综合| 精品免费99久久| 亚洲综合丝袜美腿| 国产主播一区二区| 欧美丰满嫩嫩电影| 亚洲日本成人在线观看| 韩国av一区二区三区| 欧美日韩精品是欧美日韩精品| 国产精品你懂的在线欣赏| 免费精品99久久国产综合精品| 色婷婷激情久久| 国产精品网站导航| 国产乱子伦视频一区二区三区| 欧美色图天堂网| 亚洲免费在线视频| 国产成人啪午夜精品网站男同| 制服丝袜亚洲精品中文字幕| 亚洲日本电影在线| 成人在线视频一区| 精品国产乱码久久久久久浪潮| 亚洲午夜成aⅴ人片| 色综合天天狠狠| 国产精品免费免费| 国产激情精品久久久第一区二区 | 国产精品久久久久影院| 国产综合一区二区| 精品国产区一区| 日本欧美加勒比视频| 欧美女孩性生活视频| 一区二区三区免费观看| 91麻豆123| 亚洲欧美日本韩国| 99久久免费精品高清特色大片| 欧美激情自拍偷拍| 成人永久免费视频| 国产精品日韩成人| 成人黄色一级视频| 国产精品不卡在线观看| 成人免费看的视频| 亚洲丝袜精品丝袜在线| 91美女蜜桃在线| 一区二区三区国产精品| 在线观看日韩电影| 天天综合日日夜夜精品| 欧美肥妇毛茸茸| 久久精品国产久精国产爱| 欧美电影免费观看高清完整版在线观看| 亚洲成av人影院| 制服丝袜成人动漫| 久久精品国产久精国产爱| 精品国产91九色蝌蚪| 国产美女av一区二区三区| 国产日产欧美一区二区视频| 成人高清免费观看| 亚洲美女在线一区| 欧美美女bb生活片| 韩国一区二区视频| 欧美激情一区二区三区全黄| 成人av综合在线| 亚洲一区二区av在线| 91麻豆精品国产自产在线观看一区| 日韩av一级电影| 精品福利在线导航| 99久久免费精品| 无吗不卡中文字幕| 久久久午夜精品理论片中文字幕| 成a人片国产精品| 亚洲成人av福利| 26uuuu精品一区二区| 99精品视频在线播放观看| 视频一区二区中文字幕| 久久久三级国产网站| 91国在线观看| 老司机免费视频一区二区| 国产欧美精品区一区二区三区| 91黄色免费网站| 久久99精品国产.久久久久久| 国产精品久久久久永久免费观看| 欧美日韩综合色| 国产传媒一区在线| 亚洲成人自拍网| 久久久国际精品| 欧美日韩在线播放一区| 国产成人综合亚洲网站| 亚洲国产欧美一区二区三区丁香婷| 欧美本精品男人aⅴ天堂| 91影院在线免费观看| 蜜桃精品视频在线观看| 国产精品毛片久久久久久| 欧美日韩国产高清一区二区| 国产成人午夜片在线观看高清观看| 亚洲国产一区二区三区青草影视| 久久久电影一区二区三区| 欧美日韩美女一区二区| 国产91精品久久久久久久网曝门| 偷拍自拍另类欧美| 国产精品美女www爽爽爽| 6080国产精品一区二区| av网站免费线看精品| 国模冰冰炮一区二区| 亚州成人在线电影| 亚洲欧洲性图库| 久久综合九色综合久久久精品综合| 欧美性色aⅴ视频一区日韩精品| 国产成人精品亚洲777人妖| 日韩av一区二区在线影视|