kopete/libkopete
#include <kopetestatusitems.h>

Signals | |
void | childInserted (int index, Kopete::Status::StatusItem *child) |
void | childRemoved (Kopete::Status::StatusItem *child) |
![]() | |
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) |
![]() | |
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 |
![]() | |
QObject (QObject *parent) | |
QObject (QObject *parent, const char *name) | |
virtual | ~QObject () |
bool | blockSignals (bool block) |
QObject * | child (const char *objName, const char *inheritsClass, bool recursiveSearch) const |
const QObjectList & | children () const |
const char * | className () const |
bool | connect (const QObject *sender, const char *signal, const char *method, Qt::ConnectionType type) const |
void | deleteLater () |
void | destroyed (QObject *obj) |
bool | disconnect (const QObject *receiver, const char *method) |
bool | disconnect (const char *signal, const QObject *receiver, const char *method) |
void | dumpObjectInfo () |
void | dumpObjectTree () |
QList< QByteArray > | dynamicPropertyNames () const |
virtual bool | event (QEvent *e) |
virtual bool | eventFilter (QObject *watched, QEvent *event) |
T | findChild (const QString &name) const |
QList< T > | findChildren (const QRegExp ®Exp) const |
QList< T > | findChildren (const QString &name) const |
bool | inherits (const char *className) const |
void | insertChild (QObject *object) |
void | installEventFilter (QObject *filterObj) |
bool | isA (const char *className) const |
bool | isWidgetType () const |
void | killTimer (int id) |
virtual const QMetaObject * | metaObject () const |
void | moveToThread (QThread *targetThread) |
const char * | name () const |
const char * | name (const char *defaultName) const |
QString | objectName () const |
QObject * | parent () const |
QVariant | property (const char *name) const |
void | removeChild (QObject *object) |
void | removeEventFilter (QObject *obj) |
void | setName (const char *name) |
void | setObjectName (const QString &name) |
void | setParent (QObject *parent) |
bool | setProperty (const char *name, const QVariant &value) |
bool | signalsBlocked () const |
int | startTimer (int interval) |
QThread * | thread () const |
Additional Inherited Members | |
![]() | |
bool | connect (const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type) |
bool | connect (const QObject *sender, const QMetaMethod &signal, const QObject *receiver, const QMetaMethod &method, Qt::ConnectionType type) |
bool | disconnect (const QObject *sender, const char *signal, const QObject *receiver, const char *method) |
bool | disconnect (const QObject *sender, const QMetaMethod &signal, const QObject *receiver, const QMetaMethod &method) |
QString | tr (const char *sourceText, const char *disambiguation, int n) |
QString | trUtf8 (const char *sourceText, const char *disambiguation, int n) |
![]() | |
bool | checkConnectArgs (const char *signal, const QObject *object, const char *method) |
virtual void | childEvent (QChildEvent *event) |
virtual void | connectNotify (const char *signal) |
virtual void | customEvent (QEvent *event) |
virtual void | disconnectNotify (const char *signal) |
int | receivers (const char *signal) const |
QObject * | sender () const |
int | senderSignalIndex () const |
virtual void | timerEvent (QTimerEvent *event) |
![]() | |
QByteArray | normalizeSignalSlot (const char *signalSlot) |
![]() | |
objectName | |
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-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:29:20 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.