Results 1 to 2 of 2

Thread: setHandlesChildEvents() obsolete?

  1. #1
    Join Date
    Jul 2014
    Location
    Germany
    Posts
    14
    Thanks
    3
    Qt products
    Qt5
    Platforms
    MacOS X Unix/X11 Windows

    Default setHandlesChildEvents() obsolete?

    Hello!

    I just saw that the setHandlesChildEvents() function is marked obsolete.

    In the help texts the other obsolete functions have a hint what function I should use instead.
    This information is missing here.

    What function or programming style should I use instead?

    Regards
    Sven

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,363
    Thanks
    3
    Thanked 5,012 Times in 4,791 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: setHandlesChildEvents() obsolete?

    I don't know if this is the recommended approach but you can install a scene event filter on child items to handle their events (QGraphicsItem::installSceneEventFilter()).
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


Similar Threads

  1. QGLFramebufferObject obsolete
    By scarecr0w132 in forum Qt Programming
    Replies: 1
    Last Post: 24th December 2014, 09:08
  2. Replies: 5
    Last Post: 30th July 2014, 23:52
  3. How to ensure I do not use obsolete functions?
    By lalesculiviu in forum Qt Programming
    Replies: 2
    Last Post: 15th September 2011, 16:23
  4. Is QWSServer obsolete now?
    By hybrid_snyper in forum Qt for Embedded and Mobile
    Replies: 2
    Last Post: 20th October 2009, 15:05

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
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.