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

« back to all changes in this revision

Viewing changes to agents/nepomuk_calendar_feeder/nepomukcalendarfeeder.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:
24
24
#include <akonadi/changerecorder.h>
25
25
#include <akonadi/item.h>
26
26
#include <akonadi/itemfetchscope.h>
27
 
#include <kcal/mimetypevisitor.h>
 
27
#include <akonadi/kcal/incidencemimetypevisitor.h>
28
28
 
29
29
#include <nepomuk/resource.h>
30
30
#include <nepomuk/resourcemanager.h>
59
59
NepomukCalendarFeeder::NepomukCalendarFeeder( const QString &id )
60
60
  : NepomukFeederAgent<NepomukFast::Calendar>( id )
61
61
{
62
 
  addSupportedMimeType( KCal::MimeTypeVisitor::eventMimeType() );
63
 
  addSupportedMimeType( KCal::MimeTypeVisitor::todoMimeType() );
64
 
  addSupportedMimeType( KCal::MimeTypeVisitor::journalMimeType() );
65
 
  addSupportedMimeType( KCal::MimeTypeVisitor::freeBusyMimeType() );
 
62
  addSupportedMimeType( Akonadi::IncidenceMimeTypeVisitor::eventMimeType() );
 
63
  addSupportedMimeType( Akonadi::IncidenceMimeTypeVisitor::todoMimeType() );
 
64
  addSupportedMimeType( Akonadi::IncidenceMimeTypeVisitor::journalMimeType() );
 
65
  addSupportedMimeType( Akonadi::IncidenceMimeTypeVisitor::freeBusyMimeType() );
66
66
 
67
67
  changeRecorder()->itemFetchScope().fetchFullPayload();
68
68
}