tools/designer/src/lib/shared/signalslotdialog.cpp
changeset 3 41300fa6a67c
parent 0 1918ee327afb
child 4 3b1da2848fc7
equal deleted inserted replaced
2:56cd8111b7f7 3:41300fa6a67c
   266     m_listView->setModel(m_model);
   266     m_listView->setModel(m_model);
   267     SignatureDelegate *delegate = new SignatureDelegate(this);
   267     SignatureDelegate *delegate = new SignatureDelegate(this);
   268     m_listView->setItemDelegate(delegate);
   268     m_listView->setItemDelegate(delegate);
   269     connect(m_model, SIGNAL(checkSignature(QString,bool*)), this, SIGNAL(checkSignature(QString,bool*)));
   269     connect(m_model, SIGNAL(checkSignature(QString,bool*)), this, SIGNAL(checkSignature(QString,bool*)));
   270 
   270 
   271     connect(m_listView->selectionModel(), SIGNAL(selectionChanged(QItemSelection, QItemSelection)),
   271     connect(m_listView->selectionModel(), SIGNAL(selectionChanged(QItemSelection,QItemSelection)),
   272             this, SLOT(slotSelectionChanged(QItemSelection, QItemSelection)));
   272             this, SLOT(slotSelectionChanged(QItemSelection,QItemSelection)));
   273 }
   273 }
   274 
   274 
   275 void SignaturePanel::slotAdd()
   275 void SignaturePanel::slotAdd()
   276 {
   276 {
   277     m_listView->selectionModel()->clearSelection();
   277     m_listView->selectionModel()->clearSelection();