Skip to content

Commit f580097

Browse files
authored
Fix typos (#224)
* Fix typo in CMakeLists.txt * Fix typos in simple_forwarder.qml * Fix typos in simple_timer.qml * Fix typo in qmlexecutorguiimpl.h * Fix typo in qmlexecutorguiint.h * Fix typo in qmlexecutor.h * Fix typos in qmlexecutormodel.h
1 parent 9b56745 commit f580097

File tree

7 files changed

+12
-12
lines changed

7 files changed

+12
-12
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ set(CMAKE_CXX_STANDARD 14)
1414

1515
list(APPEND CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake/Modules)
1616

17-
#windows build may need to point to boost, moidify with your boost install dir and uncomment
17+
#windows build may need to point to boost, modify with your boost install dir and uncomment
1818
#set(BOOST_ROOT C:/local/boost_1_73_0/)
1919
#set(BOOST_INCLUDE_DIR C:/local/boost_1_73_0/)
2020
#set(BOOST_LIBRARY_DIR C:/local/boost_1_73_0/libs)

src/components/qmlexecutor/examples/simple_forwarder.qml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
import QtQuick 2.0
22

33
/*
4-
* This example receives a frame or signal modifies and transmitt it
4+
* This example receives a frame or signal modifies and transmit it
55
*/
66

77
Item {
88
function frameReceived(frameId, framePayload) {
99
// Increment frame ID of received CAN
1010
frameId += 1
1111

12-
// LogWindow is QPlainTextEdit widget exsposed to QML
12+
// LogWindow is QPlainTextEdit widget exposed to QML
1313
// You can use it to append text or control its visibility
1414
LogWindow.appendPlainText("Frame: " + frameId + " Forwarded")
1515

src/components/qmlexecutor/examples/simple_timer.qml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ Item {
2727
let view = new DataView(b)
2828

2929
// x86 architecture is little endian.
30-
// Indicate that we want to store vale using big endian (3rd argument)
30+
// Indicate that we want to store value using big endian (3rd argument)
3131
view.setUint32(0, payload1++, false)
3232

3333
CANBusModel.sendFrame(frameId1, b)
@@ -38,7 +38,7 @@ Item {
3838
let b = new ArrayBuffer(8);
3939
let view = new Uint8Array(b)
4040

41-
// Due to differences in endianess
41+
// Due to differences in endianness
4242
// 0 in the array is number 7 in can frame
4343
// Let's ignore it for now and reverse array at the end
4444
view[0] = payload2 & 0xff

src/components/qmlexecutor/gui/qmlexecutorguiimpl.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ public slots:
153153
}
154154

155155
/**
156-
* @brief stops cheking for qml file modification
156+
* @brief stops checking for qml file modification
157157
*/
158158
void stopFileModificationChecks()
159159
{

src/components/qmlexecutor/gui/qmlexecutorguiint.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ class QMLExecutorGuiInt : public QObject
2626
: QObject(parent){};
2727

2828
/**
29-
* @brief virt dtor to get things working
29+
* @brief virtual dtor to get things working
3030
*/
3131
virtual ~QMLExecutorGuiInt()
3232
{
@@ -59,7 +59,7 @@ public slots:
5959

6060
signals:
6161
/**
62-
* @brief this signal is emited when qml was loaded
62+
* @brief this signal is emitted when qml was loaded
6363
* @param url url of qml file
6464
*/
6565
void QMLLoaded(const QUrl& url);

src/components/qmlexecutor/qmlexecutor.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ class QMLExecutor : public QObject, public ComponentInterface {
8686

8787
/**
8888
* @brief sets can bus model used from QML
89-
* @param model can bus model useb from qml
89+
* @param model can bus model used from qml
9090
*/
9191
void setCANBusModel(CANBusModel* model);
9292

src/components/qmlexecutor/qmlexecutormodel.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ class QMLExecutorModel : public ComponentModel<QMLExecutor, QMLExecutorModel> {
5656
public:
5757
/**
5858
* @brief testing facility
59-
* @return can but model used to interface with QML
59+
* @return can bus model used to interface with QML
6060
*/
6161
CANBusModel* getCANBusModel();
6262

@@ -113,7 +113,7 @@ public slots:
113113
std::shared_ptr<NodeData> getNextQueuedSignal();
114114

115115
private:
116-
//! Componant stuff
116+
//! Component stuff
117117
std::unique_ptr<NodePainter> _painter;
118118

119119
//! ST queue to buffer frames to send
@@ -122,7 +122,7 @@ public slots:
122122
//! ST queue to buffer signals to send
123123
std::deque<CanSignalModel> _signalSendQueue;
124124

125-
//! can buf model to create interface with QML
125+
//! can bus model to create interface with QML
126126
std::unique_ptr<CANBusModel> _CANBusModel;
127127
};
128128

0 commit comments

Comments
 (0)