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
|
@ -8,8 +8,8 @@
|
|||
|
||||
class qPrefLocationService : public QObject {
|
||||
Q_OBJECT
|
||||
Q_PROPERTY(int distance_threshold READ distance_threshold WRITE set_distance_threshold NOTIFY distance_threshold_changed);
|
||||
Q_PROPERTY(int time_threshold READ time_threshold WRITE set_time_threshold NOTIFY time_threshold_changed);
|
||||
Q_PROPERTY(int distance_threshold READ distance_threshold WRITE set_distance_threshold NOTIFY distance_thresholdChanged);
|
||||
Q_PROPERTY(int time_threshold READ time_threshold WRITE set_time_threshold NOTIFY time_thresholdChanged);
|
||||
|
||||
public:
|
||||
qPrefLocationService(QObject *parent = NULL);
|
||||
|
@ -29,8 +29,8 @@ public slots:
|
|||
static void set_time_threshold(int value);
|
||||
|
||||
signals:
|
||||
void distance_threshold_changed(int value);
|
||||
void time_threshold_changed(int value);
|
||||
void distance_thresholdChanged(int value);
|
||||
void time_thresholdChanged(int value);
|
||||
|
||||
|
||||
private:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue