Results 1 to 4 of 4

Thread: Receiving reply from page

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Mar 2009
    Posts
    29
    Thanks
    14
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Receiving reply from page

    I looking for some method of reciving reply from page instead of EventLoop, like here:
    Qt Code:
    1. bool Engine::connection(){
    2. request.setUrl(QUrl(sUrl));
    3. reply = manager->get(request);
    4. connect(reply, SIGNAL(readyRead()), eventLoop, SLOT(quit()));
    5. eventLoop->exec();
    6. //read reply
    7. return reply->error() ? false : true;
    8. }
    To copy to clipboard, switch view to plain text mode 
    How can I read it in a different way without using new slot?
    I also tried waitForReadyRead function, but it doeasn't work.
    Last edited by Trok; 29th September 2011 at 13:11.

Similar Threads

  1. Load a simple Page after the Main Page.
    By mrhevor in forum Qt Quick
    Replies: 1
    Last Post: 27th September 2011, 11:32
  2. QTabWidget remove a page at the page's request
    By thomaspu in forum Qt Programming
    Replies: 2
    Last Post: 29th December 2007, 21:45

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.