use const QRgb references for drawPlanet functions.