Compatibility Members for QMovie

以下成員源於類 QMovie are part of the Qt compatibility layer. We advise against using them in new code.

公共函數

bool finished () const
QImage frameImage () const
int frameNumber () const
QPixmap framePixmap () const
bool isNull () const
void pause ()
bool paused () const
void restart ()
bool running () const
void step ()
void unpause ()

成員函數文檔編製

bool QMovie:: finished () const

使用 state () 代替。

QImage QMovie:: frameImage () const

使用 currentImage () 代替。

int QMovie:: frameNumber () const

使用 currentFrameNumber () 代替。

QPixmap QMovie:: framePixmap () const

使用 currentPixmap () 代替。

bool QMovie:: isNull () const

使用 isValid () 代替。

void QMovie:: pause ()

使用 setPaused (true) instead.

bool QMovie:: paused () const

使用 state () 代替。

另請參閱 setPaused ().

void QMovie:: restart ()

使用 stop () 和 start () 代替。

bool QMovie:: running () const

使用 state () 代替。

void QMovie:: step ()

使用 jumpToNextFrame () 代替。

void QMovie:: unpause ()

使用 setPaused (false) instead.