# class ItemCopyJob

###

Module | akonadi
Namespace | Akonadi
Class | ItemCopyJob
Inherits | Akonadi::Job

Job that copies a set of items to a target collection in the Akonadi storage.

The job can be used to copy one or several Item objects to another collection.

Example:

    Akonadi.Item.List items = ...
    Akonadi.Collection collection = ...

    Akonadi.ItemCopyJob *job = new Akonadi.ItemCopyJob( items, collection );

    if ( job->exec() )
    qDebug() << "Items copied successfully";
    else
    qDebug() << "Error occurred";

Author Volker Krause <vkrause@kde.org>

### methods

- ItemCopyJob (item, target, parent)

  returns ctor

  Argument | Type | Default
  --- | --- | ---
  item | Akonadi.Item |
  target | Akonadi.Collection |
  parent | QObject | 0

  Creates a new item copy job.

  item - The item to copy.

  target - The target collection.

  parent - The parent object.

- ItemCopyJob (items, target, parent)

  returns ctor

  Argument | Type | Default
  --- | --- | ---
  items | Akonadi.Item.List |
  target | Akonadi.Collection |
  parent | QObject | 0

  Creates a new item copy job.

  items - A list of items to copy.

  target - The target collection.

  parent - The parent object.

- doStart ( )

  returns Nothing