File indexing completed on 2024-12-15 04:54:44

0001 /******************************************************************************
0002  *
0003  *  SPDX-FileCopyrightText: 2008 Szymon Tomasz Stefanek <pragma@kvirc.net>
0004  *
0005  *  SPDX-License-Identifier: GPL-2.0-or-later
0006  *
0007  *******************************************************************************/
0008 
0009 #pragma once
0010 
0011 #include <QDialog>
0012 
0013 namespace MessageList
0014 {
0015 namespace Core
0016 {
0017 class Manager;
0018 } // namespace Core
0019 
0020 namespace Utils
0021 {
0022 /**
0023  * The dialog used for configuring MessageList::Aggregation sets.
0024  *
0025  * This is managed by MessageList::Manager. Take a look at it first
0026  * if you want to display this dialog.
0027  */
0028 class ConfigureAggregationsDialog : public QDialog
0029 {
0030     Q_OBJECT
0031 
0032 public:
0033     explicit ConfigureAggregationsDialog(QWidget *parent = nullptr);
0034     ~ConfigureAggregationsDialog() override;
0035 
0036     void selectAggregation(const QString &aggregationId);
0037 
0038 Q_SIGNALS:
0039     void okClicked();
0040 
0041 private:
0042     class ConfigureAggregationsDialogPrivate;
0043     std::unique_ptr<ConfigureAggregationsDialogPrivate> const d;
0044 };
0045 } // namespace Utils
0046 } // namespace MessageList