summaryrefslogtreecommitdiffstats
path: root/src/3rdparty/phonon/mmf
diff options
context:
space:
mode:
authorFrans Englich <frans.englich@nokia.com>2009-10-15 09:32:13 (GMT)
committerFrans Englich <frans.englich@nokia.com>2009-10-15 09:32:13 (GMT)
commit572e3c9e04a265998b5b7dea4237828186be6f17 (patch)
treeddd5a09a24a9eb651b4bc884cc34425e1ffeaaf4 /src/3rdparty/phonon/mmf
parent104adfdb63ec3bfe0afafea5278c45ebb873065d (diff)
downloadQt-572e3c9e04a265998b5b7dea4237828186be6f17.zip
Qt-572e3c9e04a265998b5b7dea4237828186be6f17.tar.gz
Qt-572e3c9e04a265998b5b7dea4237828186be6f17.tar.bz2
sed -i -e 's/for(/for (/g' `find -name "*.cpp" -or -name "*.h" -or -name
"*.pro"`
Diffstat (limited to 'src/3rdparty/phonon/mmf')
-rw-r--r--src/3rdparty/phonon/mmf/mmf_videoplayer.cpp2
-rw-r--r--src/3rdparty/phonon/mmf/mmfphonondebug/objectdump.cpp4
-rw-r--r--src/3rdparty/phonon/mmf/mmfphonondebug/objecttree.h2
-rw-r--r--src/3rdparty/phonon/mmf/utils.cpp2
4 files changed, 5 insertions, 5 deletions
diff --git a/src/3rdparty/phonon/mmf/mmf_videoplayer.cpp b/src/3rdparty/phonon/mmf/mmf_videoplayer.cpp
index c05afae..6694a9a 100644
--- a/src/3rdparty/phonon/mmf/mmf_videoplayer.cpp
+++ b/src/3rdparty/phonon/mmf/mmf_videoplayer.cpp
@@ -369,7 +369,7 @@ void getDsaRegion(RWsSession &session, const RWindowBase &window)
ao.Cancel();
if (region) {
qDebug() << "Phonon::MMF::getDsaRegion count" << region->Count();
- for(int i=0; i<region->Count(); ++i) {
+ for (int i=0; i<region->Count(); ++i) {
const TRect& rect = region->RectangleList()[i];
qDebug() << "Phonon::MMF::getDsaRegion rect"
<< rect.iTl.iX << rect.iTl.iY << rect.iBr.iX << rect.iBr.iY;
diff --git a/src/3rdparty/phonon/mmf/mmfphonondebug/objectdump.cpp b/src/3rdparty/phonon/mmf/mmfphonondebug/objectdump.cpp
index 2629d74..9add439 100644
--- a/src/3rdparty/phonon/mmf/mmfphonondebug/objectdump.cpp
+++ b/src/3rdparty/phonon/mmf/mmfphonondebug/objectdump.cpp
@@ -363,7 +363,7 @@ void QVisitorPrivate::dumpRecursive
// Recurse down tree
const Node::child_iterator begin = node.m_children.begin();
const Node::child_iterator end = node.m_children.end();
- for(Node::child_iterator i = begin; end != i; ++i) {
+ for (Node::child_iterator i = begin; end != i; ++i) {
isLastChild = (end == i + 1);
@@ -394,7 +394,7 @@ void QVisitorPrivate::dumpNode
}
else {
// Dump annotations
- for(QList<QByteArray>::const_iterator i = begin; end != i; ++i) {
+ for (QList<QByteArray>::const_iterator i = begin; end != i; ++i) {
const bool isNodeLine = (begin == i);
QByteArray buffer = branchBuffer(branches, isNodeLine, isLastChild);
buffer.append(*i);
diff --git a/src/3rdparty/phonon/mmf/mmfphonondebug/objecttree.h b/src/3rdparty/phonon/mmf/mmfphonondebug/objecttree.h
index 6eb6076..98bdf14 100644
--- a/src/3rdparty/phonon/mmf/mmfphonondebug/objecttree.h
+++ b/src/3rdparty/phonon/mmf/mmfphonondebug/objecttree.h
@@ -104,7 +104,7 @@ void visit(Iterator begin, Iterator end, Visitor& visitor)
{
visitor.visitPrepare();
- for( ; begin != end; ++begin)
+ for ( ; begin != end; ++begin)
visitor.visitNode(*begin);
visitor.visitComplete();
diff --git a/src/3rdparty/phonon/mmf/utils.cpp b/src/3rdparty/phonon/mmf/utils.cpp
index bc1c424..58d1ece 100644
--- a/src/3rdparty/phonon/mmf/utils.cpp
+++ b/src/3rdparty/phonon/mmf/utils.cpp
@@ -138,7 +138,7 @@ QColor MMF::Utils::getScreenPixel(const QPoint& pos)
// Debugging: for debugging video visibility
void MMF::Utils::dumpScreenPixelSample()
{
- for(int i=0; i<20; ++i) {
+ for (int i=0; i<20; ++i) {
const QPoint pos(i*10, i*10);
const QColor pixel = Utils::getScreenPixel(pos);
RDebug::Printf(