diff options
author | Karsten Heimrich <karsten.heimrich@theqtcompany.com> | 2015-09-08 14:35:42 +0200 |
---|---|---|
committer | Alex Blasche <alexander.blasche@theqtcompany.com> | 2015-09-11 10:16:23 +0000 |
commit | 036c33da713fda3c17585a48de6d8d1ae67770ef (patch) | |
tree | 300a75957f9c0dd6641a1ce568f2f6127a915347 /examples/serialbus/modbus/master/mainwindow.h | |
parent | d1d2345730efe0079713ab50727ef15613cb8492 (diff) |
Some fixes for namespace compiled Qt.
Change-Id: Ib3fd1d28f68cc6d7afd4138882e03a709cfc7a0a
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.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/examples/serialbus/modbus/master/mainwindow.h b/examples/serialbus/modbus/master/mainwindow.h index 6599b2f..d90b00d 100644 --- a/examples/serialbus/modbus/master/mainwindow.h +++ b/examples/serialbus/modbus/master/mainwindow.h @@ -45,12 +45,16 @@ #include <QtSerialBus> #include <QPointer> +QT_BEGIN_NAMESPACE + class QSerialPort; namespace Ui { class MainWindow; } +QT_END_NAMESPACE + class MainWindow : public QMainWindow { Q_OBJECT |