#include <QtCore/qlist.h> #ifndef QLIST_H struct QListData{ /* Some contents are skipped to improve readability */ public: void move(int from, int to); /* ... */ }; #endif // QLIST_H