Support Qt4's QSharedPointer interface