KGuiAddons
kcountryflagemojiiconengine.h
30 * @param regionOrCountry either a ISO 3166-1 alpha-2 country code or a ISO 3166-2 region code (e.g. AT for Austria or GB-SCT for Scotland)
40 QPixmap scaledPixmap(const QSize &size, QIcon::Mode mode, QIcon::State state, qreal scale) override;
44 * This does not necessarily mean that the pixmap output will be a valid flag - that entirely depends on the system's precise font configuration.
52 * This is primarily useful for platform themes that wish to force a specific font being used. By default the "emoji" font family will be used.
Provides emoji flags as icons This is a special icon engine that internally paints flags using emoji ...
Definition kcountryflagemojiiconengine.h:25
Mode
State
virtual QIconEngine * clone() const const=0
virtual bool isNull()
virtual QString key() const const
virtual void paint(QPainter *painter, const QRect &rect, QIcon::Mode mode, QIcon::State state)=0
virtual QPixmap pixmap(const QSize &size, QIcon::Mode mode, QIcon::State state)
virtual QPixmap scaledPixmap(const QSize &size, QIcon::Mode mode, QIcon::State state, qreal scale)
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:09:48 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:09:48 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.