diff options
author | Karsten Heimrich <karsten.heimrich@qt.io> | 2018-04-20 16:50:36 +0200 |
---|---|---|
committer | Karsten Heimrich <karsten.heimrich@qt.io> | 2018-04-22 20:43:42 +0000 |
commit | 7a8c35f07482f78dafec8d422116973171c2c2d3 (patch) | |
tree | 9d5bf725d77a895c97402d7b4441c4c88ab931d4 /examples | |
parent | dd3e5e4049dabf64fcea474668ce114543e806a2 (diff) |
Make the QKnxTpduFactory private, since it's not use anywhere
Change-Id: I9ea4f5d1f4b74cae71c333b39c20f481fbd605d5
Reviewed-by: Karsten Heimrich <karsten.heimrich@qt.io>
Diffstat (limited to 'examples')
-rw-r--r-- | examples/knx/demo/demo.pro | 2 | ||||
-rw-r--r-- | examples/knx/demo/demodatapoint.cpp | 2 | ||||
-rw-r--r-- | examples/knx/demo/utils.h | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/examples/knx/demo/demo.pro b/examples/knx/demo/demo.pro index c1e5401..8b28615 100644 --- a/examples/knx/demo/demo.pro +++ b/examples/knx/demo/demo.pro @@ -1,6 +1,6 @@ TEMPLATE = app -QT += qml quick knx +QT += qml quick knx knx-private CONFIG += c++11 # The following define makes your compiler emit warnings if you use diff --git a/examples/knx/demo/demodatapoint.cpp b/examples/knx/demo/demodatapoint.cpp index 25aa618..710a6e0 100644 --- a/examples/knx/demo/demodatapoint.cpp +++ b/examples/knx/demo/demodatapoint.cpp @@ -53,8 +53,8 @@ #include <QtCore/QTimer> #include <QtGui/QColor> #include <QtKnx/QKnxTpdu> -#include <QtKnx/QKnxTpduFactory> #include <QtKnx/QKnxLinkLayerFrame> +#include <QtKnx/private/qknxtpdufactory_p.h> const QKnxByteArray DemoDataPoint::BytesOn { 0x01 }; const QKnxByteArray DemoDataPoint::BytesOff { 0x00 }; diff --git a/examples/knx/demo/utils.h b/examples/knx/demo/utils.h index 626cb37..32ff003 100644 --- a/examples/knx/demo/utils.h +++ b/examples/knx/demo/utils.h @@ -54,7 +54,7 @@ #include "demodatapoint.h" #include <QtKnx/QKnxAddress> -#include <QtKnx/QKnxTpduFactory> +#include <QtKnx/private/qknxtpdufactory_p.h> QKnxLinkLayerFrame createRequestFrame(const QKnxAddress &address, const QKnxTpdu &tpdu, quint8 ctrl = 0xac, quint8 extCtrl = 0xe0) |