2 * \file Timeout_pimpl.C
3 * Copyright 2001 LyX Team
10 #pragma implementation
15 #include "Timeout_pimpl.h"
20 Timeout::Pimpl::Pimpl(Timeout * owner)
21 : owner_(owner), timeout_id(-1)
26 void Timeout::Pimpl::timerEvent(QTimerEvent *)
32 void Timeout::Pimpl::reset()
39 bool Timeout::Pimpl::running() const
41 return timeout_id != -1;
45 void Timeout::Pimpl::start()
48 lyxerr << "Timeout::start: already running!" << endl;
49 timeout_id = startTimer(owner_->timeout_ms);
53 void Timeout::Pimpl::stop()