chooseenginedialog_p.h 1.07 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12
/***************************************************************************
 *   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

Yuri Chornoivan's avatar
Yuri Chornoivan committed
13
#include <QStringList>
14

Laurent Montel's avatar
Laurent Montel committed
15
#include <QDialog>
Frederik Gladhorn's avatar
Frederik Gladhorn committed
16
#include <QMimeType>
17 18 19

class Ui_ChooseEngineWidget;

Laurent Montel's avatar
Laurent Montel committed
20
class ChooseEngineDialog : public QDialog
21
{
22 23
    Q_OBJECT

24
    public:
25
        ChooseEngineDialog( const QStringList &generators, const QMimeType &mime, QWidget * parent = nullptr );
26
        ~ChooseEngineDialog();
27 28 29 30 31 32 33 34

        int selectedGenerator() const;

    protected:
        Ui_ChooseEngineWidget * m_widget;
};

#endif