10#include "akonadicore_export.h"
19class TagAttributePrivate;
36 void setDisplayName(
const QString &name);
42 [[nodiscard]]
QString displayName()
const;
47 void setIconName(
const QString &name);
52 [[nodiscard]]
QString iconName()
const;
54 void setBackgroundColor(
const QColor &color);
55 [[nodiscard]]
QColor backgroundColor()
const;
56 void setTextColor(
const QColor &color);
57 [[nodiscard]]
QColor textColor()
const;
58 void setFont(
const QString &fontKey);
59 [[nodiscard]]
QString font()
const;
60 void setInToolbar(
bool inToolbar);
61 [[nodiscard]]
bool inToolbar()
const;
62 void setShortcut(
const QString &shortcut);
63 [[nodiscard]]
QString shortcut()
const;
71 void setPriority(
int priority);
77 [[nodiscard]]
int priority()
const;
80 [[nodiscard]]
QByteArray type()
const override;
82 [[nodiscard]]
QByteArray serialized()
const override;
83 void deserialize(
const QByteArray &data)
override;
89 const std::unique_ptr<TagAttributePrivate> d;
Provides interface for custom attributes for Entity.
Attribute that stores the properties that are used to display a tag.
Helper integration between Akonadi and Qt.
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 4 2024 16:31:58 by
doxygen 1.12.0 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.