Observer pattern
callbacks
Many-to-many relationship
Loose coupling between signals and slots
Implemented in QObject
class NewClass : public QObject
{
Q_OBJECT // Meta-object file needed
// Code convention recommends Q_OBJECT use always,
// otherwise qobject_cast fails
signals:
// Implementation in the meta-object
void newSignal(int myInt, QString myString);
public slots:
// Slots are implemented as normal member functions
void newSlot(int i, QString s);
}