summaryrefslogtreecommitdiff
path: root/tests/auto/core/ivigenerator/projects/org-example-echo-qtro/server_qtro_test/echoservice.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/core/ivigenerator/projects/org-example-echo-qtro/server_qtro_test/echoservice.cpp')
-rw-r--r--tests/auto/core/ivigenerator/projects/org-example-echo-qtro/server_qtro_test/echoservice.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/auto/core/ivigenerator/projects/org-example-echo-qtro/server_qtro_test/echoservice.cpp b/tests/auto/core/ivigenerator/projects/org-example-echo-qtro/server_qtro_test/echoservice.cpp
index c3edac1..3e81ded 100644
--- a/tests/auto/core/ivigenerator/projects/org-example-echo-qtro/server_qtro_test/echoservice.cpp
+++ b/tests/auto/core/ivigenerator/projects/org-example-echo-qtro/server_qtro_test/echoservice.cpp
@@ -28,6 +28,7 @@
****************************************************************************/
#include "echoservice.h"
+#include <QtIviRemoteObjectsHelper>
#include <QTimer>
EchoService::EchoService()
@@ -75,7 +76,7 @@ QVariant EchoService::voidSlot2(int param)
QVariant EchoService::timer(int interval)
{
static quint64 counter = 0;
- EchoPendingResult pendingResult(counter++, false);
+ QIviRemoteObjectPendingResult pendingResult(counter++, false);
QTimer::singleShot(interval, this, [this, pendingResult](){
emit pendingResultAvailable(pendingResult.id(), true, QVariant());
});