Results 1 to 2 of 2

Thread: Question about QNetworkAccessManager??

  1. #1
    Join Date
    Feb 2011
    Posts
    23
    Qt products
    Qt4
    Platforms
    Symbian S60 Maemo/MeeGo

    Default Question about QNetworkAccessManager??

    Hi,
    my application uses QNetworkAccessManager to handle the internet connections and it uses it in different classes. so i may create many objects from that class
    My question here is how can i create only one object for the whole application
    please try to state some way to do that and call it everywhere
    thanks
    Ram

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

    Default Re: Question about QNetworkAccessManager??

    You can have a singleton returning an instance of QNAM.
    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. QNetworkAccessManager property question
    By waynew in forum Newbie
    Replies: 3
    Last Post: 1st December 2010, 12:01
  2. QNetworkAccessManager and redirections
    By alexandernst in forum Qt Programming
    Replies: 33
    Last Post: 22nd September 2010, 20:05
  3. Replies: 2
    Last Post: 18th June 2010, 12:04
  4. sending soap request using QNetworkAccessManager question
    By babymonsta in forum Qt Programming
    Replies: 10
    Last Post: 21st April 2010, 08:55
  5. QNetworkAccessManager question
    By _Stefan in forum Qt Programming
    Replies: 1
    Last Post: 5th March 2010, 13:21

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.