pass const QString by reference (via cppcheck)
pass const QDateTime by reference (via cppcheck)
pass const QDateTime by reference (via cppcheck)
check efficiently for emptiness (via cppcheck)