SLOT must be a non-static member of a class, which have the Q_OBJECT macro in private section. You haven't satisfied any of those two requirements.
This is wrong, "timeout()" signal belongs to QTimer object, so first parameter must be a pointer to QTimer object.
You can solve this easily by introducing a SLOT in MainWindow class (or whatever other "main" class):
Bookmarks