equal
deleted
inserted
replaced
62 |
62 |
63 AmmoSchemeModel::AmmoSchemeModel(QObject* parent, const QString & fileName) : |
63 AmmoSchemeModel::AmmoSchemeModel(QObject* parent, const QString & fileName) : |
64 QAbstractTableModel(parent), |
64 QAbstractTableModel(parent), |
65 fileConfig(fileName, QSettings::IniFormat) |
65 fileConfig(fileName, QSettings::IniFormat) |
66 { |
66 { |
67 QStringList predefSchemesNames; |
67 predefSchemesNames = QStringList() |
68 predefSchemesNames |
|
69 << "Default" |
68 << "Default" |
70 << "Pro Mode" |
69 << "Pro Mode" |
71 << "Shoppa" |
70 << "Shoppa" |
72 << "Clean Slate" |
71 << "Clean Slate" |
73 << "Minefield" |
72 << "Minefield" |
470 << QVariant(5) // health dec amt 34 |
469 << QVariant(5) // health dec amt 34 |
471 ; |
470 ; |
472 |
471 |
473 QList<QVariant> kingmode; |
472 QList<QVariant> kingmode; |
474 kingmode |
473 kingmode |
475 << predefSchemesNames[10] // name 0 |
474 << predefSchemesNames[10] // name 0 |
476 << QVariant(false) // fortsmode 1 |
475 << QVariant(false) // fortsmode 1 |
477 << QVariant(false) // team divide 2 |
476 << QVariant(false) // team divide 2 |
478 << QVariant(false) // solid land 3 |
477 << QVariant(false) // solid land 3 |
479 << QVariant(false) // border 4 |
478 << QVariant(false) // border 4 |
480 << QVariant(false) // low gravity 5 |
479 << QVariant(false) // low gravity 5 |