Ignore:
Timestamp:
Aug 2, 2010, 9:27:30 PM (15 years ago)
Author:
Dmitry A. Kuminov
Message:

trunk: Merged in qt 4.6.3 sources from branches/vendor/nokia/qt.

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk

  • trunk/tools/assistant/lib/qhelpcollectionhandler.cpp

    r651 r769  
    253253        "Value BLOB )");
    254254
    255     foreach (QString q, tables) {
     255    foreach (const QString &q, tables) {
    256256        if (!query->exec(q))
    257257            return false;
     
    324324    }
    325325
    326     foreach (QString id, idsToInsert) {
     326    foreach (const QString &id, idsToInsert) {
    327327        m_query.prepare(QLatin1String("INSERT INTO FilterAttributeTable VALUES(NULL, ?)"));
    328328        m_query.bindValue(0, id);
     
    347347    m_query.exec();
    348348
    349     foreach (QString att, attributes) {
     349    foreach (const QString &att, attributes) {
    350350        m_query.prepare(QLatin1String("INSERT INTO FilterTable VALUES(?, ?)"));
    351351        m_query.bindValue(0, nameId);
     
    401401
    402402    addFilterAttributes(reader.filterAttributes());
    403     foreach (QString filterName, reader.customFilters())
     403    foreach (const QString &filterName, reader.customFilters())
    404404        addCustomFilter(filterName, reader.filterAttributes(filterName));
    405405
     
    500500        atts.insert(m_query.value(0).toString());
    501501
    502     foreach (QString s, attributes) {
     502    foreach (const QString &s, attributes) {
    503503        if (!atts.contains(s)) {
    504504            m_query.prepare(QLatin1String("INSERT INTO FilterAttributeTable VALUES(NULL, ?)"));
Note: See TracChangeset for help on using the changeset viewer.