aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/api/tst_api.h
diff options
context:
space:
mode:
authorOrgad Shaneh <orgad.shaneh@audiocodes.com>2016-06-01 22:44:44 +0300
committerOrgad Shaneh <orgads@gmail.com>2016-06-07 12:33:48 +0000
commitdaf715d9cae1c297ea50587c9e40c0f24bd59a07 (patch)
treec2b34cea4e9b169e1aa2c2e26872e92374af1c7c /tests/auto/api/tst_api.h
parentddc360f424720799c26ce47d49f13929e00af2df (diff)
Use Qt5-style connects
The heavy lifting was done by clazy. Change-Id: Ibb13c517567b1b32bbda6d26225454d1b003934d Reviewed-by: Christian Kandeler <christian.kandeler@theqtcompany.com>
Diffstat (limited to 'tests/auto/api/tst_api.h')
-rw-r--r--tests/auto/api/tst_api.h9
1 files changed, 6 insertions, 3 deletions
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());