remove dead method declaration

Change-Id: Ic9fda65275ecc01d62dc6f6acefac97c6ce3a68b
Reviewed-by: Christian Kandeler <christian.kandeler@digia.com>
Prepare for using QT_NO_CAST_FROM/TO_ASCII.

Change-Id: Ib39e49e896cbddf5a5bd851088500991d962355a
Reviewed-by: Christian Kandeler <christian.kandeler@digia.com>