/*! Sets the time in which all QAbstractActionInput's in the input chord must triggered within to \a timeout. The time is in milliseconds */ void QInputChord::setTimeout(int timeout) { Q_D(QInputChord); if (d->m_timeout != timeout) { d->m_timeout = timeout; emit timeoutChanged(timeout); } }
Config& Config::setTimeout(qreal value) { if (mpData->timeout == value) return *this; mpData->timeout = value; emit timeoutChanged(); return *this; }
void WebRequester::setTimeout(int ms) { if (d->timer.interval() != ms) { d->timer.setInterval(ms); emit timeoutChanged(ms); } }
/*! Sets the \a newTimeout for this QModbusClient instance. The minimum timeout is 50 ms. The timeout is used by the client to determine how long it waits for a response from the server. If the response is not received within the required timeout, the \l TimeoutError is set. Already active/running timeouts are not affected by such timeout duration changes. \sa timeout */ void QModbusClient::setTimeout(int newTimeout) { if (newTimeout < 50) return; Q_D(QModbusClient); if (d->m_responseTimeoutDuration != newTimeout) { d->m_responseTimeoutDuration = newTimeout; emit timeoutChanged(newTimeout); } }
void QchNotification::setTimeout(int t) { if (t != timeout()) { Q_D(QchNotification); switch (t) { case DefaultTimeout: d->timeout = NOTIFY_EXPIRES_DEFAULT; break; case NoTimeout: d->timeout = NOTIFY_EXPIRES_NEVER; break; default: d->timeout = t; break; } d->setNotificationTimeout(); emit timeoutChanged(); } }