kopete/libkopete
#include <kopetestatusitems.h>

Signals | |
| void | childInserted (int index, Kopete::Status::StatusItem *child) | 
| void | childRemoved (Kopete::Status::StatusItem *child) | 
  Signals inherited from Kopete::Status::StatusItem | |
| void | changed () | 
Public Member Functions | |
| StatusGroup () | |
| StatusGroup (const QString &uid) | |
| void | appendChild (Kopete::Status::StatusItem *child) | 
| virtual StatusItem * | child (int index) const | 
| virtual int | childCount () const | 
| QList< StatusItem * > | childList () const | 
| virtual StatusItem * | copy () const | 
| int | indexOf (StatusItem *child) const | 
| void | insertChild (int index, StatusItem *child) | 
| virtual bool | isGroup () const | 
| void | removeChild (Kopete::Status::StatusItem *child) | 
  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 | 
Detailed Description
StatusGroup represents a group that can contain other StatusItems.
Definition at line 130 of file kopetestatusitems.h.
Constructor & Destructor Documentation
| Kopete::Status::StatusGroup::StatusGroup | ( | ) | 
StatusGroup constructor.
Definition at line 64 of file kopetestatusitems.cpp.
| Kopete::Status::StatusGroup::StatusGroup | ( | const QString & | uid | ) | 
Definition at line 69 of file kopetestatusitems.cpp.
Member Function Documentation
| void Kopete::Status::StatusGroup::appendChild | ( | Kopete::Status::StatusItem * | child | ) | 
Inserts child at the end. 
Definition at line 82 of file kopetestatusitems.cpp.
      
  | 
  inlinevirtual | 
Returns a StatusItem at given index or 0 if there is no item at given index. 
Implements Kopete::Status::StatusItem.
Definition at line 154 of file kopetestatusitems.h.
      
  | 
  inlinevirtual | 
Returns number of childes.
Implements Kopete::Status::StatusItem.
Definition at line 149 of file kopetestatusitems.h.
      
  | 
  signal | 
This signal is emitted after new child was inserted is inserted at position index. 
      
  | 
  inline | 
Returns list of all childes.
Definition at line 159 of file kopetestatusitems.h.
      
  | 
  signal | 
This signal is emitted after child was removed.
      
  | 
  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 95 of file kopetestatusitems.cpp.
      
  | 
  inline | 
Returns index for given StatusItem.
Definition at line 164 of file kopetestatusitems.h.
| void Kopete::Status::StatusGroup::insertChild | ( | int | index, | 
| StatusItem * | child | ||
| ) | 
Inserts child at given index. 
Definition at line 74 of file kopetestatusitems.cpp.
      
  | 
  inlinevirtual | 
Returns true if StatusItem is group.
- Note
 - for StatusGroup it always returns true;
 
Implements Kopete::Status::StatusItem.
Definition at line 144 of file kopetestatusitems.h.
| void Kopete::Status::StatusGroup::removeChild | ( | Kopete::Status::StatusItem * | child | ) | 
Removes child. 
Definition at line 87 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.
    KDE API Reference
 Signals inherited from