kopete/libkopete
#include <kopeteinfoeventmanager.h>

Signals | |
void | changed () |
void | eventAboutToBeAdded (Kopete::InfoEvent *event) |
void | eventAdded (Kopete::InfoEvent *event) |
Public Member Functions | |
~InfoEventManager () | |
Kopete::InfoEvent * | event (int i) const |
int | eventCount () const |
QList< InfoEvent * > | events () const |
Static Public Member Functions | |
static InfoEventManager * | self () |
Protected Member Functions | |
void | addEvent (Kopete::InfoEvent *event) |
Detailed Description
The Info Event Manager that contains all info event items.
All info event items that are in Info Event Manager will be shown in non-intrusive way to a user in Kopete Main Window.
Definition at line 34 of file kopeteinfoeventmanager.h.
Constructor & Destructor Documentation
Kopete::InfoEventManager::~InfoEventManager | ( | ) |
Definition at line 38 of file kopeteinfoeventmanager.cpp.
Member Function Documentation
|
protected |
Add info event.
- Parameters
-
event the Info Event that will be added into InfoEventManager
Definition at line 52 of file kopeteinfoeventmanager.cpp.
|
signal |
Emitted when the info event items in InfoEventManager has been changed.
Kopete::InfoEvent * Kopete::InfoEventManager::event | ( | int | i | ) | const |
Return the info event at index position i
in the InfoEventManager.
Definition at line 77 of file kopeteinfoeventmanager.cpp.
|
signal |
Emitted before new info event item is added into the InfoEventManager.
Any class can connect to this signal and call close()
on the event
which will abort the adding.
- Parameters
-
event the Info Event that will be added into InfoEventManager
|
signal |
Emitted when new info event item is added into the InfoEventManager.
int Kopete::InfoEventManager::eventCount | ( | ) | const |
Return number of info event items in the InfoEventManager.
Definition at line 72 of file kopeteinfoeventmanager.cpp.
QList< InfoEvent * > Kopete::InfoEventManager::events | ( | ) | const |
Return all info events that are in the InfoEventManager.
Definition at line 67 of file kopeteinfoeventmanager.cpp.
|
static |
The Info Event Manager is a singleton class of which only a single instance will exist.
If no manager exists yet this function will create one for you.
- Returns
- the instance of the InfoEventManager
Definition at line 44 of file kopeteinfoeventmanager.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.