summaryrefslogtreecommitdiffstats
path: root/tests/auto/qmultimedia_common/mockcameraservice.h
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/qmultimedia_common/mockcameraservice.h')
-rw-r--r--tests/auto/qmultimedia_common/mockcameraservice.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/auto/qmultimedia_common/mockcameraservice.h b/tests/auto/qmultimedia_common/mockcameraservice.h
index c51f75f5e..ea0620a13 100644
--- a/tests/auto/qmultimedia_common/mockcameraservice.h
+++ b/tests/auto/qmultimedia_common/mockcameraservice.h
@@ -56,7 +56,7 @@
#include "../qmultimedia_common/mockvideosurface.h"
#include "../qmultimedia_common/mockvideorenderercontrol.h"
-#if defined(QT_MULTIMEDIAKIT_MOCK_WIDGETS)
+#if defined(QT_MULTIMEDIA_MOCK_WIDGETS)
#include "../qmultimedia_common/mockvideowindowcontrol.h"
#endif
@@ -105,7 +105,7 @@ public:
mockImageProcessingControl = new MockImageProcessingControl(this);
mockImageEncoderControl = new MockImageEncoderControl(this);
rendererControl = new MockVideoRendererControl(this);
-#if defined(QT_MULTIMEDIAKIT_MOCK_WIDGETS)
+#if defined(QT_MULTIMEDIA_MOCK_WIDGETS)
windowControl = new MockVideoWindowControl(this);
#endif
rendererRef = 0;
@@ -154,7 +154,7 @@ public:
return rendererControl;
}
}
-#if defined(QT_MULTIMEDIAKIT_MOCK_WIDGETS)
+#if defined(QT_MULTIMEDIA_MOCK_WIDGETS)
if (qstrcmp(iid, QVideoWindowControl_iid) == 0) {
if (windowRef == 0) {
windowRef += 1;
@@ -169,7 +169,7 @@ public:
{
if (control == rendererControl)
rendererRef -= 1;
-#if defined(QT_MULTIMEDIAKIT_MOCK_WIDGETS)
+#if defined(QT_MULTIMEDIA_MOCK_WIDGETS)
if (control == windowControl)
windowRef -= 1;
#endif
@@ -186,7 +186,7 @@ public:
MockImageProcessingControl *mockImageProcessingControl;
MockImageEncoderControl *mockImageEncoderControl;
MockVideoRendererControl *rendererControl;
-#if defined(QT_MULTIMEDIAKIT_MOCK_WIDGETS)
+#if defined(QT_MULTIMEDIA_MOCK_WIDGETS)
MockVideoWindowControl *windowControl;
#endif
int rendererRef;