Time delta class for Qt