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

« back to all changes in this revision

Viewing changes to server/src/handler/searchpersistent.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:
92
92
 
93
93
  // work around the fact that we have no clue what might be in there
94
94
  MimeType::List mts = MimeType::retrieveAll();
95
 
  foreach ( const MimeType &mt, mts ) {
 
95
  Q_FOREACH ( const MimeType &mt, mts ) {
96
96
    if ( mt.name() == QLatin1String( "inode/directory" ) )
97
97
      continue;
98
98
    col.addMimeType( mt );
109
109
  Response colResponse;
110
110
  colResponse.setUntagged();
111
111
  colResponse.setString( b );
112
 
  emit responseAvailable( colResponse );
 
112
  Q_EMIT responseAvailable( colResponse );
113
113
 
114
114
  return successResponse( "SEARCH_STORE completed" );
115
115
}