summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatt Vogt <matthew.vogt@jollamobile.com>2014-09-30 09:06:00 +1000
committerRobin Burchell <robin.burchell@viroteck.net>2014-10-04 14:16:28 +0200
commit7fa978d33bd2ef9cd1c345c50a66cef3dd3efa97 (patch)
tree8106eea645c85cfa17b88182b19c91869fc81ca7
parentff39c744903c13e24e3303842e647f5df81cb76a (diff)
Make implementation header private
qprivateimplementationdef_p.h should not be exported as a public hedaer, as it is an implementation detail. Change-Id: Ie03548d15428d467db4b8d084bd7f2a184baac91 Reviewed-by: Robin Burchell <robin.burchell@viroteck.net>
-rw-r--r--src/libraries/qmfclient/qmailinstantiations.cpp2
-rw-r--r--src/libraries/qmfclient/qmfclient.pro2
-rw-r--r--src/libraries/qmfclient/qprivateimplementationdef_p.h (renamed from src/libraries/qmfclient/qprivateimplementationdef.h)0
-rw-r--r--tests/tst_qprivateimplementation/tst_qprivateimplementation.cpp2
4 files changed, 3 insertions, 3 deletions
diff --git a/src/libraries/qmfclient/qmailinstantiations.cpp b/src/libraries/qmfclient/qmailinstantiations.cpp
index 9167e654..fa4819d3 100644
--- a/src/libraries/qmfclient/qmailinstantiations.cpp
+++ b/src/libraries/qmfclient/qmailinstantiations.cpp
@@ -46,7 +46,7 @@
#include "qmailserviceaction_p.h"
#endif
-#include "qprivateimplementationdef.h"
+#include "qprivateimplementationdef_p.h"
template class QPrivateImplementationPointer<QMailMessageHeaderFieldPrivate>;
template class QPrivatelyImplemented<QMailMessageHeaderFieldPrivate>;
diff --git a/src/libraries/qmfclient/qmfclient.pro b/src/libraries/qmfclient/qmfclient.pro
index 754fdac2..43443a03 100644
--- a/src/libraries/qmfclient/qmfclient.pro
+++ b/src/libraries/qmfclient/qmfclient.pro
@@ -53,7 +53,7 @@ HEADERS += \
qmailthreadlistmodel.h \
qmailthreadsortkey.h \
qprivateimplementation.h \
- qprivateimplementationdef.h \
+ qprivateimplementationdef_p.h \
support/qmailglobal.h \
support/qmaillog.h \
support/qlogsystem.h \
diff --git a/src/libraries/qmfclient/qprivateimplementationdef.h b/src/libraries/qmfclient/qprivateimplementationdef_p.h
index ad1b5121..ad1b5121 100644
--- a/src/libraries/qmfclient/qprivateimplementationdef.h
+++ b/src/libraries/qmfclient/qprivateimplementationdef_p.h
diff --git a/tests/tst_qprivateimplementation/tst_qprivateimplementation.cpp b/tests/tst_qprivateimplementation/tst_qprivateimplementation.cpp
index 5e829abc..7bdb5533 100644
--- a/tests/tst_qprivateimplementation/tst_qprivateimplementation.cpp
+++ b/tests/tst_qprivateimplementation/tst_qprivateimplementation.cpp
@@ -41,7 +41,7 @@
// We're effectively part of the QMF library for this test:
#define QMF_INTERNAL
-#include "qprivateimplementationdef.h"
+#include "private/qprivateimplementationdef_p.h"
#include <QObject>
#include <QString>