Mailcommon

selectthunderbirdfilterfileswidget.h
1 /*
2  SPDX-FileCopyrightText: 2012-2022 Laurent Montel <[email protected]>
3 
4  SPDX-License-Identifier: GPL-2.0-or-later
5 */
6 
7 #pragma once
8 
9 #include <QWidget>
10 class QUrl;
11 class QAbstractButton;
12 
13 namespace Ui
14 {
15 class SelectThunderbirdFilterFilesWidget;
16 }
17 namespace MailCommon
18 {
19 class SelectThunderbirdFilterFilesWidget : public QWidget
20 {
21  Q_OBJECT
22 
23 public:
24  explicit SelectThunderbirdFilterFilesWidget(const QString &defaultSettingPath, QWidget *parent = nullptr);
25  ~SelectThunderbirdFilterFilesWidget() override;
26  Q_REQUIRED_RESULT QStringList selectedFiles() const;
27 
28  void setStartDir(const QUrl &);
29 
30 Q_SIGNALS:
31  void enableOkButton(bool);
32 
33 private:
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 }
Q_OBJECTQ_OBJECT
Q_SIGNALSQ_SIGNALS
The filter dialog.
This file is part of the KDE documentation.
Documentation copyright © 1996-2022 The KDE developers.
Generated on Sat Sep 24 2022 03:58:15 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.