Skip to content

Commit

Permalink
QE: 2.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
fvacek committed Dec 31, 2018
1 parent b5a16b6 commit f530251
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -12,4 +14,4 @@ CardChecker
{
Log.info("checking card:", JSON.stringify(card, null, 2));
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ import qf.core 1.0
import qf.qmlwidgets 1.0
import CardReader 1.0

// obsolete, not used

CardChecker
{
id: root
Expand Down
6 changes: 3 additions & 3 deletions quickevent/app/plugins/qml/CardReader/qml/main.qml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ CardReaderPlugin {
id: root

cardCheckers: [
CardCheckers.Classic {},
CardCheckerClassicCpp {},
CardCheckers.BeerRace {}
//CardCheckers.Classic {},
CardCheckerClassicCpp {}
//CardCheckers.BeerRace {}
]
/*
property QfObject internals: QfObject
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit f530251

Please sign in to comment.