kopete/libkopete
#include <kopetestatusitems.h>
Public Member Functions | |
Status () | |
Status (const QString &uid) | |
virtual StatusItem * | child (int) const |
virtual int | childCount () const |
virtual StatusItem * | copy () const |
virtual bool | isGroup () const |
QString | message () const |
void | setMessage (const QString &message) |
Public Member Functions inherited from Kopete::Status::StatusItem | |
StatusItem () | |
StatusItem (const QString &uid) | |
OnlineStatusManager::Categories | category () const |
int | index () const |
StatusGroup * | parentGroup () const |
void | setCategory (OnlineStatusManager::Categories category) |
void | setTitle (const QString &title) |
QString | title () const |
QString | uid () const |
Additional Inherited Members | |
Signals inherited from Kopete::Status::StatusItem | |
void | changed () |
Detailed Description
Status represents a status which has title, message and category.
Values from this class are used to create status action with which user can change status.
Definition at line 212 of file kopetestatusitems.h.
Constructor & Destructor Documentation
Kopete::Status::Status::Status | ( | ) |
Status constructor.
Definition at line 117 of file kopetestatusitems.cpp.
Kopete::Status::Status::Status | ( | const QString & | uid | ) |
Definition at line 122 of file kopetestatusitems.cpp.
Member Function Documentation
|
inlinevirtual |
Returns the item at given index
or 0 if there is no item at given index
.
- Note
- for Status it always returns 0;
Implements Kopete::Status::StatusItem.
Definition at line 238 of file kopetestatusitems.h.
|
inlinevirtual |
Returns number of childes.
- Note
- for Status it always returns 0;
Implements Kopete::Status::StatusItem.
Definition at line 232 of file kopetestatusitems.h.
|
virtual |
Creates a copy of this object.
- Note
- this copies also uid so it should only be used when we know that the original or copy object will be destroyed
Implements Kopete::Status::StatusItem.
Definition at line 133 of file kopetestatusitems.cpp.
|
inlinevirtual |
Returns true if the item is group.
- Note
- for Status it always returns false;
Implements Kopete::Status::StatusItem.
Definition at line 226 of file kopetestatusitems.h.
|
inline |
Returns message.
Definition at line 248 of file kopetestatusitems.h.
void Kopete::Status::Status::setMessage | ( | const QString & | message | ) |
Set message.
Definition at line 127 of file kopetestatusitems.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:53:52 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.