From b3d43080e17b7bdd8b7e2fe7a2d1fcf1ac4b54ab Mon Sep 17 00:00:00 2001 From: Ivan Solovev Date: Tue, 7 Feb 2023 16:15:25 +0100 Subject: Modbus Custom Command: update example description MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Reviewed-by: Alex Blasche --- examples/serialbus/modbus/custom/modbusclient.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'examples/serialbus/modbus/custom/modbusclient.h') 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 -- cgit v1.2.3