summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorShane Kearns <shane.kearns@accenture.com>2010-12-08 19:25:29 (GMT)
committerShane Kearns <shane.kearns@accenture.com>2010-12-08 19:25:29 (GMT)
commit82ab30acff0322f51f732c520dd1e5d7b40482a6 (patch)
tree9c2fbd42d1331781ef0709290b3f81a166bb39fd
parent12974d3dad6a8db29479dd1bbf9d280081d60d58 (diff)
downloadQt-82ab30acff0322f51f732c520dd1e5d7b40482a6.zip
Qt-82ab30acff0322f51f732c520dd1e5d7b40482a6.tar.gz
Qt-82ab30acff0322f51f732c520dd1e5d7b40482a6.tar.bz2
Whitespace fixes
Reviewed-by: Trust Me
-rw-r--r--src/network/kernel/qhostinfo_symbian.cpp2
-rw-r--r--src/network/socket/qsymbiansocketengine.cpp8
-rw-r--r--src/network/socket/qsymbiansocketengine_p.h4
3 files changed, 7 insertions, 7 deletions
diff --git a/src/network/kernel/qhostinfo_symbian.cpp b/src/network/kernel/qhostinfo_symbian.cpp
index ffa0b46..287021f 100644
--- a/src/network/kernel/qhostinfo_symbian.cpp
+++ b/src/network/kernel/qhostinfo_symbian.cpp
@@ -88,7 +88,7 @@ QHostInfo QHostInfoAgent::fromName(const QString &hostName)
results.setErrorString(QString::fromLocal8Bit(gai_strerror(result)));
}
*/
-
+
return results;
}
diff --git a/src/network/socket/qsymbiansocketengine.cpp b/src/network/socket/qsymbiansocketengine.cpp
index ad1164a..2af2029 100644
--- a/src/network/socket/qsymbiansocketengine.cpp
+++ b/src/network/socket/qsymbiansocketengine.cpp
@@ -119,7 +119,7 @@ void QSymbianSocketEnginePrivate::getPortAndAddress(const TInetAddr& a, quint16
TPckgBuf<TSoInetIfQuery> query;
query().iSrcAddr = a;
TInt err = nativeSocket.GetOpt(KSoInetIfQueryBySrcAddr, KSolInetIfQuery, query);
- if(!err)
+ if (!err)
addr->setScopeId(qt_TDesC2QString(query().iName));
else
addr->setScopeId(QString::number(a.Scope()));
@@ -181,7 +181,7 @@ void QSymbianSocketEnginePrivate::setPortAndAddress(TInetAddr& nativeAddr, quint
TPckgBuf<TSoInetIfQuery> query;
query().iName = qt_QString2TPtrC(addr.scopeId());
TInt err = nativeSocket.GetOpt(KSoInetIfQueryByName, KSolInetIfQuery, query);
- if(!err)
+ if (!err)
nativeAddr.SetScope(query().iIndex);
else
nativeAddr.SetScope(0);
@@ -638,7 +638,7 @@ int QSymbianSocketEngine::accept()
TRequestStatus status;
d->nativeSocket.Accept(blankSocket, status);
User::WaitForRequest(status);
- if(status.Int()) {
+ if (status.Int()) {
qWarning("QSymbianSocketEnginePrivate::nativeAccept() - error %d", status.Int());
return 0;
}
@@ -655,7 +655,7 @@ qint64 QSymbianSocketEngine::bytesAvailable() const
// FIXME is this the right thing also for UDP?
// What is expected for UDP, the length for the next packet I guess?
TInt err = d->nativeSocket.GetOpt(KSOReadBytesPending, KSOLSocket, nbytes);
- if(err)
+ if (err)
return 0;
available = (qint64) nbytes;
diff --git a/src/network/socket/qsymbiansocketengine_p.h b/src/network/socket/qsymbiansocketengine_p.h
index ebd8092..2d5bcd8 100644
--- a/src/network/socket/qsymbiansocketengine_p.h
+++ b/src/network/socket/qsymbiansocketengine_p.h
@@ -124,8 +124,8 @@ public:
bool waitForRead(int msecs = 30000, bool *timedOut = 0);
bool waitForWrite(int msecs = 30000, bool *timedOut = 0);
bool waitForReadOrWrite(bool *readyToRead, bool *readyToWrite,
- bool checkRead, bool checkWrite,
- int msecs = 30000, bool *timedOut = 0);
+ bool checkRead, bool checkWrite,
+ int msecs = 30000, bool *timedOut = 0);
bool isReadNotificationEnabled() const;
void setReadNotificationEnabled(bool enable);