# class CollectionPropertiesPage

### abstract

Module | akonadi
Namespace | Akonadi
Class | CollectionPropertiesPage
Inherits | QWidget

### methods

- CollectionPropertiesPage (parent)

  returns ctor

  Argument | Type | Default
  --- | --- | ---
  parent | QWidget | 0

  Creates a new collection properties page.

  parent - The parent widget.

- canHandle (collection)

  returns bool

  Argument | Type | Default
  --- | --- | ---
  collection | Akonadi.Collection |

  Checks if this page can actually handle the given collection.

  Returns true if the collection can be handled, false otherwise The default implementation returns always true. When false is returned this page is not shown in the properties dialog.

- load (collection)

  returns Nothing
  pure virtual

  Argument | Type | Default
  --- | --- | ---
  collection | Akonadi.Collection |

  Loads the page content from the given collection.

  collection - The collection to load.

- pageTitle ( )

  returns QString

  Returns the page title.

- save (collection)

  returns Nothing
  pure virtual

  Argument | Type | Default
  --- | --- | ---
  collection | Akonadi.Collection |

  Saves page content to the given collection.

  collection - Reference to the collection to save to.

- setPageTitle (title)

  returns Nothing

  Argument | Type | Default
  --- | --- | ---
  title | QString |

  Sets the page title.

  title - Translated, preferrably short tab title.