KVIrc  4.9.2
DeveloperAPIs
Public Member Functions | Protected Attributes | Friends | List of all members
KviStatusBarMessage Class Reference

A class that hold the statusbar message. More...

#include <KviStatusBar.h>

+ Inheritance diagram for KviStatusBarMessage:

Public Member Functions

 KviStatusBarMessage (const QString &szText, unsigned int uTimeout=8000, unsigned int uPriority=0)
 Constructs the statusbar message object. More...
 
unsigned int priority ()
 Returns the priority of the message. More...
 
const QString & text ()
 Returns the text of the message. More...
 
unsigned int timeout ()
 Returns the timeout of the message. More...
 
 ~KviStatusBarMessage ()
 Destroys the statusbar message object. More...
 

Protected Attributes

QString m_szText
 
unsigned int m_uPriority
 
unsigned int m_uTimeout
 

Friends

class KviStatusBar
 

Detailed Description

A class that hold the statusbar message.

Constructor & Destructor Documentation

KviStatusBarMessage::KviStatusBarMessage ( const QString &  szText,
unsigned int  uTimeout = 8000,
unsigned int  uPriority = 0 
)
inline

Constructs the statusbar message object.

Parameters
szTextThe text of the message
uTimeoutThe timeout of the message
uPriorityThe priority of the message
Returns
KviStatusBarMessage
KviStatusBarMessage::~KviStatusBarMessage ( )
inline

Destroys the statusbar message object.

Member Function Documentation

unsigned int KviStatusBarMessage::priority ( )
inline

Returns the priority of the message.

Returns
unsigned int

Referenced by KviStatusBar::queueMessage().

const QString& KviStatusBarMessage::text ( )
inline

Returns the text of the message.

Returns
const QString &

Referenced by KviStatusBar::showFirstMessageInQueue().

unsigned int KviStatusBarMessage::timeout ( )
inline

Returns the timeout of the message.

Returns
unsigned int

Referenced by KviStatusBar::showFirstMessageInQueue().

Friends And Related Function Documentation

friend class KviStatusBar
friend

Member Data Documentation

QString KviStatusBarMessage::m_szText
protected
unsigned int KviStatusBarMessage::m_uPriority
protected
unsigned int KviStatusBarMessage::m_uTimeout
protected

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