Replaced std::auto_ptr<QImage> with std::tr1::shared_ptr<QImage> in QtImage class