Mailcommon

filteractionmissingtagdialog.h
1/*
2 SPDX-FileCopyrightText: 2016-2024 Laurent Montel <montel@kde.org>
3
4 SPDX-License-Identifier: LGPL-2.0-or-later
5*/
6
7#pragma once
8
9#include <QDialog>
10class QListWidget;
11namespace MailCommon
12{
13class FilterActionMissingTagDialog : public QDialog
14{
16public:
17 explicit FilterActionMissingTagDialog(const QMap<QUrl, QString> &templateList,
18 const QString &filtername,
19 const QString &argsStr,
20 QWidget *parent = nullptr);
21 ~FilterActionMissingTagDialog() override;
22 [[nodiscard]] QString selectedTag() const;
23
24private:
25 void slotAddTag();
26 void readConfig();
27 void writeConfig();
28
29 enum TypeData {
30 UrlData = Qt::UserRole + 1
31 };
32 QListWidget *const mTagList;
33};
34}
The filter dialog.
Q_OBJECTQ_OBJECT
QObject * parent() const const
UserRole
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Dec 6 2024 12:02:04 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.