Added QObject inheriting nurse class