Search for usage in LXR

khtmlImLoad::AnimProvider Class Referenceabstract

#include <animprovider.h>

Inherited by khtmlImLoad::GIFAnimProvider.

Public Member Functions

 AnimProvider (PixmapPlane *plane, Image *img)
virtual AnimProviderclone (PixmapPlane *newParentPlane)=0
virtual void paint (int dx, int dy, QPainter *p, int sx, int sy, int width, int height)=0
void setShowAnimations (KHTMLSettings::KAnimationAdvice)
void switchFrame ()

Protected Member Functions

void nextFrame ()

Protected Attributes

KHTMLSettings::KAnimationAdvice animationAdvice
bool shouldSwitchFrame

Detailed Description

A base class for animation support.

This should be implemented by decoders wishing to implement animation. When this is installed, paint events for the image are redirected here.

Definition at line 43 of file animprovider.h.

Member Function Documentation

◆ setShowAnimations()

void khtmlImLoad::AnimProvider::setShowAnimations ( KHTMLSettings::KAnimationAdvice  newAdvice)

Enables or disables animations.

Definition at line 55 of file animprovider.cpp.

The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2022 The KDE developers.
Generated on Thu Aug 11 2022 03:57:30 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.