9#include "mailcommon_export.h"
10#include <QAbstractItemModel>
13class SnippetWidgetPrivate;
27 void setName(
const QString &name);
28 [[nodiscard]]
QString name()
const;
30 void setText(
const QString &text);
31 [[nodiscard]]
QString text()
const;
36 void setKeyword(
const QString &keyword);
37 [[nodiscard]]
QString keyword()
const;
39 void setTo(
const QString &keyword);
40 [[nodiscard]]
QString to()
const;
42 void setCc(
const QString &keyword);
43 [[nodiscard]]
QString cc()
const;
45 void setBcc(
const QString &keyword);
46 [[nodiscard]]
QString bcc()
const;
52 [[nodiscard]]
bool snippetIsValid()
const;
56 void setGroupSelected(
bool b);
58 [[nodiscard]]
bool isGroupSelected()
const;
61 [[nodiscard]]
bool wasChanged()
const;
62 void setWasChanged(
bool b);
64 void setSubject(
const QString &text);
65 [[nodiscard]]
QString subject()
const;
67 void setAttachment(
const QString &keyword);
68 [[nodiscard]]
QString attachment()
const;
71 void textChanged(
const QString &str);
72 void groupChanged(
int index);
75 std::unique_ptr<SnippetWidgetPrivate>
const d;
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Nov 22 2024 12:12:19 by
doxygen 1.12.0 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.