#include "qt.h" #import QVariant QT::keepScreenOn(const QVariant& on) { [UIApplication sharedApplication].idleTimerDisabled = on.toBool() ? YES : NO; return on; }