From 5b40afd38360f285d917ffa4e35fa1ec24556c62 Mon Sep 17 00:00:00 2001 From: Manjeet Dahiya Date: Tue, 28 Sep 2010 16:13:34 +0000 Subject: add menu pick for removing a contact --- examples/GuiClient/mainDialog.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'examples/GuiClient/mainDialog.cpp') 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); -- cgit v1.2.3