Results 1 to 2 of 2

Thread: Get confused with QNetworkReply::setError

  1. #1
    Join Date
    Dec 2009
    Posts
    12
    Thanks
    3

    Default Get confused with QNetworkReply::setError

    hi all
    I'm a little bit confused with the member function QNetworkReply::setError. According to the SDK doc.

    "Sets the error condition to be errorCode. The human-readable message is set with errorString.

    Calling setError() does not emit the error(QNetworkReply::NetworkError) signal.

    See also error() and errorString().
    "

    Does it mean this memberfunction does not force Qt to generate error code(passed in as parameter), but only set the comprehensible error string to man? Or not?

    Thank you for any good answer.

  2. #2
    Join Date
    Oct 2009
    Posts
    37
    Thanked 4 Times in 4 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11

    Default Re: Get confused with QNetworkReply::setError

    Yes.
    This method is intended for people that make QNetworkReply subclasses, not for "normal" users of QNetworkAccessManager.
    Disclaimer: Although I work on Qt for Nokia, anything I post here is personal

Similar Threads

  1. Newbie - Confused about the central widget
    By N3wb in forum Qt Programming
    Replies: 1
    Last Post: 20th September 2009, 05:46
  2. confused about licenses ...
    By jimmybaeten in forum Installation and Deployment
    Replies: 10
    Last Post: 26th July 2009, 10:56
  3. confused about Qt designer 4.3
    By rishiraj in forum Qt Tools
    Replies: 1
    Last Post: 14th December 2008, 19:13
  4. Little confusion Regarding general Initilizaion.. :confused:
    By kunalnandi in forum General Programming
    Replies: 2
    Last Post: 19th September 2008, 10:06
  5. Confused - QGraphicsItem destructor
    By durbrak in forum Qt Programming
    Replies: 7
    Last Post: 13th February 2008, 20:27

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.