Qt 4.8
|
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 |
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 QObjectPrivate * | get (QObject *o) |
static void | resetCurrentSender (QObject *receiver, Sender *currentSender, Sender *previousSender) |
static Sender * | setCurrentSender (QObject *receiver, Sender *sender) |
static void | signalSignature (const QMetaMethod &signal, QVarLengthArray< char > *result) |
Definition at line 257 of file qmovie.cpp.
QMoviePrivate::QMoviePrivate | ( | QMovie * | ) |
Definition at line 304 of file qmovie.cpp.
void QMoviePrivate::_q_loadNextFrame | ( | ) |
Definition at line 523 of file qmovie.cpp.
Referenced by jumpToFrame().
void QMoviePrivate::_q_loadNextFrame | ( | bool | starting | ) |
Definition at line 528 of file qmovie.cpp.
|
inline |
int QMoviePrivate::frameCount | ( | ) | const |
Definition at line 592 of file qmovie.cpp.
QFrameInfo QMoviePrivate::infoForFrame | ( | int | frameNumber | ) |
Returns the QFrameInfo for the given frameNumber.
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().
bool QMoviePrivate::isDone | ( | ) |
Definition at line 333 of file qmovie.cpp.
Referenced by _q_loadNextFrame().
bool QMoviePrivate::isValid | ( | ) | const |
Definition at line 567 of file qmovie.cpp.
bool QMoviePrivate::jumpToFrame | ( | int | frameNumber | ) |
Definition at line 576 of file qmovie.cpp.
Referenced by jumpToNextFrame().
bool QMoviePrivate::jumpToNextFrame | ( | ) |
Definition at line 605 of file qmovie.cpp.
bool QMoviePrivate::next | ( | ) |
Attempts to advance the animation to the next frame.
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().
void QMoviePrivate::reset | ( | ) |
Definition at line 316 of file qmovie.cpp.
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.
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().
QString QMoviePrivate::absoluteFilePath |
Definition at line 297 of file qmovie.cpp.
Referenced by infoForFrame().
QMovie::CacheMode QMoviePrivate::cacheMode |
Definition at line 293 of file qmovie.cpp.
Referenced by infoForFrame().
int QMoviePrivate::currentFrameNumber |
Definition at line 287 of file qmovie.cpp.
Referenced by _q_loadNextFrame(), infoForFrame(), jumpToFrame(), jumpToNextFrame(), next(), and reset().
QPixmap QMoviePrivate::currentPixmap |
Definition at line 286 of file qmovie.cpp.
Referenced by _q_loadNextFrame(), and next().
QMap<int, QFrameInfo> QMoviePrivate::frameMap |
Definition at line 296 of file qmovie.cpp.
Referenced by reset().
QRect QMoviePrivate::frameRect |
Definition at line 285 of file qmovie.cpp.
Referenced by _q_loadNextFrame().
int QMoviePrivate::greatestFrameNumber |
Definition at line 289 of file qmovie.cpp.
Referenced by frameCount(), infoForFrame(), isValid(), and reset().
bool QMoviePrivate::haveReadAll |
Definition at line 294 of file qmovie.cpp.
Referenced by frameCount(), infoForFrame(), and reset().
qint64 QMoviePrivate::initialDevicePos |
Definition at line 292 of file qmovie.cpp.
Referenced by reset().
bool QMoviePrivate::isFirstIteration |
Definition at line 295 of file qmovie.cpp.
Referenced by _q_loadNextFrame(), next(), and reset().
QMovie::MovieState QMoviePrivate::movieState |
Definition at line 284 of file qmovie.cpp.
Referenced by _q_loadNextFrame(), and jumpToFrame().
int QMoviePrivate::nextDelay |
Definition at line 290 of file qmovie.cpp.
Referenced by _q_loadNextFrame(), next(), and reset().
int QMoviePrivate::nextFrameNumber |
Definition at line 288 of file qmovie.cpp.
Referenced by _q_loadNextFrame(), jumpToFrame(), next(), and reset().
QTimer QMoviePrivate::nextImageTimer |
Definition at line 299 of file qmovie.cpp.
Referenced by _q_loadNextFrame(), jumpToFrame(), QMoviePrivate(), and reset().
int QMoviePrivate::playCounter |
Definition at line 291 of file qmovie.cpp.
Referenced by _q_loadNextFrame(), isDone(), next(), and reset().
QImageReader* QMoviePrivate::reader |
Definition at line 282 of file qmovie.cpp.
Referenced by _q_loadNextFrame(), frameCount(), infoForFrame(), isValid(), next(), and reset().
int QMoviePrivate::speed |
Definition at line 283 of file qmovie.cpp.
Referenced by speedAdjustedDelay().