6 #ifndef SWIFT_MISC_PIXMAP_H
7 #define SWIFT_MISC_PIXMAP_H
12 #include <QReadWriteLock>
46 const QPixmap &pixmap()
const;
49 operator QPixmap()
const;
55 QPixmap toPixmap()
const;
58 QString convertToQString(
bool i18n =
false)
const;
65 mutable QPixmap m_pixmap;
66 mutable bool m_hasCachedPixmap =
false;
67 mutable QReadWriteLock m_lock;
Pixmap which can be transferred via DBus.
CPixmap()=default
Default constructor.
~CPixmap()=default
Destructor.
Mix of the most commonly used mixin classes.
Free functions in swift::misc.
#define SWIFT_MISC_EXPORT
Export a class or function from the library.
#define SWIFT_DECLARE_VALUEOBJECT_MIXINS(Namespace, Class)
Explicit template declaration of mixins for a CValueObject subclass to be placed near the top of the ...