Changeset View
Changeset View
Standalone View
Standalone View
src/kiconengine.h
Show First 20 Lines • Show All 78 Lines • ▼ Show 20 Line(s) | 45 | public: | |||
---|---|---|---|---|---|
79 | QIconEngine *clone() const Q_DECL_OVERRIDE; | 79 | QIconEngine *clone() const Q_DECL_OVERRIDE; | ||
80 | bool read(QDataStream &in) Q_DECL_OVERRIDE; | 80 | bool read(QDataStream &in) Q_DECL_OVERRIDE; | ||
81 | bool write(QDataStream &out) const Q_DECL_OVERRIDE; | 81 | bool write(QDataStream &out) const Q_DECL_OVERRIDE; | ||
82 | 82 | | |||
83 | void virtual_hook(int id, void *data) Q_DECL_OVERRIDE; | 83 | void virtual_hook(int id, void *data) Q_DECL_OVERRIDE; | ||
84 | 84 | | |||
85 | private: | 85 | private: | ||
86 | //TODO KF6: move those into the d-pointer | 86 | //TODO KF6: move those into the d-pointer | ||
87 | QPixmap createPixmap(const QSize &size, qreal scale, QIcon::Mode mode, QIcon::State state); | ||||
88 | | ||||
87 | QString mIconName; | 89 | QString mIconName; | ||
88 | QStringList mOverlays; | 90 | QStringList mOverlays; | ||
89 | QPointer<KIconLoader> mIconLoader; | 91 | QPointer<KIconLoader> mIconLoader; | ||
90 | }; | 92 | }; | ||
91 | 93 | | |||
92 | inline KIconEngine::~KIconEngine() | 94 | inline KIconEngine::~KIconEngine() | ||
93 | { | 95 | { | ||
94 | } | 96 | } | ||
95 | 97 | | |||
96 | #endif | 98 | #endif |