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
|
@ -22,7 +22,7 @@ void qPrefFacebook::set_access_token(const QString &value)
|
|||
{
|
||||
if (value != prefs.facebook.access_token) {
|
||||
qPrefPrivate::copy_txt(&prefs.facebook.access_token, value);
|
||||
emit instance()->access_token_changed(value);
|
||||
emit instance()->access_tokenChanged(value);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -30,7 +30,7 @@ void qPrefFacebook::set_album_id(const QString &value)
|
|||
{
|
||||
if (value != prefs.facebook.album_id) {
|
||||
qPrefPrivate::copy_txt(&prefs.facebook.album_id, value);
|
||||
emit instance()->album_id_changed(value);
|
||||
emit instance()->album_idChanged(value);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -38,6 +38,6 @@ void qPrefFacebook::set_user_id(const QString &value)
|
|||
{
|
||||
if (value != prefs.facebook.user_id) {
|
||||
qPrefPrivate::copy_txt(&prefs.facebook.user_id, value);
|
||||
emit instance()->access_token_changed(value);
|
||||
emit instance()->access_tokenChanged(value);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue