~ubuntu-branches/ubuntu/quantal/akonadi/quantal

« back to all changes in this revision

Viewing changes to libs/notificationmessage.cpp

  • Committer: Package Import Robot
  • Author(s): Jonathan Riddell
  • Date: 2012-07-09 12:09:55 UTC
  • mfrom: (1.1.36)
  • Revision ID: package-import@ubuntu.com-20120709120955-cvb1n863nouela0c
Tags: 1.7.90-0ubuntu1
New upstream beta release

Show diffs side-by-side

added added

removed removed

Lines of Context:
350
350
    // encode destination resource in parts, as a backward compat hack
351
351
    itemParts.push_back( QString::fromLatin1( msg.destinationResource() ) );
352
352
  } else {
353
 
    foreach ( const QByteArray &itemPart, msg.itemParts() )
 
353
    Q_FOREACH ( const QByteArray &itemPart, msg.itemParts() )
354
354
      itemParts.append( QString::fromLatin1( itemPart ) );
355
355
  }
356
356
 
392
392
    // decode destination resource, which is stored in parts as a backward compat hack
393
393
    msg.setDestinationResource( l.first().toLatin1() );
394
394
  } else {
395
 
    foreach ( const QString &itemPart, l )
 
395
    Q_FOREACH ( const QString &itemPart, l )
396
396
      itemParts.insert( itemPart.toLatin1() );
397
397
  }
398
398