summaryrefslogtreecommitdiff
path: root/examples/blockingslave
diff options
context:
space:
mode:
authorLaszlo Papp <lpapp@kde.org>2013-02-07 13:05:19 +0000
committerLaszlo Papp <lpapp@kde.org>2013-02-07 16:16:46 +0100
commit99ddb55a4dc4be988ed09c9b376aef4b0a1f4079 (patch)
tree2a48102f397fd9417808c71a4a2c7b98f4d675eb /examples/blockingslave
parent6a19f9af432975cd3a354c466b1511b4a34b907c (diff)
downloadqtserialport-99ddb55a4dc4be988ed09c9b376aef4b0a1f4079.tar.gz
Remove the QtSerialPort namespace define and hence namespace usage
* This is for following the convention in the Qt Project with the rest. * This fixes examples and tests to build now as all of them are broken due to the regression. Change-Id: I3f4d64d97466520aea621da582a64a0d97e32136 Reviewed-by: Denis Shienkov <denis.shienkov@gmail.com>
Diffstat (limited to 'examples/blockingslave')
-rw-r--r--examples/blockingslave/dialog.cpp2
-rw-r--r--examples/blockingslave/slavethread.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/examples/blockingslave/dialog.cpp b/examples/blockingslave/dialog.cpp
index 947de74..9bdbbf6 100644
--- a/examples/blockingslave/dialog.cpp
+++ b/examples/blockingslave/dialog.cpp
@@ -50,7 +50,7 @@
#include <QtSerialPort/QSerialPortInfo>
-QT_USE_NAMESPACE_SERIALPORT
+QT_USE_NAMESPACE
Dialog::Dialog(QWidget *parent)
: QDialog(parent)
diff --git a/examples/blockingslave/slavethread.cpp b/examples/blockingslave/slavethread.cpp
index 678c19f..9b49edb 100644
--- a/examples/blockingslave/slavethread.cpp
+++ b/examples/blockingslave/slavethread.cpp
@@ -45,7 +45,7 @@
#include <QTime>
-QT_USE_NAMESPACE_SERIALPORT
+QT_USE_NAMESPACE
SlaveThread::SlaveThread(QObject *parent)
: QThread(parent), waitTimeout(0), quit(false)