summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMontel Laurent <montel@kde.org>2016-10-13 05:37:05 (GMT)
committerMontel Laurent <montel@kde.org>2016-10-13 05:37:05 (GMT)
commit224509bfd96418cab021f412cdc677f56d18c834 (patch)
treeecd9b0a0a31ccb4c04a559c4cc06061e210d0ab4
parent11199bb2bcd1dcc8b64218e9a323ecca89634f50 (diff)
Try to fix autotest
-rw-r--r--kmail/plugins/antispamplugin/autotests/antispamplugininterfacetest.cpp2
-rw-r--r--kmail/plugins/antivirusplugin/autotests/antivirusplugininterfacetest.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/kmail/plugins/antispamplugin/autotests/antispamplugininterfacetest.cpp b/kmail/plugins/antispamplugin/autotests/antispamplugininterfacetest.cpp
index f3b3d1e..5f97214 100644
--- a/kmail/plugins/antispamplugin/autotests/antispamplugininterfacetest.cpp
+++ b/kmail/plugins/antispamplugin/autotests/antispamplugininterfacetest.cpp
@@ -53,7 +53,7 @@ void AntiSpamPluginInterfaceTest::shouldEmitActivatedSignal()
AntiSpamPluginInterface interface;
interface.createAction(new KActionCollection(this));
- QSignalSpy spy1(&interface, SIGNAL(emitPluginActivated(PimCommon::GenericPluginInterface*)));
+ QSignalSpy spy1(&interface, SIGNAL(emitPluginActivated(PimCommon::AbstractGenericPluginInterface*)));
interface.actionType().action()->trigger();
QCOMPARE(spy1.count(), 1);
}
diff --git a/kmail/plugins/antivirusplugin/autotests/antivirusplugininterfacetest.cpp b/kmail/plugins/antivirusplugin/autotests/antivirusplugininterfacetest.cpp
index 23a4d07..1a59723 100644
--- a/kmail/plugins/antivirusplugin/autotests/antivirusplugininterfacetest.cpp
+++ b/kmail/plugins/antivirusplugin/autotests/antivirusplugininterfacetest.cpp
@@ -53,7 +53,7 @@ void AntiVirusPluginInterfaceTest::shouldEmitActivatedSignal()
AntiVirusPluginInterface interface;
interface.createAction(new KActionCollection(this));
- QSignalSpy spy1(&interface, SIGNAL(emitPluginActivated(PimCommon::GenericPluginInterface*)));
+ QSignalSpy spy1(&interface, SIGNAL(emitPluginActivated(PimCommon::AbstractGenericPluginInterface*)));
interface.actionType().action()->trigger();
QCOMPARE(spy1.count(), 1);
}