Messagelib

filternamedialog.h
1 /*
2  SPDX-FileCopyrightText: 2021 Laurent Montel <[email protected]>
3 
4  SPDX-License-Identifier: GPL-2.0-or-later
5 */
6 
7 #pragma once
8 
9 #include "messagelist_private_export.h"
10 #include <QDialog>
11 
12 namespace MessageList
13 {
14 namespace Core
15 {
16 class FilterNameWidget;
17 class MESSAGELIST_TESTS_EXPORT FilterNameDialog : public QDialog
18 {
19  Q_OBJECT
20 public:
21  explicit FilterNameDialog(QWidget *parent = nullptr);
22  ~FilterNameDialog() override;
23 
24  void setFilterName(const QString &str);
25  Q_REQUIRED_RESULT QString filterName() const;
26 
27  void setExistingFilterNames(const QStringList &lst);
28 
29  void setIconName(const QString &icon);
30  Q_REQUIRED_RESULT QString iconName() const;
31 
32 private:
33  FilterNameWidget *const mFilterNameWidget;
34 };
35 }
36 }
This file is part of the KDE documentation.
Documentation copyright © 1996-2021 The KDE developers.
Generated on Sun Dec 5 2021 23:04:53 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.