searchui/indevicehandler/tsrc/t_indevicehandler/src/t_indevicehandler.cpp
changeset 17 7d8c8d8f5eab
parent 7 51d10d255e92
child 18 1edf350003c5
--- a/searchui/indevicehandler/tsrc/t_indevicehandler/src/t_indevicehandler.cpp	Tue Jul 06 14:17:22 2010 +0300
+++ b/searchui/indevicehandler/tsrc/t_indevicehandler/src/t_indevicehandler.cpp	Wed Aug 18 09:49:49 2010 +0300
@@ -1,7 +1,7 @@
 #include "t_indevicehandler.h"
 #include "indevicehandler.h"
 #include <qsignalspy.h>
-#include <qcpixdocument.h>
+#include <cpixdocument.h>
 SearchInDeviceHandlerTest::SearchInDeviceHandlerTest()
     {
     }
@@ -48,7 +48,7 @@
     QTest::qWait(2000);
 
     QSignalSpy spy(indevicehandler,
-            SIGNAL(handleDocument(int, QCPixDocument*)));
+            SIGNAL(handleDocument(int, CpixDocument*)));
     indevicehandler->getDocumentAsyncAtIndex(0);
     QTest::qWait(2000);
     QCOMPARE(spy.count(), 1);
@@ -72,7 +72,7 @@
     indevicehandler->searchAsync("jpg*");
     QTest::qWait(2000);
     QSignalSpy spy(indevicehandler,
-            SIGNAL(handleDocument(int, QCPixDocument*)));
+            SIGNAL(handleDocument(int, CpixDocument*)));
     indevicehandler->getDocumentAsyncAtIndex(0);
     QTest::qWait(2000);
     QCOMPARE(spy.count(), 1);