Fix #8507

As described in http://hub.qgis.org/issues/8507 master doesn't compile with sip 4.15. (I'm using OSX 10.8 and sip 4.15.1.)

The quick fix was moving methods from private to protected solved the compiling error.