#include <QtSvg/qsvgwidget.h>
#ifndef QSVGWIDGET_H
class QSvgWidget: public QWidget{
   /* Some contents are skipped to improve readability */
   protected: virtual void paintEvent(struct QPaintEvent* event);
   /* ... */
};
#endif // QSVGWIDGET_H