From 7df119586bbb595f8f00ca1cb54bc3beebfc14a5 Mon Sep 17 00:00:00 2001 From: Jeremy Lainé Date: Thu, 7 Jul 2011 09:08:39 +0000 Subject: normalize Qt signal / slot signatures --- examples/GuiClient/rosterListView.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'examples/GuiClient/rosterListView.cpp') diff --git a/examples/GuiClient/rosterListView.cpp b/examples/GuiClient/rosterListView.cpp index f08b3a72..ac4d2c4f 100644 --- a/examples/GuiClient/rosterListView.cpp +++ b/examples/GuiClient/rosterListView.cpp @@ -31,14 +31,14 @@ rosterListView::rosterListView(QWidget* parent):QListView(parent), m_chat("Chat", this), m_profile("View Profile", this), m_removeContact("Remove", this) { - bool check = connect(this, SIGNAL(pressed(const QModelIndex&)), this, - SLOT(mousePressed(const QModelIndex&))); + bool check = connect(this, SIGNAL(pressed(QModelIndex)), this, + SLOT(mousePressed(QModelIndex))); Q_ASSERT(check); - check = connect(this, SIGNAL(doubleClicked(const QModelIndex&)), this, - SLOT(doubleClicked(const QModelIndex&))); + check = connect(this, SIGNAL(doubleClicked(QModelIndex)), this, + SLOT(doubleClicked(QModelIndex))); Q_ASSERT(check); - check = connect(this, SIGNAL(clicked(const QModelIndex&)), this, - SLOT(clicked(const QModelIndex&))); + check = connect(this, SIGNAL(clicked(QModelIndex)), this, + SLOT(clicked(QModelIndex))); Q_ASSERT(check); check = connect(&m_chat, SIGNAL(triggered()), this, SLOT(showChatDialog_helper())); -- cgit v1.2.3