#include <QtSvg/qsvgrenderer.h> #ifndef QSVGRENDERER_H class QSvgRenderer: public QObject{ /* Some contents are skipped to improve readability */ public: bool isValid() const /* ... */ }; #endif // QSVGRENDERER_H