aboutsummaryrefslogtreecommitdiff
path: root/examples/GuiClient/rosterListView.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/GuiClient/rosterListView.cpp')
-rw-r--r--examples/GuiClient/rosterListView.cpp12
1 files changed, 6 insertions, 6 deletions
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()));