make it compile for qt-creator-3.2 due to deleted documentModel() method.