Results 1 to 9 of 9

Thread: void QWebView::loadFinished(bool ok) ok is always false

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #3
    Join Date
    Sep 2016
    Posts
    4
    Qt products
    Qt/Embedded
    Platforms
    Unix/X11

    Default Re: void QWebView::loadFinished(bool ok) ok is always false

    Quote Originally Posted by anda_skoa View Post
    The values transported by a signal are specified at the point of emit.

    Somewhere the code of "this" has an emit loadFinished() and the value passed to that loadFinished() is the one you are receiving in the slot.

    Cheers,
    _
    From the code it is not clear where the value of 'ok' is initialized to false. It is not clear where the value of 'ok' passed to loadFinished and finishedLoadNotification is set to false. Can you please help me where the value of 'ok' passed to finishedLoadNotification is set to false?


    Added after 32 minutes:


    Quote Originally Posted by anda_skoa View Post
    The values transported by a signal are specified at the point of emit.

    Somewhere the code of "this" has an emit loadFinished() and the value passed to that loadFinished() is the one you are receiving in the slot.

    Cheers,
    _
    The signal is emitted by the QT framework. We are not emitting the signal in the code. Hence we are not able to find out where the value of ok is set to false. Can you share your feedback?
    Last edited by mspms; 26th September 2016 at 13:26.

Similar Threads

  1. QWevView loadFinished iframes
    By Ini in forum Qt Programming
    Replies: 0
    Last Post: 26th January 2016, 18:22
  2. loadFinished() signal not emitted
    By sujan.dasmahapatra in forum Qt Programming
    Replies: 0
    Last Post: 27th June 2013, 12:21
  3. QWebpage always return false for signal loadfinished
    By QtVenkat in forum Qt Programming
    Replies: 0
    Last Post: 4th June 2010, 20:50
  4. Replies: 4
    Last Post: 28th April 2010, 09:50
  5. diffrence between void and virtual void
    By raphaelf in forum General Programming
    Replies: 2
    Last Post: 23rd February 2006, 13:58

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.