#include #include "randommanager.h" RandomManager::RandomManager(QObject *parent) : InputManager(parent) { } bool RandomManager::init(const QVariant &) { srand(time(nullptr)); return true; } QVariant RandomManager::read(const QVariant&) { return rand(); }