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