File indexing completed on 2024-04-28 04:32:37

0001 /*
0002     SPDX-FileCopyrightText: 2006 Pino Toscano <toscano.pino@tiscali.it>
0003 
0004     SPDX-License-Identifier: GPL-2.0-or-later
0005 */
0006 
0007 #ifndef _CHOOSEENGINEDIALOG_H
0008 #define _CHOOSEENGINEDIALOG_H
0009 
0010 #include <QStringList>
0011 
0012 #include <QDialog>
0013 #include <QMimeType>
0014 
0015 class Ui_ChooseEngineWidget;
0016 
0017 class ChooseEngineDialog : public QDialog
0018 {
0019     Q_OBJECT
0020 
0021 public:
0022     ChooseEngineDialog(const QStringList &generators, const QMimeType &mime, QWidget *parent = nullptr);
0023     ~ChooseEngineDialog() override;
0024 
0025     int selectedGenerator() const;
0026 
0027 protected:
0028     Ui_ChooseEngineWidget *m_widget;
0029 };
0030 
0031 #endif