~ubuntu-branches/ubuntu/lucid/kdepim-runtime/lucid-updates

« back to all changes in this revision

Viewing changes to kresources/kcal/resourceakonadi_p.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Jonathan Thomas
  • Date: 2010-01-06 18:57:08 UTC
  • mfrom: (1.1.10 upstream)
  • Revision ID: james.westby@ubuntu.com-20100106185708-njxieh19nqhom3nd
Tags: 4:4.3.90-0ubuntu1
* New upstream beta release:
  - Bump build-depend versions

Show diffs side-by-side

added added

removed removed

Lines of Context:
127
127
 
128
128
  Q_ASSERT( mStoreCollectionDialog != 0 );
129
129
 
130
 
  if ( mimeType == KCal::MimeTypeVisitor::eventMimeType() ) {
 
130
  if ( mimeType == Akonadi::IncidenceMimeTypeVisitor::eventMimeType() ) {
131
131
    mStoreCollectionDialog->setLabelText( i18nc( "@label where to store a calendar entry of type Event", "Please select a storage folder for this Event" ) );
132
 
  } else if ( mimeType == KCal::MimeTypeVisitor::todoMimeType() ) {
 
132
  } else if ( mimeType == Akonadi::IncidenceMimeTypeVisitor::todoMimeType() ) {
133
133
    mStoreCollectionDialog->setLabelText( i18nc( "@label where to store a calendar entry of type Todo", "Please select a storage folder for this Todo" ) );
134
 
  } else if ( mimeType == KCal::MimeTypeVisitor::journalMimeType() ) {
 
134
  } else if ( mimeType == Akonadi::IncidenceMimeTypeVisitor::journalMimeType() ) {
135
135
    mStoreCollectionDialog->setLabelText( i18nc( "@label where to store a calendar entry of type Journal", "Please select a storage folder for this Journal" ) );
136
136
  } else if ( mimeType == QLatin1String( "text/calendar" ) ) {
137
137
    kWarning( 5800 ) << "Unexpected generic MIME type text/calendar";
206
206
//     storeCollections[ KCal::MimeTypeVisitor::journalMimeType() ] = mDefaultStoreCollection;
207
207
//   }
208
208
 
209
 
  storeCollections[ KCal::MimeTypeVisitor::eventMimeType() ] = mDefaultStoreCollection;
210
 
  storeCollections[ KCal::MimeTypeVisitor::todoMimeType() ] = mDefaultStoreCollection;
211
 
  storeCollections[ KCal::MimeTypeVisitor::journalMimeType() ] = mDefaultStoreCollection;
 
209
  storeCollections[ Akonadi::IncidenceMimeTypeVisitor::eventMimeType() ] = mDefaultStoreCollection;
 
210
  storeCollections[ Akonadi::IncidenceMimeTypeVisitor::todoMimeType() ] = mDefaultStoreCollection;
 
211
  storeCollections[ Akonadi::IncidenceMimeTypeVisitor::journalMimeType() ] = mDefaultStoreCollection;
212
212
 
213
213
  return storeCollections;
214
214
}