diff options
| author | Marc Mutz <marc.mutz@kdab.com> | 2012-07-12 22:22:14 +0200 |
|---|---|---|
| committer | Qt by Nokia <qt-info@nokia.com> | 2012-07-13 12:09:42 +0200 |
| commit | a1590325ca45406b54f80d98c7ab38f2a415d99b (patch) | |
| tree | 96918ab714a269a391eb0a9e34264511a6067281 /src/widgets/doc/snippets/updating-selections/window.cpp | |
| parent | a42bc1e92331d709fab9f2e4d28e008874aef9de (diff) | |
doc/snippets: normalize signals/slots
There's one in corelib that has a comment
// slower due to signature normalization at runtime
I obviously didn't change that one.
This is the result of running util/normalize --modify
from Qt 4.7 with manual review.
Change-Id: I0ffb2305800a9cb746b7f8a4eb710702d64f1b92
Reviewed-by: Laszlo Papp <lpapp@kde.org>
Reviewed-by: Casper van Donderen <casper.vandonderen@nokia.com>
Diffstat (limited to 'src/widgets/doc/snippets/updating-selections/window.cpp')
| -rw-r--r-- | src/widgets/doc/snippets/updating-selections/window.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/widgets/doc/snippets/updating-selections/window.cpp b/src/widgets/doc/snippets/updating-selections/window.cpp index eaa37b8c87b..4ac9b49552d 100644 --- a/src/widgets/doc/snippets/updating-selections/window.cpp +++ b/src/widgets/doc/snippets/updating-selections/window.cpp @@ -65,11 +65,11 @@ MainWindow::MainWindow(QWidget *parent) selectionModel = table->selectionModel(); connect(selectionModel, - SIGNAL(selectionChanged(const QItemSelection &, const QItemSelection &)), - this, SLOT(updateSelection(const QItemSelection &, const QItemSelection &))); + SIGNAL(selectionChanged(QItemSelection,QItemSelection)), + this, SLOT(updateSelection(QItemSelection,QItemSelection))); connect(selectionModel, - SIGNAL(currentChanged(const QModelIndex &, const QModelIndex &)), - this, SLOT(changeCurrent(const QModelIndex &, const QModelIndex &))); + SIGNAL(currentChanged(QModelIndex,QModelIndex)), + this, SLOT(changeCurrent(QModelIndex,QModelIndex))); statusBar(); setCentralWidget(table); |
