libqutim  0.3.1.0
qutim_sdk_0_3::Notification Class Reference

#include <notification.h>

+ Inheritance diagram for qutim_sdk_0_3::Notification:

Public Types

typedef QSharedPointer
< Notification
Ptr
 
enum  State { Active, Accepted, Ignored, Rejected }
 
enum  Type {
  IncomingMessage, OutgoingMessage, AppStartup, BlockedMessage,
  ChatUserJoined, ChatUserLeft, ChatIncomingMessage, ChatOutgoingMessage,
  FileTransferCompleted, UserOnline, UserOffline, UserChangedStatus,
  UserHasBirthday, UserTyping, System, Attention,
  LastType = Attention
}
 

Public Slots

void accept ()
 
void ignore ()
 
void reject ()
 

Signals

void accepted ()
 
void finished (qutim_sdk_0_3::Notification::State state)
 
void ignored ()
 
void rejected ()
 

Public Member Functions

 ~Notification ()
 
NotificationRequest request () const
 
State state ()
 

Static Public Member Functions

static LocalizedString descriptionString (Type type)
 
static LocalizedStringList descriptionStrings ()
 
static Q_INVOKABLE QString descriptionText (Type type)
 
static Notificationsend (const Message &msg)
 
static Notificationsend (const QString &text)
 
static LocalizedString typeString (Type type)
 
static LocalizedStringList typeStrings ()
 
static Q_INVOKABLE QString typeText (Type type)
 

Protected Member Functions

 Notification (const NotificationRequest &request)
 

Friends

class NotificationBackend
 
class NotificationRequest
 

Member Typedef Documentation

Member Enumeration Documentation

Enumerator
Active 
Accepted 
Ignored 
Rejected 
Enumerator
IncomingMessage 
OutgoingMessage 
AppStartup 
BlockedMessage 
ChatUserJoined 
ChatUserLeft 
ChatIncomingMessage 
ChatOutgoingMessage 
FileTransferCompleted 
UserOnline 
UserOffline 
UserChangedStatus 
UserHasBirthday 
UserTyping 
System 
Attention 
LastType 

Constructor & Destructor Documentation

qutim_sdk_0_3::Notification::~Notification ( )
qutim_sdk_0_3::Notification::Notification ( const NotificationRequest request)
protected

Member Function Documentation

void qutim_sdk_0_3::Notification::accept ( )
slot
void qutim_sdk_0_3::Notification::accepted ( )
signal
static LocalizedString qutim_sdk_0_3::Notification::descriptionString ( Type  type)
static
static LocalizedStringList qutim_sdk_0_3::Notification::descriptionStrings ( )
static
static Q_INVOKABLE QString qutim_sdk_0_3::Notification::descriptionText ( Type  type)
static
void qutim_sdk_0_3::Notification::finished ( qutim_sdk_0_3::Notification::State  state)
signal
void qutim_sdk_0_3::Notification::ignore ( )
slot
void qutim_sdk_0_3::Notification::ignored ( )
signal
void qutim_sdk_0_3::Notification::reject ( )
slot
void qutim_sdk_0_3::Notification::rejected ( )
signal
NotificationRequest qutim_sdk_0_3::Notification::request ( ) const
static Notification* qutim_sdk_0_3::Notification::send ( const Message msg)
static
static Notification* qutim_sdk_0_3::Notification::send ( const QString &  text)
static
State qutim_sdk_0_3::Notification::state ( )
static LocalizedString qutim_sdk_0_3::Notification::typeString ( Type  type)
static
static LocalizedStringList qutim_sdk_0_3::Notification::typeStrings ( )
static
static Q_INVOKABLE QString qutim_sdk_0_3::Notification::typeText ( Type  type)
static

Friends And Related Function Documentation

friend class NotificationBackend
friend
friend class NotificationRequest
friend

The documentation for this class was generated from the following file:

Generated by Doxygen