summaryrefslogtreecommitdiffstats
path: root/src/plugins
diff options
context:
space:
mode:
authorFrederik Gladhorn <frederik.gladhorn@nokia.com>2011-07-13 14:53:01 (GMT)
committerFrederik Gladhorn <frederik.gladhorn@nokia.com>2011-07-13 14:53:59 (GMT)
commiteff5ecc5d8f65fa25d6cfd6ed96a9d2a00d0c663 (patch)
treeea5470e081a7cd799854ad365025fda303729279 /src/plugins
parente797ba558dddd45522b5a317316e497e9efc44a8 (diff)
downloadQt-eff5ecc5d8f65fa25d6cfd6ed96a9d2a00d0c663.zip
Qt-eff5ecc5d8f65fa25d6cfd6ed96a9d2a00d0c663.tar.gz
Qt-eff5ecc5d8f65fa25d6cfd6ed96a9d2a00d0c663.tar.bz2
Style cleanup - space after flow control keywords.
Reviewed-by: TrustMe
Diffstat (limited to 'src/plugins')
-rw-r--r--src/plugins/accessible/widgets/itemviews.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/plugins/accessible/widgets/itemviews.cpp b/src/plugins/accessible/widgets/itemviews.cpp
index d7432e9..4618f87 100644
--- a/src/plugins/accessible/widgets/itemviews.cpp
+++ b/src/plugins/accessible/widgets/itemviews.cpp
@@ -284,7 +284,7 @@ QList<QAccessibleTable2CellInterface*> QAccessibleTable2::selectedCells() const
QList<int> QAccessibleTable2::selectedColumns() const
{
QList<int> columns;
- Q_FOREACH(const QModelIndex &index, view->selectionModel()->selectedColumns()) {
+ Q_FOREACH (const QModelIndex &index, view->selectionModel()->selectedColumns()) {
columns.append(index.column());
}
return columns;
@@ -293,7 +293,7 @@ QList<int> QAccessibleTable2::selectedColumns() const
QList<int> QAccessibleTable2::selectedRows() const
{
QList<int> rows;
- Q_FOREACH(const QModelIndex &index, view->selectionModel()->selectedRows()) {
+ Q_FOREACH (const QModelIndex &index, view->selectionModel()->selectedRows()) {
rows.append(index.row());
}
return rows;
@@ -773,7 +773,7 @@ QString QAccessibleTable2Cell::text(Text t, int child) const
Q_ASSERT(child == 0);
QAbstractItemModel *model = view->model();
QString value;
- switch(t) {
+ switch (t) {
case QAccessible::Value:
case QAccessible::Name:
value = model->data(m_index, Qt::AccessibleTextRole).toString();