Mailcommon

selectthunderbirdfilterfileswidget.h
1/*
2 SPDX-FileCopyrightText: 2012-2024 Laurent Montel <montel@kde.org>
3
4 SPDX-License-Identifier: GPL-2.0-or-later
5*/
6
7#pragma once
8
9#include <QWidget>
10class QUrl;
11class QAbstractButton;
12
13namespace Ui
14{
15class SelectThunderbirdFilterFilesWidget;
16}
17namespace MailCommon
18{
19class SelectThunderbirdFilterFilesWidget : public QWidget
20{
22
23public:
24 explicit SelectThunderbirdFilterFilesWidget(const QString &defaultSettingPath, QWidget *parent = nullptr);
25 ~SelectThunderbirdFilterFilesWidget() override;
26 [[nodiscard]] QStringList selectedFiles() const;
27
28 void setStartDir(const QUrl &);
29
31 void enableOkButton(bool);
32
33private:
34 void slotButtonClicked(QAbstractButton *button);
35 void slotProfileChanged(int);
36
37 void slotUrlChanged(const QString &path);
38 void slotItemSelectionChanged();
39 Ui::SelectThunderbirdFilterFilesWidget *const ui;
40};
41}
The filter dialog.
Q_OBJECTQ_OBJECT
Q_SIGNALSQ_SIGNALS
QObject * parent() const const
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 17:00:24 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.