move QDirection from main.cpp to UserMap.h