QPointer for the text doc implementation

Authored by leinir on Jul 22 2017, 7:01 PM.