Convert Profile away from the deprecated KSharedPtr

Review Request #126437 - Created Dec. 20, 2015 and discarded

Shlomi Fish

This converts Profile away from KSharedPtr which is deprecated in KF5. It eliminates some warnings. There is another instance of KSharedPtr in gwenview which I have had more difficulty converting.

I ran ./app/gwenview and everything mostly seems fine. I discovered a small bug in gwenview in the process but it seems to be in
the gwenview from Mageia as well.

Aurélien Gâteau
Albert Astals Cid
Shlomi Fish
Review request changed

Status: Discarded

Change Summary:

The changes here are already available on git master so it can be closed.