QOrganizerItemPriority Class Reference

The QOrganizerItemPriority class contains the priority of the organizer item, which may be used to resolve scheduling conflicts. More...

 #include <QOrganizerItemPriority>

Inherits: QOrganizerItemDetail.

This class was introduced in Qt Mobility 1.1.

Public Types

enum Priority { UnknownPriority, HighestPriority, ExtremelyHighPriority, VeryHighPriority, ..., LowestPriority }

Public Functions

Priority priority () const
void setPriority ( Priority priority )

Static Public Members

const QLatin1Constant DefinitionName
const QLatin1Constant FieldPriority
QOrganizerItemFilter match ( Priority priority )

Detailed Description

The QOrganizerItemPriority class contains the priority of the organizer item, which may be used to resolve scheduling conflicts.

Member Type Documentation

enum QOrganizerItemPriority::Priority

Constant Value
QOrganizerItemPriority::UnknownPriority 0
QOrganizerItemPriority::HighestPriority 1
QOrganizerItemPriority::ExtremelyHighPriority 2
QOrganizerItemPriority::VeryHighPriority 3
QOrganizerItemPriority::HighPriority 4
QOrganizerItemPriority::MediumPriority 5
QOrganizerItemPriority::LowPriority 6
QOrganizerItemPriority::VeryLowPriority 7
QOrganizerItemPriority::ExtremelyLowPriority 8
QOrganizerItemPriority::LowestPriority 9

Member Function Documentation

QOrganizerItemFilter QOrganizerItemPriority::match ( Priority priority ) [static]

Returns a filter suitable for finding items of the specified priority.

Priority QOrganizerItemPriority::priority () const

Returns the priority associated with an organizer item.

This function was introduced in Qt Mobility 1.1.

See also setPriority().

void QOrganizerItemPriority::setPriority ( Priority priority )

Sets the priority associated with an organizer item to priority.

This function was introduced in Qt Mobility 1.1.

See also priority().

Member Variable Documentation

const QLatin1Constant QOrganizerItemPriority::DefinitionName

The constant string which identifies the definition of details which contain the priority of an organizer item.

const QLatin1Constant QOrganizerItemPriority::FieldPriority

The constant key for which the priority value is stored in details of the QOrganizerItemPriority type.