Common Icon for all dialogs and message boxes

Hi
My application has a application icon that is displayed correctly, but I want the same icon to appear on all my dialogs and message boxes
Currently I am doing
@
QIcon icon;
icon.addPixmap(QString(":/Images/emu.png"));
setWindowIcon(icon);
@

in each of my dialog classes.

My question is, is there a way of getting this icon to be used by all dialogs without having to place the same code in each dialog class?