#include <QtGui/qcolor.h> #ifndef QCOLOR_H class QColor{ /* Some contents are skipped to improve readability */ public: static class QColor fromRgb(QRgb rgb); /* ... */ }; #endif // QCOLOR_H