PDA

View Full Version : Waiting WebKit



giusepped
13th May 2009, 04:40
I have this problem.
I use webkit to get the coordinates of a city by means of google maps.
The problem is that the calling class must wait until the coordinates are valid.
Suppose that I have the MainWindow class and the Map class.
MainWindow calls some Map method, for example Map.getCoordinates().
The problem is : hot I can tell to MainWindow to wait until a certain condition is met (i.e. the coordinates are valid)? After this condition, I can use Map.getCoordinates...
:confused: