4 * This file is part of LyX, the document processor.
5 * Licence details can be found in the file COPYING.
9 * Full author contact details are available in file CREDITS.
12 #include "SignalSlot.h"
13 #include "SignalSlotPrivate.h"
17 /////////////////////////////////////////////////////////////////////
21 /////////////////////////////////////////////////////////////////////
24 : impl(new SignalImpl)
40 /////////////////////////////////////////////////////////////////////
44 /////////////////////////////////////////////////////////////////////
46 void SlotImpl::called()
52 : impl(new SlotImpl(*this))
61 /////////////////////////////////////////////////////////////////////
65 /////////////////////////////////////////////////////////////////////
67 void connect(Signal & sig, Slot & slot)
69 QObject::connect(sig.impl, SIGNAL(fire()), slot.impl, SLOT(called()));