pub struct QDeadlineTimer { /* private fields */ }Expand description
C++ class: QDeadlineTimer.
Implementations§
Source§impl QDeadlineTimer
impl QDeadlineTimer
Sourcepub unsafe fn add_assign(&self, msecs: c_longlong) -> Ref<QDeadlineTimer>
pub unsafe fn add_assign(&self, msecs: c_longlong) -> Ref<QDeadlineTimer>
Calls C++ function: QDeadlineTimer& QDeadlineTimer::operator+=(long long msecs).
Sourcepub unsafe fn add_n_secs(
dt: impl CastInto<Ref<QDeadlineTimer>>,
nsecs: c_longlong,
) -> CppBox<QDeadlineTimer>
pub unsafe fn add_n_secs( dt: impl CastInto<Ref<QDeadlineTimer>>, nsecs: c_longlong, ) -> CppBox<QDeadlineTimer>
Calls C++ function: static QDeadlineTimer QDeadlineTimer::addNSecs(QDeadlineTimer dt, long long nsecs).
Sourcepub unsafe fn copy_from(
&self,
other: impl CastInto<Ref<QDeadlineTimer>>,
) -> Ref<QDeadlineTimer>
pub unsafe fn copy_from( &self, other: impl CastInto<Ref<QDeadlineTimer>>, ) -> Ref<QDeadlineTimer>
Calls C++ function: QDeadlineTimer& QDeadlineTimer::operator=(const QDeadlineTimer& other).
Sourcepub unsafe fn current_1a(timer_type: TimerType) -> CppBox<QDeadlineTimer>
pub unsafe fn current_1a(timer_type: TimerType) -> CppBox<QDeadlineTimer>
Calls C++ function: static QDeadlineTimer QDeadlineTimer::current(Qt::TimerType timerType = …).
Sourcepub unsafe fn current_0a() -> CppBox<QDeadlineTimer>
pub unsafe fn current_0a() -> CppBox<QDeadlineTimer>
Calls C++ function: static QDeadlineTimer QDeadlineTimer::current().
Sourcepub unsafe fn deadline(&self) -> c_longlong
pub unsafe fn deadline(&self) -> c_longlong
Calls C++ function: long long QDeadlineTimer::deadline() const.
Sourcepub unsafe fn deadline_n_secs(&self) -> c_longlong
pub unsafe fn deadline_n_secs(&self) -> c_longlong
Calls C++ function: long long QDeadlineTimer::deadlineNSecs() const.
Sourcepub unsafe fn has_expired(&self) -> bool
pub unsafe fn has_expired(&self) -> bool
Calls C++ function: bool QDeadlineTimer::hasExpired() const.
Sourcepub unsafe fn is_forever(&self) -> bool
pub unsafe fn is_forever(&self) -> bool
Calls C++ function: bool QDeadlineTimer::isForever() const.
Sourcepub unsafe fn from_timer_type(type_: TimerType) -> CppBox<QDeadlineTimer>
pub unsafe fn from_timer_type(type_: TimerType) -> CppBox<QDeadlineTimer>
Calls C++ function: [constructor] void QDeadlineTimer::QDeadlineTimer(Qt::TimerType type_ = …).
Sourcepub unsafe fn from_forever_constant_timer_type(
arg1: ForeverConstant,
type_: TimerType,
) -> CppBox<QDeadlineTimer>
pub unsafe fn from_forever_constant_timer_type( arg1: ForeverConstant, type_: TimerType, ) -> CppBox<QDeadlineTimer>
Calls C++ function: [constructor] void QDeadlineTimer::QDeadlineTimer(QDeadlineTimer::ForeverConstant arg1, Qt::TimerType type_ = …).
Sourcepub unsafe fn from_longlong_timer_type(
msecs: c_longlong,
type_: TimerType,
) -> CppBox<QDeadlineTimer>
pub unsafe fn from_longlong_timer_type( msecs: c_longlong, type_: TimerType, ) -> CppBox<QDeadlineTimer>
Calls C++ function: [constructor] void QDeadlineTimer::QDeadlineTimer(long long msecs, Qt::TimerType type = …).
Sourcepub unsafe fn new() -> CppBox<QDeadlineTimer>
pub unsafe fn new() -> CppBox<QDeadlineTimer>
Calls C++ function: [constructor] void QDeadlineTimer::QDeadlineTimer().
Sourcepub unsafe fn from_forever_constant(
arg1: ForeverConstant,
) -> CppBox<QDeadlineTimer>
pub unsafe fn from_forever_constant( arg1: ForeverConstant, ) -> CppBox<QDeadlineTimer>
Calls C++ function: [constructor] void QDeadlineTimer::QDeadlineTimer(QDeadlineTimer::ForeverConstant arg1).
Sourcepub unsafe fn from_longlong(msecs: c_longlong) -> CppBox<QDeadlineTimer>
pub unsafe fn from_longlong(msecs: c_longlong) -> CppBox<QDeadlineTimer>
Calls C++ function: [constructor] void QDeadlineTimer::QDeadlineTimer(long long msecs).
Sourcepub unsafe fn new_copy(
other: impl CastInto<Ref<QDeadlineTimer>>,
) -> CppBox<QDeadlineTimer>
pub unsafe fn new_copy( other: impl CastInto<Ref<QDeadlineTimer>>, ) -> CppBox<QDeadlineTimer>
Calls C++ function: [constructor] void QDeadlineTimer::QDeadlineTimer(const QDeadlineTimer& other).
Sourcepub unsafe fn q_data(&self) -> CppBox<QPairOfLonglongUint>
pub unsafe fn q_data(&self) -> CppBox<QPairOfLonglongUint>
Calls C++ function: QPair<long long, unsigned int> QDeadlineTimer::_q_data() const.
Sourcepub unsafe fn remaining_time(&self) -> c_longlong
pub unsafe fn remaining_time(&self) -> c_longlong
Calls C++ function: long long QDeadlineTimer::remainingTime() const.
Sourcepub unsafe fn remaining_time_n_secs(&self) -> c_longlong
pub unsafe fn remaining_time_n_secs(&self) -> c_longlong
Calls C++ function: long long QDeadlineTimer::remainingTimeNSecs() const.
Sourcepub unsafe fn set_deadline_2a(&self, msecs: c_longlong, timer_type: TimerType)
pub unsafe fn set_deadline_2a(&self, msecs: c_longlong, timer_type: TimerType)
Calls C++ function: void QDeadlineTimer::setDeadline(long long msecs, Qt::TimerType timerType = …).
Sourcepub unsafe fn set_deadline_1a(&self, msecs: c_longlong)
pub unsafe fn set_deadline_1a(&self, msecs: c_longlong)
Calls C++ function: void QDeadlineTimer::setDeadline(long long msecs).
Sourcepub unsafe fn set_precise_deadline_3a(
&self,
secs: c_longlong,
nsecs: c_longlong,
type_: TimerType,
)
pub unsafe fn set_precise_deadline_3a( &self, secs: c_longlong, nsecs: c_longlong, type_: TimerType, )
Calls C++ function: void QDeadlineTimer::setPreciseDeadline(long long secs, long long nsecs = …, Qt::TimerType type = …).
Sourcepub unsafe fn set_precise_deadline_2a(
&self,
secs: c_longlong,
nsecs: c_longlong,
)
pub unsafe fn set_precise_deadline_2a( &self, secs: c_longlong, nsecs: c_longlong, )
Calls C++ function: void QDeadlineTimer::setPreciseDeadline(long long secs, long long nsecs = …).
Sourcepub unsafe fn set_precise_deadline_1a(&self, secs: c_longlong)
pub unsafe fn set_precise_deadline_1a(&self, secs: c_longlong)
Calls C++ function: void QDeadlineTimer::setPreciseDeadline(long long secs).
Sourcepub unsafe fn set_precise_remaining_time_3a(
&self,
secs: c_longlong,
nsecs: c_longlong,
type_: TimerType,
)
pub unsafe fn set_precise_remaining_time_3a( &self, secs: c_longlong, nsecs: c_longlong, type_: TimerType, )
Calls C++ function: void QDeadlineTimer::setPreciseRemainingTime(long long secs, long long nsecs = …, Qt::TimerType type = …).
Sourcepub unsafe fn set_precise_remaining_time_2a(
&self,
secs: c_longlong,
nsecs: c_longlong,
)
pub unsafe fn set_precise_remaining_time_2a( &self, secs: c_longlong, nsecs: c_longlong, )
Calls C++ function: void QDeadlineTimer::setPreciseRemainingTime(long long secs, long long nsecs = …).
Sourcepub unsafe fn set_precise_remaining_time_1a(&self, secs: c_longlong)
pub unsafe fn set_precise_remaining_time_1a(&self, secs: c_longlong)
Calls C++ function: void QDeadlineTimer::setPreciseRemainingTime(long long secs).
Sourcepub unsafe fn set_remaining_time_2a(&self, msecs: c_longlong, type_: TimerType)
pub unsafe fn set_remaining_time_2a(&self, msecs: c_longlong, type_: TimerType)
Calls C++ function: void QDeadlineTimer::setRemainingTime(long long msecs, Qt::TimerType type = …).
Sourcepub unsafe fn set_remaining_time_1a(&self, msecs: c_longlong)
pub unsafe fn set_remaining_time_1a(&self, msecs: c_longlong)
Calls C++ function: void QDeadlineTimer::setRemainingTime(long long msecs).
Sourcepub unsafe fn set_timer_type(&self, type_: TimerType)
pub unsafe fn set_timer_type(&self, type_: TimerType)
Calls C++ function: void QDeadlineTimer::setTimerType(Qt::TimerType type).
Sourcepub unsafe fn sub_assign(&self, msecs: c_longlong) -> Ref<QDeadlineTimer>
pub unsafe fn sub_assign(&self, msecs: c_longlong) -> Ref<QDeadlineTimer>
Calls C++ function: QDeadlineTimer& QDeadlineTimer::operator-=(long long msecs).
Sourcepub unsafe fn swap(&self, other: impl CastInto<Ref<QDeadlineTimer>>)
pub unsafe fn swap(&self, other: impl CastInto<Ref<QDeadlineTimer>>)
Calls C++ function: void QDeadlineTimer::swap(QDeadlineTimer& other).
Sourcepub unsafe fn timer_type(&self) -> TimerType
pub unsafe fn timer_type(&self) -> TimerType
Calls C++ function: Qt::TimerType QDeadlineTimer::timerType() const.