mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
core/setting: change *_changed to *Changed for the sake of QML.
QML demands signals to be of the form <name>Changed Changing all of qPref REMARK: this commit is not compileable, since it only change qPref and not the rest of the system Signed-off-by: Jan Iversen <jani@apache.org>
This commit is contained in:
parent
740fcce338
commit
c72add5721
22 changed files with 302 additions and 302 deletions
|
|
@ -26,7 +26,7 @@ void qPrefGeocoding::set_first_taxonomy_category(taxonomy_category value)
|
|||
if (value != prefs.geocoding.category[0]) {
|
||||
prefs.geocoding.category[0] = value;
|
||||
disk_first_taxonomy_category(true);
|
||||
emit instance()->first_taxonomy_category_changed(value);
|
||||
emit instance()->first_taxonomy_categoryChanged(value);
|
||||
}
|
||||
}
|
||||
void qPrefGeocoding::disk_first_taxonomy_category(bool doSync)
|
||||
|
|
@ -43,7 +43,7 @@ void qPrefGeocoding::set_second_taxonomy_category(taxonomy_category value)
|
|||
if (value != prefs.geocoding.category[1]) {
|
||||
prefs.geocoding.category[1] = value;
|
||||
disk_second_taxonomy_category(true);
|
||||
emit instance()->second_taxonomy_category_changed(value);
|
||||
emit instance()->second_taxonomy_categoryChanged(value);
|
||||
}
|
||||
}
|
||||
void qPrefGeocoding::disk_second_taxonomy_category(bool doSync)
|
||||
|
|
@ -60,7 +60,7 @@ void qPrefGeocoding::set_third_taxonomy_category(taxonomy_category value)
|
|||
if (value != prefs.geocoding.category[2]) {
|
||||
prefs.geocoding.category[2] = value;
|
||||
disk_third_taxonomy_category(true);
|
||||
emit instance()->third_taxonomy_category_changed(value);
|
||||
emit instance()->third_taxonomy_categoryChanged(value);
|
||||
}
|
||||
}
|
||||
void qPrefGeocoding::disk_third_taxonomy_category(bool doSync)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue