On Friday, 28 June 2013 15:17:46 CEST, Thomas Lübking wrote:
Error logging or similar can connect a generic "Job::error(int id, QString desc)" slot and you don't have to define the signals, resp. members/getters lilke m_/id() multiple times.

I still don't see a big benefit in this. It would make sense to me if there was 
e.g. a common code path on what to do when hitting such a failure, or if the 
jobs were managed in some unified manner.

I would prefer not to use class inheritance just to save some code.

Cheers,
Jan

--
Trojitá, a fast Qt IMAP e-mail client -- http://trojita.flaska.net/

Reply via email to