16#include <kiconthemes_export.h>
24class KIconEffectPrivate;
42#if KICONTHEMES_ENABLE_DEPRECATED_SINCE(6, 5)
53 KICONTHEMES_DEPRECATED_VERSION(6, 5,
"Use static API")
61#if KICONTHEMES_ENABLE_DEPRECATED_SINCE(6, 5)
76 KICONTHEMES_DEPRECATED_VERSION(6, 5,
"Use static API")
88#if KICONTHEMES_ENABLE_DEPRECATED_SINCE(6, 5)
94 KICONTHEMES_DEPRECATED_VERSION(6, 5,
"Use static API")
98#if KICONTHEMES_ENABLE_DEPRECATED_SINCE(6, 5)
110 KICONTHEMES_DEPRECATED_VERSION(6, 5,
"Use static API")
111 bool hasEffect(
int group,
int state) const;
114#if KICONTHEMES_ENABLE_DEPRECATED_SINCE(6, 5)
125 KICONTHEMES_DEPRECATED_VERSION(6, 5,
"Use static API")
126 QString fingerprint(
int group,
int state) const;
129#if KICONTHEMES_ENABLE_DEPRECATED_SINCE(6, 5)
140 KICONTHEMES_DEPRECATED_VERSION(6, 5,
"Use static API")
141 QImage apply(const
QImage &src,
int group,
int state) const;
144#if KICONTHEMES_ENABLE_DEPRECATED_SINCE(6, 5)
156 KICONTHEMES_DEPRECATED_VERSION(6, 5,
"Use static API")
157 QImage apply(const
QImage &src,
int effect,
float value, const
QColor &rgb,
bool trans) const;
161#if KICONTHEMES_ENABLE_DEPRECATED_SINCE(6, 5)
171 KICONTHEMES_DEPRECATED_VERSION(6, 5,
"Use static API")
175#if KICONTHEMES_ENABLE_DEPRECATED_SINCE(6, 5)
187 KICONTHEMES_DEPRECATED_VERSION(6, 5,
"Use static API")
188 QPixmap apply(const
QPixmap &src,
int effect,
float value, const
QColor &rgb,
bool trans) const;
189 KICONTHEMES_DEPRECATED_VERSION(6, 5, "Use static API")
193#if KICONTHEMES_ENABLE_DEPRECATED_SINCE(6, 5)
201 KICONTHEMES_DEPRECATED_VERSION(6, 5,
"Use static API")
211 static void toGray(
QImage &image,
float value);
220 static void colorize(
QImage &image,
const QColor &col,
float value);
230 static void toMonochrome(
QImage &image,
const QColor &black,
const QColor &white,
float value);
238 static void deSaturate(
QImage &image,
float value);
246 static void toGamma(
QImage &image,
float value);
253 static void semiTransparent(
QImage &image);
260 static void semiTransparent(
QPixmap &pixmap);
277 static void toDisabled(
QImage &image);
286 static void toDisabled(
QPixmap &pixmap);
295 static void toActive(
QImage &image);
304 static void toActive(
QPixmap &pixmap);
307 std::unique_ptr<KIconEffectPrivate>
const d;
Applies effects to icons.
Effects
This is the enumeration of all possible icon effects.
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 16:57:01 by
doxygen 1.12.0 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.