2021-05-24 07:25:56 +00:00
|
|
|
/*
|
|
|
|
SPDX-FileCopyrightText: 2006 Pino Toscano <toscano.pino@tiscali.it>
|
|
|
|
|
|
|
|
SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
*/
|
2006-03-30 18:06:18 +00:00
|
|
|
|
|
|
|
#ifndef _CHOOSEENGINEDIALOG_H
|
|
|
|
#define _CHOOSEENGINEDIALOG_H
|
|
|
|
|
2018-08-31 09:23:45 +00:00
|
|
|
#include <QStringList>
|
2006-03-30 18:06:18 +00:00
|
|
|
|
2014-10-06 05:39:24 +00:00
|
|
|
#include <QDialog>
|
2014-09-11 13:18:05 +00:00
|
|
|
#include <QMimeType>
|
2006-03-30 18:06:18 +00:00
|
|
|
|
|
|
|
class Ui_ChooseEngineWidget;
|
|
|
|
|
2014-10-06 05:39:24 +00:00
|
|
|
class ChooseEngineDialog : public QDialog
|
2006-03-30 18:06:18 +00:00
|
|
|
{
|
2016-10-29 14:32:24 +00:00
|
|
|
Q_OBJECT
|
|
|
|
|
2006-03-30 18:06:18 +00:00
|
|
|
public:
|
2017-09-05 21:27:18 +00:00
|
|
|
ChooseEngineDialog(const QStringList &generators, const QMimeType &mime, QWidget *parent = nullptr);
|
2019-12-18 11:51:13 +00:00
|
|
|
~ChooseEngineDialog() override;
|
2006-03-30 18:06:18 +00:00
|
|
|
|
|
|
|
int selectedGenerator() const;
|
|
|
|
|
|
|
|
protected:
|
|
|
|
Ui_ChooseEngineWidget *m_widget;
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|