Home · All Classes · All Namespaces · Modules · Functions · Files
Public Member Functions
Tp::Profile::Presence Class Reference

The Profile::Presence class represents a presence defined in .profile files. More...

#include <TelepathyQt/Profile>

List of all members.

Public Member Functions


Detailed Description

The Profile::Presence class represents a presence defined in .profile files.


Constructor & Destructor Documentation

Construct a new Profile::Presence object.

Construct a new Profile::Presence object that is a copy of other.

Tp::Profile::Presence::Presence ( const QString &  id,
const QString &  label,
const QString &  iconName,
const QString &  message,
bool  disabled 
)

Construct a new Profile::Presence object.

Parameters:
idThe presence id.
labelThe presence label.
iconNameThe presence icon name.
messageThe presence message.
disabledWhether this presence is supported.

Class destructor.


Member Function Documentation

QString Tp::Profile::Presence::id ( ) const

Return the Telepathy presence id for this presence.

Returns:
The Telepathy presence id for this presence.
QString Tp::Profile::Presence::label ( ) const

Return the label that should be used for this presence.

Returns:
The label for this presence.

Return the icon name of this presence.

Returns:
The icon name of this presence.

Return whether user-defined text-message can be attached to this presence.

Returns:
true if user-defined text-message can be attached to this presence, false otherwise.

Return whether this presence is supported for the service to which this profile applies.

Returns:
true if supported, otherwise false.
Profile::Presence & Tp::Profile::Presence::operator= ( const Presence other)


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.3