Qt 4.8
Classes | Functions
qsvgiconengine.cpp File Reference
#include "qsvgiconengine.h"
#include "qpainter.h"
#include "qpixmap.h"
#include "qsvgrenderer.h"
#include "qpixmapcache.h"
#include "qstyle.h"
#include "qapplication.h"
#include "qstyleoption.h"
#include "qfileinfo.h"
#include <QAtomicInt>
#include "qdebug.h"

Go to the source code of this file.

Classes

class  QSvgIconEnginePrivate
 

Functions

static int pmKey (const QSize &size, QIcon::Mode mode, QIcon::State state)
 

Function Documentation

◆ pmKey()

static int pmKey ( const QSize size,
QIcon::Mode  mode,
QIcon::State  state 
)
inlinestatic

Definition at line 90 of file qsvgiconengine.cpp.

Referenced by QGtkStyle::drawPrimitive(), QGtkPainter::paintArrow(), QGtkPainter::paintExpander(), QGtkPainter::paintHline(), QGtkPainter::paintVline(), and QGtkPainter::setUsePixmapCache().

91 {
92  return ((((((size.width()<<11)|size.height())<<11)|mode)<<4)|state);
93 }
int width() const
Returns the width.
Definition: qsize.h:126
int height() const
Returns the height.
Definition: qsize.h:129