Results 1 to 13 of 13

Thread: what time should I delete the resource

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Sep 2009
    Location
    Wroclaw, Poland
    Posts
    1,394
    Qt products
    Qt4 Qt5
    Platforms
    MacOS X Unix/X11 Windows Android
    Thanked 342 Times in 324 Posts

    Default Re: what time should I delete the resource

    But I still can't figure out what is protected inheritance
    It's a kind of "has-a" relationship with possibility to access protected members of contained object. There is more about it, but maybe better leave it alone for now, just focus on the basics.
    If you are curious: private and protected inheritance

  2. The following user says thank you to stampede for this useful post:

    stereoMatching (21st January 2011)

  3. #2
    Join Date
    Jan 2011
    Posts
    127
    Qt products
    Qt4
    Platforms
    Windows
    Thanks
    42
    Thanked 4 Times in 4 Posts

    Default Re: what time should I delete the resource

    Quote Originally Posted by stampede View Post
    It's a kind of "has-a" relationship with possibility to access protected members of contained object. There is more about it, but maybe better leave it alone for now, just focus on the basics.
    If you are curious: private and protected inheritance
    Thanks, but I don't think I would use any protected inheritance since public inheritance
    and private inheritance(only some extreme cases would be considered) are capable to mimic most of the cases.

Similar Threads

  1. Replies: 5
    Last Post: 19th November 2010, 02:25
  2. Replies: 6
    Last Post: 18th August 2010, 12:52
  3. Replies: 2
    Last Post: 13th May 2009, 10:35
  4. Replies: 4
    Last Post: 19th February 2009, 11:10
  5. When is the best time to delete a QCanvasItem
    By irudkin in forum Qt Programming
    Replies: 12
    Last Post: 8th March 2007, 21:28

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.