summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLaszlo Papp <lpapp@kde.org>2013-02-08 10:10:51 +0000
committerLaszlo Papp <lpapp@kde.org>2013-02-08 11:36:57 +0100
commit2b87c7a2cf4bf9c16fd7447223c2f33d302e4ba3 (patch)
treea61664f61753bb3c1917b256b2c40fe273d2efdb
parent1332bfa51b0a4d33bc6f4720b1297f62dbe45678 (diff)
downloadqtserialport-2b87c7a2cf4bf9c16fd7447223c2f33d302e4ba3.tar.gz
Remove the qserialport-global.h include from private headers
1) It is not necessary. 2) It is the wrong type not following the convention for the includes. 3) More importantly: Private headers should not include something that defines things for public headers, at least for now, like export. Change-Id: Ic79911861b531755c814c274536045f1b0ed6f92 Reviewed-by: Denis Shienkov <denis.shienkov@gmail.com>
-rw-r--r--src/serialport/qserialportinfo_p.h2
-rw-r--r--src/serialport/qttylocker_unix_p.h4
2 files changed, 2 insertions, 4 deletions
diff --git a/src/serialport/qserialportinfo_p.h b/src/serialport/qserialportinfo_p.h
index 7c48ce5..259752e 100644
--- a/src/serialport/qserialportinfo_p.h
+++ b/src/serialport/qserialportinfo_p.h
@@ -44,8 +44,6 @@
#ifndef QSERIALPORTINFO_P_H
#define QSERIALPORTINFO_P_H
-#include "qserialport-global.h"
-
#include <QtCore/qstring.h>
QT_BEGIN_NAMESPACE
diff --git a/src/serialport/qttylocker_unix_p.h b/src/serialport/qttylocker_unix_p.h
index 4e2f55d..9dce5d0 100644
--- a/src/serialport/qttylocker_unix_p.h
+++ b/src/serialport/qttylocker_unix_p.h
@@ -39,11 +39,11 @@
**
****************************************************************************/
+#include <QtCore/qglobal.h>
+
#ifndef TTYLOCKER_UNIX_P_H
#define TTYLOCKER_UNIX_P_H
-#include "qserialport-global.h"
-
QT_BEGIN_NAMESPACE
class QTtyLocker