Compatibility Members for QMovie

The following members of class QMovieare part of the Qt compatibility layer. We advise against using them in new code.

Public Functions

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()
  • 8 public functions inherited from QObject

Member Function Documentation

bool QMovie::finished() const

Use state() instead.

QImage QMovie::frameImage() const

Use currentImage() instead.

int QMovie::frameNumber() const

Use currentFrameNumber() instead.

QPixmap QMovie::framePixmap() const

Use currentPixmap() instead.

bool QMovie::isNull() const

Use isValid() instead.

void QMovie::pause()

Use setPaused(true) instead.

bool QMovie::paused() const

Use state() instead.

See also setPaused().

void QMovie::restart()

Use stop() and start() instead.

bool QMovie::running() const

Use state() instead.

void QMovie::step()

Use jumpToNextFrame() instead.

void QMovie::unpause()

Use setPaused(false) instead.

© 2016 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.