Replace Qt's d-pointer.

Move private headers to cpp files.