summaryrefslogtreecommitdiffstats
path: root/backend-shared/plannershared.h
diff options
context:
space:
mode:
authorGravatar jan Iversen <jan@casacondor.com>2020-01-02 11:55:27 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2020-01-04 10:56:55 -0800
commit80be2b570b81ff5997f9412fd1206164c60e5b36 (patch)
tree6da31a36b71a102e638a57cdfe08cae2b4279177 /backend-shared/plannershared.h
parent347a002923978f39d6252eb136403588f369a8d2 (diff)
downloadsubsurface-80be2b570b81ff5997f9412fd1206164c60e5b36.tar.gz
backend-shared: add slot to detect switch METER <-> FEET
This allows to update plannermodel etc. and thus avoiding a restart when changing units for length. Signed-off-by: Jan Iversen <jan@casacondor.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'backend-shared/plannershared.h')
-rw-r--r--backend-shared/plannershared.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/backend-shared/plannershared.h b/backend-shared/plannershared.h
index 33c280aa2..4add244a2 100644
--- a/backend-shared/plannershared.h
+++ b/backend-shared/plannershared.h
@@ -174,8 +174,11 @@ signals:
void verbatim_planChanged(bool value);
void display_variationsChanged(bool value);
+private slots:
+ static void unit_lengthChangedSlot(int value);
+
private:
- plannerShared() {}
+ plannerShared();
};
#endif // PLANNERSHARED_H