KDE 4.7 PyKDE API Reference
  • KDE's Python API
  • Overview
  • PyKDE Home
  • Sitemap
  • Contact Us
 

CollectionAttributesSynchronizationJob Class Reference

from PyKDE4.akonadi import *

Inherits: KJob → QObject
Namespace: Akonadi

Detailed Description

Job that synchronizes the attributes of a collection.

This job will trigger a resource to synchronize the attributes of a collection based on what the backend is reporting to store them in the Akonadi storage.

Example:

 using namespace Akonadi;

 const Collection collection = ...;

 CollectionAttributesSynchronizationJob *job = new CollectionAttributesSynchronizationJob( collection );
 connect( job, SIGNAL( result( KJob* ) ), SLOT( synchronizationFinished( KJob* ) ) );

Note:
This is a KJob not an Akonadi.Job, so it wont auto-start!

Author:
Volker Krause <vkrause@kde.org>
Since:
4.6


Methods

 __init__ (self, Akonadi.Collection collection, QObject parent=0)
 start (self)

Method Documentation

__init__ (  self,
Akonadi.Collection  collection,
QObject  parent=0
)

Creates a new synchronization job for the given collection.

Parameters:
collection  The collection to synchronize.

start (   self )
  • Full Index

Modules

  • akonadi
  • dnssd
  • kdecore
  • kdeui
  • khtml
  • kio
  • knewstuff
  • kparts
  • kutils
  • nepomuk
  • phonon
  • plasma
  • polkitqt
  • solid
  • soprano
This documentation is maintained by Simon Edwards.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal