MeeGo 1.2 Harmattan Developer Documentation Develop for the Nokia N9

QGalleryType Class Reference

The QGalleryType class provides a string constant identifying a gallery item type. More...

 #include <QGalleryType>

Public Functions

QString name () const
operator QString () const

Macros

Q_DEFINE_GALLERY_TYPE ( scope, name )

Detailed Description

The QGalleryType class provides a string constant identifying a gallery item type.

QAbstractGallery implementations use to QGalleryType to define the names of item types in their schemas.

See also QGalleryProperty.

Member Function Documentation

QString QGalleryType::name () const

Returns the name of an item type.

QGalleryType::operator QString () const

Returns the string name of an item type.

Macro Documentation

Q_DEFINE_GALLERY_TYPE ( scope, name )

Macro for defining the name of a gallery item type within the scope of a class or namespace.