Changeset 769 for trunk/tools/assistant/lib/qhelpcollectionhandler.cpp
- Timestamp:
- Aug 2, 2010, 9:27:30 PM (15 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk
- Property svn:mergeinfo changed
/branches/vendor/nokia/qt/4.6.3 (added) merged: 768 /branches/vendor/nokia/qt/current merged: 767 /branches/vendor/nokia/qt/4.6.2 removed
- Property svn:mergeinfo changed
-
trunk/tools/assistant/lib/qhelpcollectionhandler.cpp
r651 r769 253 253 "Value BLOB )"); 254 254 255 foreach ( QStringq, tables) {255 foreach (const QString &q, tables) { 256 256 if (!query->exec(q)) 257 257 return false; … … 324 324 } 325 325 326 foreach ( QStringid, idsToInsert) {326 foreach (const QString &id, idsToInsert) { 327 327 m_query.prepare(QLatin1String("INSERT INTO FilterAttributeTable VALUES(NULL, ?)")); 328 328 m_query.bindValue(0, id); … … 347 347 m_query.exec(); 348 348 349 foreach ( QStringatt, attributes) {349 foreach (const QString &att, attributes) { 350 350 m_query.prepare(QLatin1String("INSERT INTO FilterTable VALUES(?, ?)")); 351 351 m_query.bindValue(0, nameId); … … 401 401 402 402 addFilterAttributes(reader.filterAttributes()); 403 foreach ( QStringfilterName, reader.customFilters())403 foreach (const QString &filterName, reader.customFilters()) 404 404 addCustomFilter(filterName, reader.filterAttributes(filterName)); 405 405 … … 500 500 atts.insert(m_query.value(0).toString()); 501 501 502 foreach ( QStrings, attributes) {502 foreach (const QString &s, attributes) { 503 503 if (!atts.contains(s)) { 504 504 m_query.prepare(QLatin1String("INSERT INTO FilterAttributeTable VALUES(NULL, ?)"));
Note:
See TracChangeset
for help on using the changeset viewer.