File indexing completed on 2025-01-19 04:46:48

0001 /*
0002     SPDX-FileCopyrightText: 2007 Volker Krause <vkrause@kde.org>
0003 
0004     SPDX-License-Identifier: LGPL-2.0-or-later
0005 */
0006 
0007 #pragma once
0008 
0009 #include "ui_attendeeselector.h"
0010 #include <QDialog>
0011 class QPushButton;
0012 
0013 /**
0014   Dialog to select a set off attendees.
0015 */
0016 class AttendeeSelector : public QDialog
0017 {
0018     Q_OBJECT
0019 public:
0020     explicit AttendeeSelector(QWidget *parent = nullptr);
0021 
0022     [[nodiscard]] QStringList attendees() const;
0023 
0024 private:
0025     void addClicked();
0026     void removeClicked();
0027     void textChanged(const QString &text);
0028     void selectionChanged();
0029     Ui::AttendeeSelectorWidget ui;
0030     QPushButton *mOkButton = nullptr;
0031 };