Removed 'image' test (superseeded by 'luaimage' test)
[tagua/yd.git] / src / pref_engines.h
blob14f56ff39e5a06d323cebbc840ef2561c65f3f3d
1 /*
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.
9 */
11 #ifndef PREF_ENGINES_H
12 #define PREF_ENGINES_H
14 #include "ui/ui_pref_engines.h"
15 #include "engineinfo.h"
16 #include <vector>
19 class PrefEngines : public QWidget
20 , public Ui::PrefEngines {
21 Q_OBJECT
22 std::map<QListWidgetItem*, EngineDetails> m_engines;
24 EngineDetails& currentEngine();
25 public:
26 PrefEngines(QWidget* parent = 0);
27 ~PrefEngines();
29 QListWidgetItem* addEngine(const EngineDetails& details);
30 public slots:
31 void apply();
32 void setName(QListWidgetItem*);
33 void add();
34 void remove();
35 void changeEngine(QListWidgetItem* item);
37 void setPath();
38 void setType();
39 void setWorkDir();
42 #endif // PREF_ENGINES_H