#include "ui_wizardcheck_ui.h"
#include "ui_wizardmltcheck_ui.h"
-class WizardDelegate: public QItemDelegate {
+class WizardDelegate: public QItemDelegate
+{
public:
WizardDelegate(QAbstractItemView* parent = 0): QItemDelegate(parent) {
}
painter->setPen(option.palette.color(QPalette::HighlightedText));
QColor backgroundColor = option.palette.color(QPalette::Highlight);
painter->setBrush(QBrush(backgroundColor));
- painter->fillRect(r1, QBrush(backgroundColor));
+ painter->fillRect(r1, backgroundColor);
}
QFont font = painter->font();
font.setBold(true);
};
-class Wizard : public QWizard {
+class Wizard : public QWizard
+{
Q_OBJECT
public:
- Wizard(QWidget * parent = 0);
+ Wizard(bool upgrade, QWidget * parent = 0);
void installExtraMimes(QString baseName, QStringList globs);
void runUpdateMimeDatabase();
void adjustSettings();
Ui::WizardCheck_UI m_check;
QVBoxLayout *m_startLayout;
bool m_systemCheckIsOk;
- QStringList m_dvProfiles;
- QStringList m_hdvProfiles;
- QStringList m_otherProfiles;
- QMap <QString, QString> m_profilesInfo;
+ QMap <QString, QString> m_dvProfiles;
+ QMap <QString, QString> m_hdvProfiles;
+ QMap <QString, QString> m_otherProfiles;
void slotCheckPrograms();
void checkMltComponents();
KIcon m_okIcon;
void slotCheckStandard();
void slotCheckSelectedItem();
void slotCheckMlt();
+ void slotShowWebInfos();
};
#endif