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

CollectionMoveJob Class Reference

from PyKDE4.akonadi import *

Inherits: Akonadi.Job → KCompositeJob → KJob → QObject
Namespace: Akonadi

Detailed Description

Job that moves a collection in the Akonadi storage to a new parent collection.

This job moves an existing collection to a new parent collection.


 const Akonadi.Collection collection = ...
 const Akonadi.Collection newParent = ...

 Akonadi.CollectionMoveJob *job = new Akonadi.CollectionMoveJob( collection, newParent );
 connect( job, SIGNAL( result( KJob* ) ), this, SLOT( moveResult( KJob* ) ) );

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


Methods

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

Method Documentation

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

Creates a new collection move job for the given collection and destination

Parameters:
collection  The collection to move.
destination  The destination collection where collection should be moved to.
parent  The parent object.

doStart (   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