LocationDialog.hpp   LocationDialog.hpp 
skipping to change at line 78 skipping to change at line 78
//! The original names are kept in the user data field of each QComb oBox //! The original names are kept in the user data field of each QComb oBox
//! item. //! item.
void populatePlanetList(); void populatePlanetList();
//! Populates the drop-down list of countries. //! Populates the drop-down list of countries.
//! The displayed names are localized in the current interface langu age. //! The displayed names are localized in the current interface langu age.
//! The original names are kept in the user data field of each QComb oBox //! The original names are kept in the user data field of each QComb oBox
//! item. //! item.
void populateCountryList(); void populateCountryList();
//! Populates the drop-down list of time zones.
//! The displayed names are localized in the current interface langu
age.
//! The original names are kept in the user data field of each QComb
oBox
//! item.
void populateTimeZonesList();
private slots: private slots:
//! Called whenever the StelLocationMgr is updated //! Called whenever the StelLocationMgr is updated
void reloadLocations(); void reloadLocations();
//! To be called when user edits any field //! To be called when user edits any field
void reportEdit(); void reportEdit();
void saveTimeZone();
//! Update the widget to make sure it is synchrone if the location i s changed programmatically //! Update the widget to make sure it is synchrone if the location i s changed programmatically
//! This function should be called repeatidly with e.g. a timer //! This function should be called repeatidly with e.g. a timer
void updateFromProgram(const StelLocation& location); void updateFromProgram(const StelLocation& location);
//! Called when the map is clicked. //! Called when the map is clicked.
//! create new list for places nearby and feed into location list bo x. //! create new list for places nearby and feed into location list bo x.
void setPositionFromMap(double longitude, double latitude); void setPositionFromMap(double longitude, double latitude);
//! Called when the user activates an item from the locations list. //! Called when the user activates an item from the locations list.
void setPositionFromList(const QModelIndex& index); void setPositionFromList(const QModelIndex& index);
skipping to change at line 119 skipping to change at line 127
//! reset city list to complete list (may have been reduced to picke d list) //! reset city list to complete list (may have been reduced to picke d list)
void resetCompleteList(); void resetCompleteList();
//! called when the user wants get location from network //! called when the user wants get location from network
void ipQueryLocation(bool state); void ipQueryLocation(bool state);
//! Called when the user wants to use the current location as defaul t //! Called when the user wants to use the current location as defaul t
void setDefaultLocation(bool state); void setDefaultLocation(bool state);
//! Updates the check state and the enabled/disabled status.
void updateTimeZoneControls(bool useCustomTimeZone);
private: private:
QString lastPlanet; QString lastPlanet;
QString customTimeZone;
QStringListModel* allModel; QStringListModel* allModel;
QStringListModel* pickedModel; QStringListModel* pickedModel;
QSortFilterProxyModel *proxyModel; QSortFilterProxyModel *proxyModel;
//! Updates the check state and the enabled/disabled status. //! Updates the check state and the enabled/disabled status.
void updateDefaultLocationControls(bool currentIsDefault); void updateDefaultLocationControls(bool currentIsDefault);
}; };
#endif // _LOCATIONDIALOG_HPP_ #endif // _LOCATIONDIALOG_HPP_
 End of changes. 5 change blocks. 
0 lines changed or deleted 15 lines changed or added

This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/