# class CollectionPropertiesDialog

###

Module | akonadi
Namespace | Akonadi
Class | CollectionPropertiesDialog
Inherits | KDialog

A generic and extensible dialog for collection properties.

This dialog allows you to show or modify the properties of a collection.

    Akonadi.Collection collection = ...

    CollectionPropertiesDialog dlg( collection, this );
    dlg.exec();

It can be extended by custom pages, which contains gui elements for custom properties.

See also Akonadi.CollectionPropertiesPage

Author Volker Krause <vkrause@kde.org>

### methods

- CollectionPropertiesDialog (collection, parent)

  returns ctor

  Argument | Type | Default
  --- | --- | ---
  collection | Akonadi.Collection |
  parent | QWidget | 0

  Creates a new collection properties dialog.

  collection - The collection which properties should be shown.

  parent - The parent widget.

- registerPage (factory)

  returns Nothing
  static

  Argument | Type | Default
  --- | --- | ---
  factory | Akonadi.CollectionPropertiesPageFactory |

  Register custom pages for the collection properties dialog.

  factory - The properties page factory that provides the custom page.

  See also Akonadi.CollectionPropertiesPageFactory