ソースを参照

Fix typography

Neal Wilson 11年前
コミット
98e24d5c96
1個のファイルの変更4行の追加4行の削除
  1. 4
    4
      src/typica.w

+ 4
- 4
src/typica.w ファイルの表示

14733
 }
14733
 }
14734
 
14734
 
14735
 @ Some additional work is needed to handle |QModelIndex| appropriately. First
14735
 @ Some additional work is needed to handle |QModelIndex| appropriately. First
14736
-we declare |QModelIndex| as a metatype.
14736
+we declare that as a metatype.
14737
 
14737
 
14738
 @<Class declarations@>=
14738
 @<Class declarations@>=
14739
 Q_DECLARE_METATYPE(QModelIndex)
14739
 Q_DECLARE_METATYPE(QModelIndex)
15060
                                constructor);
15060
                                constructor);
15061
 engine->globalObject().setProperty("DeviceConfigurationWindow", value);
15061
 engine->globalObject().setProperty("DeviceConfigurationWindow", value);
15062
 
15062
 
15063
-@* A Common Base Class for Device Configuration Widgets.
15063
+@* A Base Class for Device Configuration Widgets.
15064
 
15064
 
15065
 \noindent There are certain operations that are very commonly required
15065
 \noindent There are certain operations that are very commonly required
15066
 among device configuration widgets. These common elements have been implemented
15066
 among device configuration widgets. These common elements have been implemented
15105
 		deviceModel->data(currentNode, Qt::UserRole).toString());
15105
 		deviceModel->data(currentNode, Qt::UserRole).toString());
15106
 	QDomNodeList configData = referenceElement.elementsByTagName("attribute");
15106
 	QDomNodeList configData = referenceElement.elementsByTagName("attribute");
15107
 	QDomElement node;
15107
 	QDomElement node;
15108
-	bool found = false;
15108
+	bool found = @[false@];
15109
 	for(int i = 0; i < configData.size(); i++)
15109
 	for(int i = 0; i < configData.size(); i++)
15110
 	{
15110
 	{
15111
 		node = configData.at(i).toElement();
15111
 		node = configData.at(i).toElement();
15112
 		if(node.attribute("name") == name)
15112
 		if(node.attribute("name") == name)
15113
 		{
15113
 		{
15114
 			node.setAttribute("value", value);
15114
 			node.setAttribute("value", value);
15115
-			found = true;
15115
+			found = @[true@];
15116
 			break;
15116
 			break;
15117
 		}
15117
 		}
15118
 	}
15118
 	}

読み込み中…
キャンセル
保存