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.
14 #include "support/SignalSlot.h"
15 #include "support/SignalSlotPrivate.h"
19 /////////////////////////////////////////////////////////////////////
23 /////////////////////////////////////////////////////////////////////
26 : impl(new SignalImpl)
42 /////////////////////////////////////////////////////////////////////
46 /////////////////////////////////////////////////////////////////////
48 void SlotImpl::called()
54 : impl(new SlotImpl(*this))
63 /////////////////////////////////////////////////////////////////////
67 /////////////////////////////////////////////////////////////////////
69 void connect(Signal & sig, Slot & slot)
71 QObject::connect(sig.impl, SIGNAL(fire()), slot.impl, SLOT(called()));