#include <iso_base_notifier.h>
Public Member Functions | |
Notifier () | |
default constructor | |
virtual | ~Notifier () |
destructor | |
void | registerListener (Listener *pListener) |
register listener | |
void | unregisterListener (Listener *pListener) |
unregister listener | |
virtual void | notifyListeners () |
notify listeners | |
Protected Attributes | |
QVector< Listener * > | mListeners |
class
complement to the listener class. Notifies any registered listeners that is has changed.
Created by Daniel Bisig on 7/22/07.
Notifier::Notifier | ( | ) |
default constructor
Notifier::~Notifier | ( | ) | [virtual] |
destructor
void Notifier::registerListener | ( | Listener * | pListener | ) |
register listener
pListener | listener to register |
void Notifier::unregisterListener | ( | Listener * | pListener | ) |
unregister listener
pListener | listener to unregister |
void Notifier::notifyListeners | ( | ) | [virtual] |
notify listeners
QVector<Listener*> iso::base::Notifier::mListeners [protected] |