#include <QDialog>
do { \ if (debugWindowEnabled) \ debugWindow->append(QTime::currentTime().toString().append(": ").append(f, ## a)); \ } while(0)