Browse Source

Fix typography

Neal Wilson 11 years ago
parent
commit
f62d82ce69
1 changed files with 5 additions and 5 deletions
  1. 5
    5
      src/typica.w

+ 5
- 5
src/typica.w View File

7355
 @<Class declarations@>=
7355
 @<Class declarations@>=
7356
 class ZeroEmitter : public QObject@/
7356
 class ZeroEmitter : public QObject@/
7357
 {@t\1@>@/
7357
 {@t\1@>@/
7358
-	Q_OBJECT@;
7359
-	Q_PROPERTY(int column READ column WRITE setColumn)
7358
+	@[Q_OBJECT@]@;
7359
+	@[Q_PROPERTY(int column READ column WRITE setColumn)@]@;
7360
 	Measurement cache;
7360
 	Measurement cache;
7361
 	int col;
7361
 	int col;
7362
 	public:@/
7362
 	public:@/
7672
 {
7672
 {
7673
 	if(settings.value("settings/graph/relative/enable").toBool())
7673
 	if(settings.value("settings/graph/relative/enable").toBool())
7674
 	{
7674
 	{
7675
-		relativeEnabled = true;
7675
+		relativeEnabled = @[true@];
7676
 		QColor relativeColor = QColor(settings.value("settings/graph/relative/color").toString());
7676
 		QColor relativeColor = QColor(settings.value("settings/graph/relative/color").toString());
7677
-		QString unit = QString(settings.value("settings/graph/relative/unit").toInt() == 0 ? "F" : "C");
7677
+		QString unit = QString(settings.value(@|"settings/graph/relative/unit").toInt() == 0 ? "F" : "C");
7678
 		QMap<double, QString> relativeAxisPairs;
7678
 		QMap<double, QString> relativeAxisPairs;
7679
-		QStringList relativeAxisLabels = settings.value("settings/graph/relative/grid").toString().split(QRegExp("[\\s,]+"), QString::SkipEmptyParts);
7679
+		QStringList relativeAxisLabels = settings.value(@|"settings/graph/relative/grid").toString().split(QRegExp("[\\s,]+"), QString::SkipEmptyParts);
7680
 		foreach(QString item, relativeAxisLabels)
7680
 		foreach(QString item, relativeAxisLabels)
7681
 		{
7681
 		{
7682
 			relativeAxisPairs.insert(item.toDouble(), item);
7682
 			relativeAxisPairs.insert(item.toDouble(), item);

Loading…
Cancel
Save