#include <QtSvg/qsvgwidget.h> #ifndef QSVGWIDGET_H class QSvgWidget: public QWidget{ /* Some contents are skipped to improve readability */ public: void load(class QByteArray const & contents); /* ... */ }; #endif // QSVGWIDGET_H