diff --git a/quickevent/app/plugins/qml/CardReader/qml/CardCheckers/BeerRace.qml b/quickevent/app/plugins/qml/CardReader/qml/CardCheckers/BeerRace.qml index 27e9d03d3..1c76b067e 100644 --- a/quickevent/app/plugins/qml/CardReader/qml/CardCheckers/BeerRace.qml +++ b/quickevent/app/plugins/qml/CardReader/qml/CardCheckers/BeerRace.qml @@ -3,6 +3,8 @@ import qf.core 1.0 import qf.qmlwidgets 1.0 import CardReader 1.0 +// hard task, should be solved in C++ + CardChecker { id: root @@ -12,4 +14,4 @@ CardChecker { Log.info("checking card:", JSON.stringify(card, null, 2)); } -} \ No newline at end of file +} diff --git a/quickevent/app/plugins/qml/CardReader/qml/CardCheckers/Classic.qml b/quickevent/app/plugins/qml/CardReader/qml/CardCheckers/Classic.qml index 6d8e199d7..ebf8bd225 100644 --- a/quickevent/app/plugins/qml/CardReader/qml/CardCheckers/Classic.qml +++ b/quickevent/app/plugins/qml/CardReader/qml/CardCheckers/Classic.qml @@ -3,6 +3,8 @@ import qf.core 1.0 import qf.qmlwidgets 1.0 import CardReader 1.0 +// obsolete, not used + CardChecker { id: root diff --git a/quickevent/app/plugins/qml/CardReader/qml/main.qml b/quickevent/app/plugins/qml/CardReader/qml/main.qml index 985cb3d5d..1895256d7 100644 --- a/quickevent/app/plugins/qml/CardReader/qml/main.qml +++ b/quickevent/app/plugins/qml/CardReader/qml/main.qml @@ -9,9 +9,9 @@ CardReaderPlugin { id: root cardCheckers: [ - CardCheckers.Classic {}, - CardCheckerClassicCpp {}, - CardCheckers.BeerRace {} + //CardCheckers.Classic {}, + CardCheckerClassicCpp {} + //CardCheckers.BeerRace {} ] /* property QfObject internals: QfObject diff --git a/quickevent/app/plugins/qml/CardReader/src/CardReader/cardcheckerclassiccpp.cpp b/quickevent/app/plugins/qml/CardReader/src/CardReader/cardcheckerclassiccpp.cpp index dbce9757e..868bd349a 100644 --- a/quickevent/app/plugins/qml/CardReader/src/CardReader/cardcheckerclassiccpp.cpp +++ b/quickevent/app/plugins/qml/CardReader/src/CardReader/cardcheckerclassiccpp.cpp @@ -10,7 +10,7 @@ namespace CardReader { CardCheckerClassicCpp::CardCheckerClassicCpp(QObject *parent) : Super(parent) { - setCaption(tr("Classic C++ (testing)")); + setCaption(tr("Classic race")); } quickevent::core::si::CheckedCard CardCheckerClassicCpp::checkCard(const quickevent::core::si::ReadCard &read_card)