From a1590325ca45406b54f80d98c7ab38f2a415d99b Mon Sep 17 00:00:00 2001 From: Marc Mutz Date: Thu, 12 Jul 2012 22:22:14 +0200 Subject: 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 Reviewed-by: Casper van Donderen --- src/widgets/doc/snippets/updating-selections/window.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/widgets/doc/snippets/updating-selections') diff --git a/src/widgets/doc/snippets/updating-selections/window.cpp b/src/widgets/doc/snippets/updating-selections/window.cpp index eaa37b8c87..4ac9b49552 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); -- cgit v1.2.3