Compatibility Members for QTimer

以下成员源于类 QTimer are part of the Qt compatibility layer. We advise against using them in new code.

公共函数

QTimer (QObject * parent , const char * name )

公共槽

void changeInterval (int msec )
int start (int msec , bool sshot )

成员函数文档编制

QTimer:: QTimer ( QObject * parent , const char * name )

Constructs a timer called name ,采用 parent .

[slot] void QTimer:: changeInterval ( int msec )

使用 setInterval (msec) or start(msec) instead.

[slot] int QTimer:: start ( int msec , bool sshot )

此函数重载 start ().

调用 setSingleShot ( sshot ) and start( msec ) 代替。