diff options
author | Ivan Solovev <ivan.solovev@qt.io> | 2023-02-07 16:15:25 +0100 |
---|---|---|
committer | Ivan Solovev <ivan.solovev@qt.io> | 2023-02-14 14:40:16 +0100 |
commit | b3d43080e17b7bdd8b7e2fe7a2d1fcf1ac4b54ab (patch) | |
tree | 1f9a75555f628bcb5be341dd8bcc8bb41d541889 /examples/serialbus/modbus/custom/modbusclient.h | |
parent | db59ba7847dd3784f9712c903852f3df0c5beeab (diff) |
Modbus Custom Command: update example description
Extend the example description so that it actually highlights the main
features shown in the example.
Also update the example to match the guidelines:
* Do not use Example in the name
* Update screenshot
* add Connectivity category
Task-number: QTBUG-110890
Pick-to: 6.5
Change-Id: Ia406b974967eaa2f5af9b935c4aac6d09253a9ee
Reviewed-by: André Hartmann <aha_1980@gmx.de>
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
Diffstat (limited to 'examples/serialbus/modbus/custom/modbusclient.h')
-rw-r--r-- | examples/serialbus/modbus/custom/modbusclient.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/examples/serialbus/modbus/custom/modbusclient.h b/examples/serialbus/modbus/custom/modbusclient.h index 3cf1457..04fb43d 100644 --- a/examples/serialbus/modbus/custom/modbusclient.h +++ b/examples/serialbus/modbus/custom/modbusclient.h @@ -6,6 +6,7 @@ #ifndef MODBUSCLIENT_H #define MODBUSCLIENT_H +//! [custom_client] class ModbusClient : public QModbusTcpClient { Q_OBJECT @@ -20,5 +21,6 @@ public: private: bool processPrivateResponse(const QModbusResponse &response, QModbusDataUnit *data) override; }; +//! [custom_client] #endif // MODBUSCLIENT_H |