2 Copyright (c) 2006 Paolo Capriotti <p.capriotti@sns.it>
3 (c) 2006 Maurizio Monge <maurizio.monge@kdemail.net>
5 This program is free software; you can redistribute it and/or modify
6 it under the terms of the GNU General Public License as published by
7 the Free Software Foundation; either version 2 of the License, or
8 (at your option) any later version.
11 #ifndef PREF_ENGINES_H
12 #define PREF_ENGINES_H
14 #include "ui_pref_engines.h"
15 #include "engineinfo.h"
20 class PrefEngines
: public QWidget
21 , public Ui::PrefEngines
{
23 std::map
<QListWidgetItem
*, EngineDetails
> m_engines
;
25 EngineDetails
& currentEngine();
27 PrefEngines(QWidget
* parent
= 0);
30 QListWidgetItem
* addEngine(const EngineDetails
& details
);
33 void setName(QListWidgetItem
*);
36 void changeEngine(QListWidgetItem
* item
);
43 #endif // PREF_ENGINES_H