On Thu, Apr 17, 2008 at 05:21:15PM +0200, Peter Kümmel wrote: > Andre Poenitz wrote: >> On Wed, Apr 16, 2008 at 10:58:43PM +0200, Peter Kümmel wrote: >>> Andre Poenitz wrote: >>>> Why don't the stored menus simply get a QObject parent? >>> Any idea to remove here shared_ptr? >> Use std::auto_ptr? >> Andre' > > OK, or scoped_ptr, but I wonder if there is Qt way.
std::auto_ptr is part of C++, it's perfectly legal to use it. I am not aware of a Qt class duplicating it. Andre'