Skip to content

Commit

Permalink
Fix typos (#224)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
jogo- authored Jun 7, 2021
1 parent 9b56745 commit f580097
Show file tree
Hide file tree
Showing 7 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ set(CMAKE_CXX_STANDARD 14)

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

#windows build may need to point to boost, moidify with your boost install dir and uncomment
#windows build may need to point to boost, modify with your boost install dir and uncomment
#set(BOOST_ROOT C:/local/boost_1_73_0/)
#set(BOOST_INCLUDE_DIR C:/local/boost_1_73_0/)
#set(BOOST_LIBRARY_DIR C:/local/boost_1_73_0/libs)
Expand Down
4 changes: 2 additions & 2 deletions src/components/qmlexecutor/examples/simple_forwarder.qml
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
import QtQuick 2.0

/*
* This example receives a frame or signal modifies and transmitt it
* This example receives a frame or signal modifies and transmit it
*/

Item {
function frameReceived(frameId, framePayload) {
// Increment frame ID of received CAN
frameId += 1

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

Expand Down
4 changes: 2 additions & 2 deletions src/components/qmlexecutor/examples/simple_timer.qml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ Item {
let view = new DataView(b)

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

CANBusModel.sendFrame(frameId1, b)
Expand All @@ -38,7 +38,7 @@ Item {
let b = new ArrayBuffer(8);
let view = new Uint8Array(b)

// Due to differences in endianess
// Due to differences in endianness
// 0 in the array is number 7 in can frame
// Let's ignore it for now and reverse array at the end
view[0] = payload2 & 0xff
Expand Down
2 changes: 1 addition & 1 deletion src/components/qmlexecutor/gui/qmlexecutorguiimpl.h
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ public slots:
}

/**
* @brief stops cheking for qml file modification
* @brief stops checking for qml file modification
*/
void stopFileModificationChecks()
{
Expand Down
4 changes: 2 additions & 2 deletions src/components/qmlexecutor/gui/qmlexecutorguiint.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ class QMLExecutorGuiInt : public QObject
: QObject(parent){};

/**
* @brief virt dtor to get things working
* @brief virtual dtor to get things working
*/
virtual ~QMLExecutorGuiInt()
{
Expand Down Expand Up @@ -59,7 +59,7 @@ public slots:

signals:
/**
* @brief this signal is emited when qml was loaded
* @brief this signal is emitted when qml was loaded
* @param url url of qml file
*/
void QMLLoaded(const QUrl& url);
Expand Down
2 changes: 1 addition & 1 deletion src/components/qmlexecutor/qmlexecutor.h
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ class QMLExecutor : public QObject, public ComponentInterface {

/**
* @brief sets can bus model used from QML
* @param model can bus model useb from qml
* @param model can bus model used from qml
*/
void setCANBusModel(CANBusModel* model);

Expand Down
6 changes: 3 additions & 3 deletions src/components/qmlexecutor/qmlexecutormodel.h
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ class QMLExecutorModel : public ComponentModel<QMLExecutor, QMLExecutorModel> {
public:
/**
* @brief testing facility
* @return can but model used to interface with QML
* @return can bus model used to interface with QML
*/
CANBusModel* getCANBusModel();

Expand Down Expand Up @@ -113,7 +113,7 @@ public slots:
std::shared_ptr<NodeData> getNextQueuedSignal();

private:
//! Componant stuff
//! Component stuff
std::unique_ptr<NodePainter> _painter;

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

//! can buf model to create interface with QML
//! can bus model to create interface with QML
std::unique_ptr<CANBusModel> _CANBusModel;
};

Expand Down

0 comments on commit f580097

Please sign in to comment.