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/src/tools/uic3/converter.cpp

    r651 r769  
    402402            if (objName == receiver) {
    403403                // see if it's a custom slot
    404                 foreach (QString cs, ui_custom_slots) {
     404                foreach (const QString &cs, ui_custom_slots) {
    405405                    if (cs == slot) {
    406406                        resolved = true;
     
    11231123                QStringList flags = prop->elementSet().split(QLatin1Char('|'));
    11241124                QStringList v;
    1125                 foreach (QString fl, flags) {
     1125                foreach (const QString &fl, flags) {
    11261126                    QString e = WidgetInfo::resolveEnumerator(className, fl);
    11271127                    if (e.isEmpty()) {
     
    12841284    //split type name on <>*& and whitespace
    12851285    QStringList typeNames = t.split(QRegExp(QLatin1String("<|>|\\*|&| ")), QString::SkipEmptyParts);
    1286     foreach(QString typeName , typeNames) {
     1286    foreach(const QString &typeName , typeNames) {
    12871287        QString newName = fixClassName(typeName);
    12881288        if( newName != typeName ) {
Note: See TracChangeset for help on using the changeset viewer.