timerAutosavePosition = new QTimer();timerAutosavePosition->setSingleShot(true);timerAutosavePosition->setInterval(intervalAutosave);connect(timerAutosavePosition, SIGNAL(timeout()), this, SLOT(savePosition()));
timerAutosavePosition->start();