#include <QtCore/qtimeline.h> #ifndef QTIMELINE_H class QTimeLine: public QObject{ /* Some contents are skipped to improve readability */ protected: virtual void timerEvent(struct QTimerEvent* event); /* ... */ }; #endif