Home · All Classes · All Namespaces · Modules · Functions · Files
Public Member Functions
Tp::Channel::GroupMemberChangeDetails Class Reference

The Channel::GroupMemberChangeDetails class represents the details of a group membership change. More...

#include <TelepathyQt4/Channel>

List of all members.

Public Member Functions


Detailed Description

The Channel::GroupMemberChangeDetails class represents the details of a group membership change.

Extended information is not always available; this will be reflected by the return value of isValid().


Constructor & Destructor Documentation

Tp::Channel::GroupMemberChangeDetails::GroupMemberChangeDetails ( )

Constructs a new invalid GroupMemberChangeDetails instance.

Tp::Channel::GroupMemberChangeDetails::GroupMemberChangeDetails ( const GroupMemberChangeDetails other)

Copy constructor.

Tp::Channel::GroupMemberChangeDetails::~GroupMemberChangeDetails ( )

Class destructor.


Member Function Documentation

Channel::GroupMemberChangeDetails & Tp::Channel::GroupMemberChangeDetails::operator= ( const GroupMemberChangeDetails other)

Assigns all information (validity, details) from other to this.

bool Tp::Channel::GroupMemberChangeDetails::isValid ( ) const [inline]

Return whether the details are valid (have actually been received from the service).

Returns:
Validity of the details.
bool Tp::Channel::GroupMemberChangeDetails::hasActor ( ) const

Return whether the details specify an actor.

If present, actor() will return the contact object representing the person who made the change.

Returns:
Whether the actor is known.
See also:
actor()
ContactPtr Tp::Channel::GroupMemberChangeDetails::actor ( ) const

Return the contact object representing the person who made the change (actor), if known.

Returns:
The actor contact, or a null contact object if the actor is unknown.
See also:
hasActor()
bool Tp::Channel::GroupMemberChangeDetails::hasReason ( ) const [inline]

Return whether the details specify the reason for the change.

Returns:
Whether the reason for the change is known.
See also:
reason()
ChannelGroupChangeReason Tp::Channel::GroupMemberChangeDetails::reason ( ) const [inline]

Return the reason for the change, if known.

Returns:
The reason for the change, or ChannelGroupChangeReasonNone if the reason is unknown.
See also:
hasReason()
bool Tp::Channel::GroupMemberChangeDetails::hasMessage ( ) const [inline]

Return whether the details specify a human-readable message from the contact represented by actor() pertaining to the change.

Returns:
Whether the message is known.
See also:
message()
QString Tp::Channel::GroupMemberChangeDetails::message ( ) const [inline]

Return a human-readable message from the contact represented by actor() pertaining to the change, if known.

Returns:
A message from the contact represented by actor() regarding the change, or an empty string if the message is unknown.
See also:
hasMessage()
bool Tp::Channel::GroupMemberChangeDetails::hasError ( ) const [inline]

Return whether the details specify a D-Bus error describing the change.

Returns:
Whether a D-Bus error describing the change is known.
See also:
error()
QString Tp::Channel::GroupMemberChangeDetails::error ( ) const [inline]

Return the D-Bus error describing the change, if known.

The D-Bus error provides more specific information than the reason() and should be used if applicable.

Returns:
A D-Bus error describing the change, or an empty string if the error is unknown.
See also:
hasError()
bool Tp::Channel::GroupMemberChangeDetails::hasDebugMessage ( ) const [inline]

Return whether the details specify a debug message.

Returns:
Whether a debug message is provided.
See also:
debugMessage()
QString Tp::Channel::GroupMemberChangeDetails::debugMessage ( ) const [inline]

Return the debug message specified by the details, if any.

The debug message is purely informational, offered for display for bug reporting purposes, and should not be attempted to be parsed.

Returns:
The debug message, or an empty string if there is none.
See also:
hasDebugMessage()
QVariantMap Tp::Channel::GroupMemberChangeDetails::allDetails ( ) const

Return a map containing all details of the group members change.

This is useful for accessing domain-specific additional details.

Returns:
A map containing all details of the group members change.


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt4 0.7.1