#include <QtGui/qcolor.h> #ifndef QCOLOR_H class QColor{ /* Some contents are skipped to improve readability */ public: void setAlphaF(qreal alpha); /* ... */ }; #endif // QCOLOR_H