Neal Wilson 11 gadus atpakaļ
vecāks
revīzija
e0bd72defc
1 mainītis faili ar 5 papildinājumiem un 5 dzēšanām
  1. 5
    5
      src/measurement.w

+ 5
- 5
src/measurement.w Parādīt failu

@@ -17,10 +17,10 @@ As |QVariantMap| is implicitly shared and |Measurement| adds no new data
17 17
 members we no longer require copy and assignment operators.
18 18
 
19 19
 @<Class declarations@>=
20
-class Measurement : public QVariantMap
21
-{
22
-	public:
23
-		Measurement(double temperature = 0, QTime time = QTime(),
20
+class Measurement : public QVariantMap@/
21
+{@t\1@>@/
22
+	public:@/
23
+		Measurement(double temperature = 0, QTime time = QTime(),@|
24 24
                     Units::Unit sc = Units::Fahrenheit);
25 25
 		Measurement(double temperature);
26 26
 		double temperature() const;
@@ -32,7 +32,7 @@ class Measurement : public QVariantMap
32 32
 		Measurement toFahrenheit();
33 33
 		Measurement toCelsius();
34 34
 		Measurement toKelvin();
35
-		Measurement toRankine();
35
+		Measurement toRankine();@t\2@>@/
36 36
 };
37 37
 
38 38
 @ Time, measured value, and unit are stored at well known keys.

Notiek ielāde…
Atcelt
Saglabāt