m_friendsListPanel, SLOT(showFriendsInList(QList<QString>)));
connect(m_friendsListPanel, SIGNAL(findFriend(GeoCoordinate)),
- this, SIGNAL(findFriend(GeoCoordinate)));
+ this, SIGNAL(centerToCoordinates(GeoCoordinate)));
connect(this, SIGNAL(friendImageReady(User*)),
m_friendsListPanel, SLOT(friendImageReady(User*)));
connect(m_routingPanel, SIGNAL(routeToLocation(const GeoCoordinate&)),
this, SIGNAL(routeTo(const GeoCoordinate&)));
+
+ connect(this, SIGNAL(routeParsed(Route&)),
+ m_routingPanel, SLOT(setRoute(Route&)));
+
+ connect(m_routingPanel, SIGNAL(routeWaypointItemClicked(GeoCoordinate)),
+ this, SIGNAL(centerToCoordinates(GeoCoordinate)));
}
void MainWindow::buildUserInfoPanel()
m_userInfoPanel, SIGNAL(clearUpdateLocationDialogData()));
connect(m_userInfoPanel, SIGNAL(findUser(GeoCoordinate)),
- this, SIGNAL(findUser(GeoCoordinate)));
+ this, SIGNAL(centerToCoordinates(GeoCoordinate)));
connect(m_userInfoPanel, SIGNAL(requestReverseGeo()),
this, SIGNAL(requestReverseGeo()));