Archive for January, 2009

Mapping signals and slots

« 19 January 2009 | 21:58 | Programming, Qt, Qxt | No Comments »

Have you ever hoped there was a class that was able to do the opposite of QSignalMapper? For example, “If the signal parameter is 2, call that slot of this receiver. If the signal parameter is “foo”, call this slot of that receiver.” We have it now in Qxt, it’s called QxtSlotMapper. An example follows: […]