summaryrefslogtreecommitdiffstats
path: root/tests/auto/other
diff options
context:
space:
mode:
authorMarc Mutz <marc.mutz@kdab.com>2012-10-16 11:02:34 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2012-10-22 08:41:27 +0200
commit2ec2edc24d118d9c13482f0306df3cf2314f8898 (patch)
treefd26632d59332c651214ba37abbb6dc61a3742a8 /tests/auto/other
parenta89eae8cb4675188707a850650f664e7be9fa292 (diff)
normalise signal/slot signatures [QtGui tests]
Change-Id: I42e11de9ef1d8a04b2a8e200afb84f2245f3361a Reviewed-by: Stephen Kelly <stephen.kelly@kdab.com>
Diffstat (limited to 'tests/auto/other')
-rw-r--r--tests/auto/other/atwrapper/atWrapper.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/auto/other/atwrapper/atWrapper.cpp b/tests/auto/other/atwrapper/atWrapper.cpp
index 46e22917d0..7297c7a4ac 100644
--- a/tests/auto/other/atwrapper/atWrapper.cpp
+++ b/tests/auto/other/atwrapper/atWrapper.cpp
@@ -89,7 +89,7 @@ void atWrapper::downloadBaseline()
QFtp ftp;
- QObject::connect( &ftp, SIGNAL( listInfo( const QUrlInfo & ) ), this, SLOT( ftpMgetAddToList(const QUrlInfo & ) ) );
+ QObject::connect( &ftp, SIGNAL(listInfo(QUrlInfo)), this, SLOT(ftpMgetAddToList(QUrlInfo)) );
//Making sure that the needed local directories exist.
@@ -268,8 +268,8 @@ void atWrapper::ftpRmDir( QString dir )
//Hack to remove a populated directory. (caveat: containing only files and empty dirs, not recursive!)
qDebug() << "Now removing directory: " << dir;
QFtp ftp;
- QObject::connect( &ftp, SIGNAL( listInfo( const QUrlInfo & ) ), this, SLOT( ftpRmDirAddToList(const QUrlInfo & ) ) );
- QObject::connect( &ftp, SIGNAL( done( bool ) ), this, SLOT( ftpRmDirDone( bool ) ) );
+ QObject::connect( &ftp, SIGNAL(listInfo(QUrlInfo)), this, SLOT(ftpRmDirAddToList(QUrlInfo)) );
+ QObject::connect( &ftp, SIGNAL(done(bool)), this, SLOT(ftpRmDirDone(bool)) );
ftp.connectToHost( ftpHost );
ftp.login( ftpUser, ftpPass );
@@ -308,7 +308,7 @@ bool atWrapper::ftpMkDir( QString dir )
// IE: conveniance.
QFtp ftp;
- QSignalSpy commandSpy(&ftp, SIGNAL(commandFinished(int, bool)));
+ QSignalSpy commandSpy(&ftp, SIGNAL(commandFinished(int,bool)));
ftp.connectToHost( ftpHost );
ftp.login( ftpUser, ftpPass );