PDA

View Full Version : Question about QNetworkAccessManager??



ram4soft
13th March 2011, 14:42
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

wysota
13th March 2011, 17:53
You can have a singleton returning an instance of QNAM.