Qt 4.8
Public Functions | Public Variables | List of all members
QMoviePrivate Class Reference
Inheritance diagram for QMoviePrivate:
QObjectPrivate QObjectData

Public Functions

void _q_loadNextFrame ()
 
void _q_loadNextFrame (bool starting)
 
void enterState (QMovie::MovieState newState)
 
int frameCount () const
 
QFrameInfo infoForFrame (int frameNumber)
 Returns the QFrameInfo for the given frameNumber. More...
 
bool isDone ()
 
bool isValid () const
 
bool jumpToFrame (int frameNumber)
 
bool jumpToNextFrame ()
 
bool next ()
 Attempts to advance the animation to the next frame. More...
 
 QMoviePrivate (QMovie *qq)
 
void reset ()
 
int speedAdjustedDelay (int delay) const
 Given the original delay, this function returns the actual number of milliseconds to delay according to the current speed. More...
 
- Public Functions inherited from QObjectPrivate
void _q_reregisterTimers (void *pointer)
 
void addConnection (int signal, Connection *c)
 
void cleanConnectionLists ()
 
void connectNotify (const char *signal)
 
void deleteChildren ()
 
void disconnectNotify (const char *signal)
 
bool isSender (const QObject *receiver, const char *signal) const
 
bool isSignalConnected (uint signalIdx) const
 Returns true if the signal with index signal_index from object sender is connected. More...
 
void moveToThread_helper ()
 
 QObjectPrivate (int version=QObjectPrivateVersion)
 
QObjectList receiverList (const char *signal) const
 
QObjectList senderList () const
 
void setParent_helper (QObject *)
 
void setThreadData_helper (QThreadData *currentData, QThreadData *targetData)
 
int signalIndex (const char *signalName) const
 Returns the signal index used in the internal connectionLists vector. More...
 
virtual ~QObjectPrivate ()
 
- Public Functions inherited from QObjectData
virtual ~QObjectData ()=0
 

Public Variables

QString absoluteFilePath
 
QMovie::CacheMode cacheMode
 
int currentFrameNumber
 
QPixmap currentPixmap
 
QMap< int, QFrameInfoframeMap
 
QRect frameRect
 
int greatestFrameNumber
 
bool haveReadAll
 
qint64 initialDevicePos
 
bool isFirstIteration
 
QMovie::MovieState movieState
 
int nextDelay
 
int nextFrameNumber
 
QTimer nextImageTimer
 
int playCounter
 
QImageReaderreader
 
int speed
 
- Public Variables inherited from QObjectPrivate
union {
   QObject *   currentChildBeingDeleted
 
   QAbstractDeclarativeData *   declarativeData
 
}; 
 
quint32 connectedSignals [2]
 
QObjectConnectionListVectorconnectionLists
 
SendercurrentSender
 
QList< QPointer< QObject > > eventFilters
 
ExtraDataextraData
 
QString objectName
 
Connectionsenders
 
QAtomicPointer< QtSharedPointer::ExternalRefCountData > sharedRefcount
 
QThreadDatathreadData
 
void * unused
 
- Public Variables inherited from QObjectData
uint blockSig: 1
 
QObjectList children
 
uint hasGuards: 1
 
uint inEventHandler: 1
 
uint inThreadChangeEvent: 1
 
uint isWidget: 1
 
QMetaObjectmetaObject
 
uint ownObjectName: 1
 
QObjectparent
 
uint pendTimer: 1
 
int postedEvents
 
QObjectq_ptr
 
uint receiveChildEvents: 1
 
uint sendChildEvents: 1
 
uint unused: 22
 
uint wasDeleted: 1
 

Additional Inherited Members

- Public Types inherited from QObjectPrivate
typedef void(* StaticMetaCallFunction) (QObject *, QMetaObject::Call, int, void **)
 
- Static Public Functions inherited from QObjectPrivate
static void clearGuards (QObject *)
 
static QObjectPrivateget (QObject *o)
 
static void resetCurrentSender (QObject *receiver, Sender *currentSender, Sender *previousSender)
 
static SendersetCurrentSender (QObject *receiver, Sender *sender)
 
static void signalSignature (const QMetaMethod &signal, QVarLengthArray< char > *result)
 

Detailed Description

Definition at line 257 of file qmovie.cpp.

Constructors and Destructors

◆ QMoviePrivate()

QMoviePrivate::QMoviePrivate ( QMovie qq)
Warning
This function is not part of the public interface.

Definition at line 304 of file qmovie.cpp.

307  nextDelay(0), playCounter(-1),
309 {
310  q_ptr = qq;
312 }
void setSingleShot(bool singleShot)
Definition: qtimer.h:108
QMovie::MovieState movieState
Definition: qmovie.cpp:284
QTimer nextImageTimer
Definition: qmovie.cpp:299
QObject * q_ptr
Definition: qobject.h:91
bool isFirstIteration
Definition: qmovie.cpp:295
int greatestFrameNumber
Definition: qmovie.cpp:289
QImageReader * reader
Definition: qmovie.cpp:282
int nextFrameNumber
Definition: qmovie.cpp:288
int currentFrameNumber
Definition: qmovie.cpp:287
int playCounter
Definition: qmovie.cpp:291
bool haveReadAll
Definition: qmovie.cpp:294
QMovie::CacheMode cacheMode
Definition: qmovie.cpp:293

Functions

◆ _q_loadNextFrame() [1/2]

void QMoviePrivate::_q_loadNextFrame ( )
Warning
This function is not part of the public interface.

Definition at line 523 of file qmovie.cpp.

Referenced by jumpToFrame().

524 {
525  _q_loadNextFrame(false);
526 }
void _q_loadNextFrame()
Definition: qmovie.cpp:523

◆ _q_loadNextFrame() [2/2]

void QMoviePrivate::_q_loadNextFrame ( bool  starting)

Definition at line 528 of file qmovie.cpp.

529 {
530  Q_Q(QMovie);
531  if (next()) {
532  if (starting && movieState == QMovie::NotRunning) {
534  emit q->started();
535  }
536 
537  if (frameRect.size() != currentPixmap.rect().size()) {
539  emit q->resized(frameRect.size());
540  }
541 
542  emit q->updated(frameRect);
543  emit q->frameChanged(currentFrameNumber);
544 
547  } else {
548  // Could not read another frame
549  if (!isDone()) {
550  emit q->error(reader->error());
551  }
552 
553  // Graceful finish
554  if (movieState != QMovie::Paused) {
555  nextFrameNumber = 0;
556  isFirstIteration = true;
557  playCounter = -1;
559  emit q->finished();
560  }
561  }
562 }
QMovie::MovieState movieState
Definition: qmovie.cpp:284
The QMovie class is a convenience class for playing movies with QImageReader.
Definition: qmovie.h:74
QTimer nextImageTimer
Definition: qmovie.cpp:299
QPixmap currentPixmap
Definition: qmovie.cpp:286
QRect frameRect
Definition: qmovie.cpp:285
bool isFirstIteration
Definition: qmovie.cpp:295
#define Q_Q(Class)
Definition: qglobal.h:2483
QSize size() const
Returns the size of the rectangle.
Definition: qrect.h:309
#define emit
Definition: qobjectdefs.h:76
void enterState(QMovie::MovieState newState)
Definition: qmovie.cpp:273
QImageReader * reader
Definition: qmovie.cpp:282
int nextFrameNumber
Definition: qmovie.cpp:288
int currentFrameNumber
Definition: qmovie.cpp:287
bool next()
Attempts to advance the animation to the next frame.
Definition: qmovie.cpp:476
QRect rect() const
Returns the pixmap&#39;s enclosing rectangle.
Definition: qpixmap.cpp:676
bool isDone()
Definition: qmovie.cpp:333
ImageReaderError error() const
Returns the type of error that occurred last.
void start(int msec)
Starts or restarts the timer with a timeout interval of msec milliseconds.
Definition: qtimer.cpp:249
int playCounter
Definition: qmovie.cpp:291

◆ enterState()

void QMoviePrivate::enterState ( QMovie::MovieState  newState)
inline

Definition at line 273 of file qmovie.cpp.

Referenced by _q_loadNextFrame().

273  {
274  movieState = newState;
275  emit q_func()->stateChanged(newState);
276  }
QMovie::MovieState movieState
Definition: qmovie.cpp:284
#define emit
Definition: qobjectdefs.h:76

◆ frameCount()

int QMoviePrivate::frameCount ( ) const
Warning
This function is not part of the public interface.

Definition at line 592 of file qmovie.cpp.

593 {
594  int result;
595  if ((result = reader->imageCount()) != 0)
596  return result;
597  if (haveReadAll)
598  return greatestFrameNumber+1;
599  return 0; // Don't know
600 }
int greatestFrameNumber
Definition: qmovie.cpp:289
QImageReader * reader
Definition: qmovie.cpp:282
int imageCount() const
For image formats that support animation, this function returns the total number of images in the ani...
bool haveReadAll
Definition: qmovie.cpp:294

◆ infoForFrame()

QFrameInfo QMoviePrivate::infoForFrame ( int  frameNumber)

Returns the QFrameInfo for the given frameNumber.

Warning
This function is not part of the public interface.

If the frame number is invalid, an invalid QFrameInfo is returned.

If the end of the animation has been reached, a special end marker QFrameInfo is returned.

Definition at line 369 of file qmovie.cpp.

Referenced by next().

370 {
371  if (frameNumber < 0)
372  return QFrameInfo(); // Invalid
373 
374  if (haveReadAll && (frameNumber > greatestFrameNumber)) {
375  if (frameNumber == greatestFrameNumber+1)
376  return QFrameInfo::endMarker();
377  return QFrameInfo(); // Invalid
378  }
379 
380  if (cacheMode == QMovie::CacheNone) {
381  if (frameNumber != currentFrameNumber+1) {
382  // Non-sequential frame access
383  if (!reader->jumpToImage(frameNumber)) {
384  if (frameNumber == 0) {
385  // Special case: Attempt to "rewind" so we can loop
386  // ### This could be implemented as QImageReader::rewind()
387  if (reader->device()->isSequential())
388  return QFrameInfo(); // Invalid
391  QIODevice *device = reader->device();
392  QColor bgColor = reader->backgroundColor();
393  QSize scaledSize = reader->scaledSize();
394  delete reader;
395  if (fileName.isEmpty())
396  reader = new QImageReader(device, format);
397  else
398  reader = new QImageReader(absoluteFilePath, format);
399  (void)reader->canRead(); // Provoke a device->open() call
401  reader->setBackgroundColor(bgColor);
402  reader->setScaledSize(scaledSize);
403  } else {
404  return QFrameInfo(); // Invalid
405  }
406  }
407  }
408  if (reader->canRead()) {
409  // reader says we can read. Attempt to actually read image
410  QImage anImage = reader->read();
411  if (anImage.isNull()) {
412  // Reading image failed.
413  return QFrameInfo(); // Invalid
414  }
415  if (frameNumber > greatestFrameNumber)
416  greatestFrameNumber = frameNumber;
417  QPixmap aPixmap = QPixmap::fromImage(anImage);
418  int aDelay = reader->nextImageDelay();
419  return QFrameInfo(aPixmap, aDelay);
420  } else if (frameNumber != 0) {
421  // We've read all frames now. Return an end marker
422  haveReadAll = true;
423  return QFrameInfo::endMarker();
424  } else {
425  // No readable frames
426  haveReadAll = true;
427  return QFrameInfo();
428  }
429  }
430 
431  // CacheMode == CacheAll
432  if (frameNumber > greatestFrameNumber) {
433  // Frame hasn't been read from file yet. Try to do it
434  for (int i = greatestFrameNumber + 1; i <= frameNumber; ++i) {
435  if (reader->canRead()) {
436  // reader says we can read. Attempt to actually read image
437  QImage anImage = reader->read();
438  if (anImage.isNull()) {
439  // Reading image failed.
440  return QFrameInfo(); // Invalid
441  }
443  QPixmap aPixmap = QPixmap::fromImage(anImage);
444  int aDelay = reader->nextImageDelay();
445  QFrameInfo info(aPixmap, aDelay);
446  // Cache it!
447  frameMap.insert(i, info);
448  if (i == frameNumber) {
449  return info;
450  }
451  } else {
452  // We've read all frames now. Return an end marker
453  haveReadAll = true;
454  return QFrameInfo::endMarker();
455  }
456  }
457  }
458  // Return info for requested (cached) frame
459  return frameMap.value(frameNumber);
460 }
QColor backgroundColor() const
Returns the background color that&#39;s used when reading an image.
The QColor class provides colors based on RGB, HSV or CMYK values.
Definition: qcolor.h:67
static QPixmap fromImage(const QImage &image, Qt::ImageConversionFlags flags=Qt::AutoColor)
Converts the given image to a pixmap using the specified flags to control the conversion.
Definition: qpixmap.cpp:2197
QMap< int, QFrameInfo > frameMap
Definition: qmovie.cpp:296
static mach_timebase_info_data_t info
void setScaledSize(const QSize &size)
Sets the scaled size of the image to size.
bool isNull() const
Returns true if it is a null image, otherwise returns false.
Definition: qimage.cpp:1542
The QByteArray class provides an array of bytes.
Definition: qbytearray.h:135
static QFrameInfo endMarker()
Definition: qmovie.cpp:253
bool jumpToImage(int imageNumber)
For image formats that support animation, this function skips to the image whose sequence number is i...
The QString class provides a Unicode character string.
Definition: qstring.h:83
qint64 initialDevicePos
Definition: qmovie.cpp:292
bool isEmpty() const
Returns true if the string has no characters; otherwise returns false.
Definition: qstring.h:704
const T value(const Key &key) const
Returns the value associated with the key key.
Definition: qmap.h:499
int nextImageDelay() const
For image formats that support animation, this function returns the number of milliseconds to wait un...
QString absoluteFilePath
Definition: qmovie.cpp:297
The QImage class provides a hardware-independent image representation that allows direct access to th...
Definition: qimage.h:87
int greatestFrameNumber
Definition: qmovie.cpp:289
QByteArray format() const
Returns the format QImageReader uses for reading images.
QImageReader * reader
Definition: qmovie.cpp:282
The QImageReader class provides a format independent interface for reading images from files or other...
Definition: qimagereader.h:62
virtual bool isSequential() const
Returns true if this device is sequential; otherwise returns false.
Definition: qiodevice.cpp:454
bool canRead() const
Returns true if an image can be read for the device (i.e., the image format is supported, and the device seems to contain valid data); otherwise returns false.
QIODevice * device() const
Returns the device currently assigned to QImageReader, or 0 if no device has been assigned...
iterator insert(const Key &key, const T &value)
Inserts a new item with the key key and a value of value.
Definition: qmap.h:559
QSize scaledSize() const
Returns the scaled size of the image.
int currentFrameNumber
Definition: qmovie.cpp:287
The QPixmap class is an off-screen image representation that can be used as a paint device...
Definition: qpixmap.h:71
The QSize class defines the size of a two-dimensional object using integer point precision.
Definition: qsize.h:53
void setBackgroundColor(const QColor &color)
Sets the background color to color.
The QIODevice class is the base interface class of all I/O devices in Qt.
Definition: qiodevice.h:66
virtual bool seek(qint64 pos)
For random-access devices, this function sets the current position to pos, returning true on success...
Definition: qiodevice.cpp:659
static QString fileName(const QString &fileUrl)
QImage read()
Reads an image from the device.
bool haveReadAll
Definition: qmovie.cpp:294
QString fileName() const
If the currently assigned device is a QFile, or if setFileName() has been called, this function retur...
QMovie::CacheMode cacheMode
Definition: qmovie.cpp:293

◆ isDone()

bool QMoviePrivate::isDone ( )
Warning
This function is not part of the public interface.

Definition at line 333 of file qmovie.cpp.

Referenced by _q_loadNextFrame().

334 {
335  return (playCounter == 0);
336 }
int playCounter
Definition: qmovie.cpp:291

◆ isValid()

bool QMoviePrivate::isValid ( ) const
Warning
This function is not part of the public interface.

Definition at line 567 of file qmovie.cpp.

568 {
569  return (greatestFrameNumber >= 0) // have we seen valid data
570  || reader->canRead(); // or does the reader see valid data
571 }
int greatestFrameNumber
Definition: qmovie.cpp:289
QImageReader * reader
Definition: qmovie.cpp:282
bool canRead() const
Returns true if an image can be read for the device (i.e., the image format is supported, and the device seems to contain valid data); otherwise returns false.

◆ jumpToFrame()

bool QMoviePrivate::jumpToFrame ( int  frameNumber)
Warning
This function is not part of the public interface.

Definition at line 576 of file qmovie.cpp.

Referenced by jumpToNextFrame().

577 {
578  if (frameNumber < 0)
579  return false;
580  if (currentFrameNumber == frameNumber)
581  return true;
582  nextFrameNumber = frameNumber;
586  return (nextFrameNumber == currentFrameNumber+1);
587 }
QMovie::MovieState movieState
Definition: qmovie.cpp:284
QTimer nextImageTimer
Definition: qmovie.cpp:299
void _q_loadNextFrame()
Definition: qmovie.cpp:523
int nextFrameNumber
Definition: qmovie.cpp:288
int currentFrameNumber
Definition: qmovie.cpp:287
void stop()
Stops the timer.
Definition: qtimer.cpp:284

◆ jumpToNextFrame()

bool QMoviePrivate::jumpToNextFrame ( )
Warning
This function is not part of the public interface.

Definition at line 605 of file qmovie.cpp.

606 {
608 }
bool jumpToFrame(int frameNumber)
Definition: qmovie.cpp:576
int currentFrameNumber
Definition: qmovie.cpp:287

◆ next()

bool QMoviePrivate::next ( )

Attempts to advance the animation to the next frame.

Warning
This function is not part of the public interface.

If successful, currentFrameNumber, currentPixmap and nextDelay are updated accordingly, and true is returned. Otherwise, false is returned. When false is returned, isDone() can be called to determine whether the animation ended gracefully or an error occurred when reading the frame.

Definition at line 476 of file qmovie.cpp.

Referenced by _q_loadNextFrame().

477 {
478  QTime time;
479  time.start();
481  if (!info.isValid())
482  return false;
483  if (info.isEndMarker()) {
484  // We reached the end of the animation.
485  if (isFirstIteration) {
486  if (nextFrameNumber == 0) {
487  // No frames could be read at all (error).
488  return false;
489  }
490  // End of first iteration. Initialize play counter
492  isFirstIteration = false;
493  }
494  // Loop as appropriate
495  if (playCounter != 0) {
496  if (playCounter != -1) // Infinite?
497  playCounter--; // Nope
498  nextFrameNumber = 0;
499  return next();
500  }
501  // Loop no more. Done
502  return false;
503  }
504  // Image and delay OK, update internal state
506  QSize scaledSize = reader->scaledSize();
507  if (scaledSize.isValid() && (scaledSize != info.pixmap.size()))
508  currentPixmap = QPixmap::fromImage( info.pixmap.toImage().scaled(scaledSize) );
509  else
510  currentPixmap = info.pixmap;
512  // Adjust delay according to the time it took to read the frame
513  int processingTime = time.elapsed();
514  if (processingTime > nextDelay)
515  nextDelay = 0;
516  else
517  nextDelay = nextDelay - processingTime;
518  return true;
519 }
QImage toImage() const
Converts the pixmap to a QImage.
Definition: qpixmap.cpp:542
static QPixmap fromImage(const QImage &image, Qt::ImageConversionFlags flags=Qt::AutoColor)
Converts the given image to a pixmap using the specified flags to control the conversion.
Definition: qpixmap.cpp:2197
static mach_timebase_info_data_t info
QPixmap pixmap
Definition: qmovie.cpp:230
QSize size() const
Returns the size of the pixmap.
Definition: qpixmap.cpp:661
void start()
Sets this time to the current time.
Definition: qdatetime.cpp:2070
QPixmap currentPixmap
Definition: qmovie.cpp:286
int speedAdjustedDelay(int delay) const
Given the original delay, this function returns the actual number of milliseconds to delay according ...
Definition: qmovie.cpp:349
bool isValid()
Definition: qmovie.cpp:245
bool isFirstIteration
Definition: qmovie.cpp:295
The QTime class provides clock time functions.
Definition: qdatetime.h:148
QFrameInfo infoForFrame(int frameNumber)
Returns the QFrameInfo for the given frameNumber.
Definition: qmovie.cpp:369
QImageReader * reader
Definition: qmovie.cpp:282
int elapsed() const
Returns the number of milliseconds that have elapsed since the last time start() or restart() was cal...
Definition: qdatetime.cpp:2123
int loopCount() const
For image formats that support animation, this function returns the number of times the animation sho...
int nextFrameNumber
Definition: qmovie.cpp:288
QSize scaledSize() const
Returns the scaled size of the image.
int currentFrameNumber
Definition: qmovie.cpp:287
bool next()
Attempts to advance the animation to the next frame.
Definition: qmovie.cpp:476
bool isValid() const
Returns true if both the width and height is equal to or greater than 0; otherwise returns false...
Definition: qsize.h:123
The QSize class defines the size of a two-dimensional object using integer point precision.
Definition: qsize.h:53
QImage scaled(int w, int h, Qt::AspectRatioMode aspectMode=Qt::IgnoreAspectRatio, Qt::TransformationMode mode=Qt::FastTransformation) const
Definition: qimage.h:232
bool isEndMarker()
Definition: qmovie.cpp:250
int delay
Definition: qmovie.cpp:231
int playCounter
Definition: qmovie.cpp:291

◆ reset()

void QMoviePrivate::reset ( )
Warning
This function is not part of the public interface.

Definition at line 316 of file qmovie.cpp.

317 {
319  if (reader->device())
321  currentFrameNumber = -1;
322  nextFrameNumber = 0;
323  greatestFrameNumber = -1;
324  nextDelay = 0;
325  playCounter = -1;
326  haveReadAll = false;
327  isFirstIteration = true;
328  frameMap.clear();
329 }
QMap< int, QFrameInfo > frameMap
Definition: qmovie.cpp:296
QTimer nextImageTimer
Definition: qmovie.cpp:299
virtual qint64 pos() const
For random-access devices, this function returns the position that data is written to or read from...
Definition: qiodevice.cpp:624
bool isFirstIteration
Definition: qmovie.cpp:295
qint64 initialDevicePos
Definition: qmovie.cpp:292
int greatestFrameNumber
Definition: qmovie.cpp:289
QImageReader * reader
Definition: qmovie.cpp:282
int nextFrameNumber
Definition: qmovie.cpp:288
QIODevice * device() const
Returns the device currently assigned to QImageReader, or 0 if no device has been assigned...
int currentFrameNumber
Definition: qmovie.cpp:287
void stop()
Stops the timer.
Definition: qtimer.cpp:284
void clear()
Removes all items from the map.
Definition: qmap.h:444
int playCounter
Definition: qmovie.cpp:291
bool haveReadAll
Definition: qmovie.cpp:294

◆ speedAdjustedDelay()

int QMoviePrivate::speedAdjustedDelay ( int  delay) const

Given the original delay, this function returns the actual number of milliseconds to delay according to the current speed.

Warning
This function is not part of the public interface.

E.g. if the speed is 200%, the result will be half of the original delay.

Definition at line 349 of file qmovie.cpp.

Referenced by next().

350 {
351  return int( (qint64(delay) * qint64(100) ) / qint64(speed) );
352 }
__int64 qint64
Definition: qglobal.h:942

Properties

◆ absoluteFilePath

QString QMoviePrivate::absoluteFilePath

Definition at line 297 of file qmovie.cpp.

Referenced by infoForFrame().

◆ cacheMode

QMovie::CacheMode QMoviePrivate::cacheMode

Definition at line 293 of file qmovie.cpp.

Referenced by infoForFrame().

◆ currentFrameNumber

int QMoviePrivate::currentFrameNumber

Definition at line 287 of file qmovie.cpp.

Referenced by _q_loadNextFrame(), infoForFrame(), jumpToFrame(), jumpToNextFrame(), next(), and reset().

◆ currentPixmap

QPixmap QMoviePrivate::currentPixmap

Definition at line 286 of file qmovie.cpp.

Referenced by _q_loadNextFrame(), and next().

◆ frameMap

QMap<int, QFrameInfo> QMoviePrivate::frameMap

Definition at line 296 of file qmovie.cpp.

Referenced by reset().

◆ frameRect

QRect QMoviePrivate::frameRect

Definition at line 285 of file qmovie.cpp.

Referenced by _q_loadNextFrame().

◆ greatestFrameNumber

int QMoviePrivate::greatestFrameNumber

Definition at line 289 of file qmovie.cpp.

Referenced by frameCount(), infoForFrame(), isValid(), and reset().

◆ haveReadAll

bool QMoviePrivate::haveReadAll

Definition at line 294 of file qmovie.cpp.

Referenced by frameCount(), infoForFrame(), and reset().

◆ initialDevicePos

qint64 QMoviePrivate::initialDevicePos

Definition at line 292 of file qmovie.cpp.

Referenced by reset().

◆ isFirstIteration

bool QMoviePrivate::isFirstIteration

Definition at line 295 of file qmovie.cpp.

Referenced by _q_loadNextFrame(), next(), and reset().

◆ movieState

QMovie::MovieState QMoviePrivate::movieState

Definition at line 284 of file qmovie.cpp.

Referenced by _q_loadNextFrame(), and jumpToFrame().

◆ nextDelay

int QMoviePrivate::nextDelay

Definition at line 290 of file qmovie.cpp.

Referenced by _q_loadNextFrame(), next(), and reset().

◆ nextFrameNumber

int QMoviePrivate::nextFrameNumber

Definition at line 288 of file qmovie.cpp.

Referenced by _q_loadNextFrame(), jumpToFrame(), next(), and reset().

◆ nextImageTimer

QTimer QMoviePrivate::nextImageTimer

Definition at line 299 of file qmovie.cpp.

Referenced by _q_loadNextFrame(), jumpToFrame(), QMoviePrivate(), and reset().

◆ playCounter

int QMoviePrivate::playCounter

Definition at line 291 of file qmovie.cpp.

Referenced by _q_loadNextFrame(), isDone(), next(), and reset().

◆ reader

QImageReader* QMoviePrivate::reader

Definition at line 282 of file qmovie.cpp.

Referenced by _q_loadNextFrame(), frameCount(), infoForFrame(), isValid(), next(), and reset().

◆ speed

int QMoviePrivate::speed

Definition at line 283 of file qmovie.cpp.

Referenced by speedAdjustedDelay().


The documentation for this class was generated from the following file: