Messagelib

filternamedialog.h
1/*
2 SPDX-FileCopyrightText: 2021-2024 Laurent Montel <montel@kde.org>
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
12namespace MessageList
13{
14namespace Core
15{
16class FilterNameWidget;
17class MESSAGELIST_TESTS_EXPORT FilterNameDialog : public QDialog
18{
19 Q_OBJECT
20public:
21 explicit FilterNameDialog(QWidget *parent = nullptr);
22 ~FilterNameDialog() override;
23
24 void setFilterName(const QString &str);
25 [[nodiscard]] QString filterName() const;
26
27 void setExistingFilterNames(const QStringList &lst);
28
29 void setIconName(const QString &icon);
30 [[nodiscard]] QString iconName() const;
31
32private:
33 FilterNameWidget *const mFilterNameWidget;
34};
35}
36}
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sun Feb 25 2024 18:37:31 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.