made class Deck and class Player Qt independed, added test macro barriers