On Friday 09 June 2006 19:38, Leo Savernik wrote: > + QColor tc(hc); > + hc = hbg; > + hbg = tc; or just qSwap(hc,hbg) -- David Faure, faure at kde.org, sponsored by Trolltech to work on KDE, Konqueror (http://www.konqueror.org), and KOffice (http://www.koffice.org).