summaryrefslogtreecommitdiffstats
path: root/examples/serialbus/modbus/master/mainwindow.h
diff options
context:
space:
mode:
authorKarsten Heimrich <karsten.heimrich@theqtcompany.com>2015-09-02 12:53:33 +0200
committerAlex Blasche <alexander.blasche@theqtcompany.com>2015-09-07 06:18:00 +0000
commitbb64c9fa3684e59640983ffbde07fa4ff35bedac (patch)
tree6fa1b7bdc9fa427ef271939e9302bff1b65967c0 /examples/serialbus/modbus/master/mainwindow.h
parentb9ba419f899c25ac29d5cf53d11f20f00153d691 (diff)
Example applications improved.
Both example applications, master and slave have now proper controls to control the data. Some shortcomings of the implementation were made apparent and had to be fixed. SlaveWritten signal was not implemented properly and some bugfixes. Change-Id: I852e3a3a84e7cd3de5a32a1a17f2eaeaa75cbd4f Reviewed-by: Karsten Heimrich <karsten.heimrich@theqtcompany.com> Reviewed-by: Alex Blasche <alexander.blasche@theqtcompany.com>
Diffstat (limited to 'examples/serialbus/modbus/master/mainwindow.h')
-rw-r--r--examples/serialbus/modbus/master/mainwindow.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/examples/serialbus/modbus/master/mainwindow.h b/examples/serialbus/modbus/master/mainwindow.h
index 8b17cf1..6599b2f 100644
--- a/examples/serialbus/modbus/master/mainwindow.h
+++ b/examples/serialbus/modbus/master/mainwindow.h
@@ -67,10 +67,12 @@ public slots:
private slots:
void on_pushButton_clicked();
- void on_pushButton_2_clicked();
+ void on_readButton_clicked();
void on_writeButton_clicked();
+ void on_writeTable_currentIndexChanged(const QString &arg1);
+
private:
void init();
void connectDevice(int pluginIndex);