From daf715d9cae1c297ea50587c9e40c0f24bd59a07 Mon Sep 17 00:00:00 2001 From: Orgad Shaneh Date: Wed, 1 Jun 2016 22:44:44 +0300 Subject: Use Qt5-style connects The heavy lifting was done by clazy. Change-Id: Ibb13c517567b1b32bbda6d26225454d1b003934d Reviewed-by: Christian Kandeler --- tests/auto/api/tst_api.h | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'tests/auto/api/tst_api.h') diff --git a/tests/auto/api/tst_api.h b/tests/auto/api/tst_api.h index 7738f7a97..eb88ea35a 100644 --- a/tests/auto/api/tst_api.h +++ b/tests/auto/api/tst_api.h @@ -41,7 +41,10 @@ class ErrorInfo; class SetupProjectParameters; } +class BuildDescriptionReceiver; class LogSink; +class ProcessResultReceiver; +class TaskReceiver; class TestApi : public QObject { @@ -130,9 +133,9 @@ private slots: private: qbs::SetupProjectParameters defaultSetupParameters(const QString &projectFilePath) const; qbs::ErrorInfo doBuildProject(const QString &projectFilePath, - QObject *buildDescriptionReceiver = 0, - QObject *procResultReceiver = 0, - QObject *taskReceiver = 0, + BuildDescriptionReceiver *buildDescriptionReceiver = 0, + ProcessResultReceiver *procResultReceiver = 0, + TaskReceiver *taskReceiver = 0, const qbs::BuildOptions &options = qbs::BuildOptions(), const QVariantMap overriddenValues = QVariantMap()); -- cgit v1.2.3