summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/bluetooth/qlowenergycontroller_win_p.h16
1 files changed, 6 insertions, 10 deletions
diff --git a/src/bluetooth/qlowenergycontroller_win_p.h b/src/bluetooth/qlowenergycontroller_win_p.h
index 829e190c..f8e3b10a 100644
--- a/src/bluetooth/qlowenergycontroller_win_p.h
+++ b/src/bluetooth/qlowenergycontroller_win_p.h
@@ -74,8 +74,6 @@ public:
QVariant data;
};
-Q_DECLARE_METATYPE(ThreadWorkerJob)
-
struct WriteCharData
{
QByteArray newValue;
@@ -86,8 +84,6 @@ struct WriteCharData
int systemErrorCode;
};
-Q_DECLARE_METATYPE(WriteCharData)
-
struct ReadCharData
{
QByteArray value;
@@ -96,8 +92,6 @@ struct ReadCharData
int systemErrorCode;
};
-Q_DECLARE_METATYPE(ReadCharData)
-
struct WriteDescData
{
QByteArray newValue;
@@ -106,8 +100,6 @@ struct WriteDescData
int systemErrorCode;
};
-Q_DECLARE_METATYPE(WriteDescData)
-
struct ReadDescData
{
QByteArray value;
@@ -116,8 +108,6 @@ struct ReadDescData
int systemErrorCode;
};
-Q_DECLARE_METATYPE(ReadDescData)
-
class ThreadWorker : public QObject
{
Q_OBJECT
@@ -186,4 +176,10 @@ private:
QT_END_NAMESPACE
+Q_DECLARE_METATYPE(ThreadWorkerJob)
+Q_DECLARE_METATYPE(WriteCharData)
+Q_DECLARE_METATYPE(ReadCharData)
+Q_DECLARE_METATYPE(WriteDescData)
+Q_DECLARE_METATYPE(ReadDescData)
+
#endif // QLOWENERGYCONTROLLERPRIVATE_WIN32__P_H