Messagelib
dkimmanageruleswidget.cpp
73 mTreeWidget->setHeaderLabels({i18n("Active"), i18n("Domain"), i18n("List-ID"), i18n("From"), i18n("SDID"), i18n("Rule type"), i18n("Priority")});
84 connect(mTreeWidget, &QTreeWidget::customContextMenuRequested, this, &DKIMManageRulesWidget::slotCustomContextMenuRequested);
201 menu.addAction(QIcon::fromTheme(QStringLiteral("document-edit")), i18n("Modify..."), this, [this, rulesItem]() {
205 menu.addAction(QIcon::fromTheme(QStringLiteral("edit-duplicate")), i18n("Duplicate Rule"), this, [this, rulesItem]() {
209 menu.addAction(QIcon::fromTheme(QStringLiteral("edit-delete")), i18n("Remove Rule"), this, [this, item]() {
The DKIMManageRulesWidgetItem class.
Definition dkimmanageruleswidget.h:21
QString i18nc(const char *context, const char *text, const TYPE &arg...)
QString i18n(const char *text, const TYPE &arg...)
void catchReturnKey(QObject *lineEdit)
ButtonCode warningTwoActions(QWidget *parent, const QString &text, const QString &title, const KGuiItem &primaryAction, const KGuiItem &secondaryAction, const QString &dontAskAgainName=QString(), Options options=Options(Notify|Dangerous))
KGuiItem cancel()
KGuiItem del()
QPoint pos()
bool restoreState(const QByteArray &state)
QByteArray saveState() const const
void setSectionsClickable(bool clickable)
void setSortIndicatorShown(bool show)
QIcon fromTheme(const QString &name)
void append(QList< T > &&value)
void reserve(qsizetype size)
Q_EMITQ_EMIT
QString number(double n, char format, int precision)
QString join(QChar separator) const const
Checked
CustomContextMenu
AscendingOrder
QFuture< ArgsType< Signal > > connect(Sender *sender, Signal signal)
QHeaderView * header() const const
void sortByColumn(int column, Qt::SortOrder order)
void setSortingEnabled(bool enable)
void clear()
QTreeWidgetItem * itemAt(const QPoint &p) const const
void itemDoubleClicked(QTreeWidgetItem *item, int column)
QTreeWidgetItem * topLevelItem(int index) const const
topLevelItemCount
Qt::CheckState checkState(int column) const const
void setCheckState(int column, Qt::CheckState state)
void setText(int column, const QString &text)
QString text(int column) const const
void customContextMenuRequested(const QPoint &pos)
pos
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:07:25 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:07:25 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.