Mailcommon

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

KDE's Doxygen guidelines are available online.