aboutsummaryrefslogtreecommitdiff
path: root/examples/GuiClient/mainDialog.cpp
diff options
context:
space:
mode:
authorManjeet Dahiya <manjeetdahiya@gmail.com>2010-09-28 16:13:34 +0000
committerManjeet Dahiya <manjeetdahiya@gmail.com>2010-09-28 16:13:34 +0000
commit5b40afd38360f285d917ffa4e35fa1ec24556c62 (patch)
tree18b40926e4f17de0d19d9ee41a50cbea50b3fd49 /examples/GuiClient/mainDialog.cpp
parent740343ca5bd92532eb77df67211733db53447a3d (diff)
downloadqxmpp-5b40afd38360f285d917ffa4e35fa1ec24556c62.tar.gz
add menu pick for removing a contact
Diffstat (limited to 'examples/GuiClient/mainDialog.cpp')
-rw-r--r--examples/GuiClient/mainDialog.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/examples/GuiClient/mainDialog.cpp b/examples/GuiClient/mainDialog.cpp
index d6c8e24b..ca3d0295 100644
--- a/examples/GuiClient/mainDialog.cpp
+++ b/examples/GuiClient/mainDialog.cpp
@@ -107,6 +107,10 @@ mainDialog::mainDialog(QWidget *parent): QDialog(parent, Qt::Window),
this, SLOT(showProfile(const QString&)));
Q_ASSERT(check);
+ check = connect(ui->listView, SIGNAL(removeContact(const QString&)),
+ this, SLOT(action_removeContact(const QString&)));
+ Q_ASSERT(check);
+
check = connect(&m_xmppClient, SIGNAL(messageReceived(const QXmppMessage&)),
SLOT(messageReceived(const QXmppMessage&)));
Q_ASSERT(check);