#include <QtGui/qpainter.h> #ifndef QPAINTER_H class QPainter{ /* Some contents are skipped to improve readability */ public: inline void drawRoundRect(int x, int y, int w, int h, int xRnd = 25, int yRnd = 25); /* ... */ }; #endif // QPAINTER_H