2006-03-30 18:06:18 +00:00
|
|
|
/***************************************************************************
|
|
|
|
* Copyright (C) 2006 by Pino Toscano <toscano.pino@tiscali.it> *
|
|
|
|
* *
|
|
|
|
* This program is free software; you can redistribute it and/or modify *
|
|
|
|
* it under the terms of the GNU General Public License as published by *
|
|
|
|
* the Free Software Foundation; either version 2 of the License, or *
|
|
|
|
* (at your option) any later version. *
|
|
|
|
***************************************************************************/
|
|
|
|
|
|
|
|
#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
|