qpcpp/doxygen/snippets/qf_ctor.cpp

10 lines
233 B
C++
Raw Normal View History

2013-10-10 20:01:51 -04:00
class Philo : public QActive { // derives from QActive
2012-08-14 18:00:48 -04:00
. . .
public:
2013-10-10 20:01:51 -04:00
Philo::Philo() // public default constructor
: QActive(Q_STATE_CAST(&Philosopher::initial)),
m_timeEvt(TIMEOUT_SIG, this, 0U)
2012-08-14 18:00:48 -04:00
{}
. . .
};