Results 1 to 3 of 3

Thread: Qt::Accepted in Qt 5.0

  1. #1
    Join Date
    May 2013
    Location
    Georgia,Tbilisi
    Posts
    32
    Thanks
    7
    Qt products
    Qt5
    Platforms
    Unix/X11 Windows

    Question Qt::Accepted in Qt 5.0

    Hi.
    I'm reading Johan Thelin's book Foundation of Qt Development and I read such code:
    Capture.JPG

    But in Qt 5.1, Qt::Accepted is deprecated. What I have to do to replace Qt::Accepted?
    I tried QDialog::Accepted but doesn't work.

  2. #2
    Join Date
    Jan 2006
    Location
    Graz, Austria
    Posts
    8,416
    Thanks
    37
    Thanked 1,544 Times in 1,494 Posts
    Qt products
    Qt3 Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default Re: Qt::Accepted in Qt 5.0

    QDialog::Accepted should work. Have used that thousands of times myself

    Cheers,
    _

  3. The following user says thank you to anda_skoa for this useful post:

    Higgs (14th February 2014)

  4. #3
    Join Date
    May 2013
    Location
    Georgia,Tbilisi
    Posts
    32
    Thanks
    7
    Qt products
    Qt5
    Platforms
    Unix/X11 Windows

    Default Re: Qt::Accepted in Qt 5.0

    Quote Originally Posted by anda_skoa View Post
    QDialog::Accepted should work. Have used that thousands of times myself

    Cheers,
    _
    Ah,yes I had other problem and thought it was problem with QDialog::Accepted

    Thanks

Similar Threads

  1. Replies: 7
    Last Post: 20th March 2014, 07:43
  2. Replies: 11
    Last Post: 5th May 2011, 14:05
  3. accepted() alternative
    By hojoff79 in forum Qt Programming
    Replies: 2
    Last Post: 19th January 2011, 02:19
  4. Why Yahoo & Gmail e-mail accounts are not accepted???
    By pat in forum Introduction to Qt
    Replies: 7
    Last Post: 20th May 2008, 17:16

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.