MCPcopy Create free account
hub / github.com/KangLin/RabbitRemoteControl / Add

Method Add

Plugins/WebBrowser/FrmDownloadManager.cpp:67–76  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

65}
66
67void CFrmDownloadManager::Add(CFrmDownload *item)
68{
69 if(!item || !m_pItems) return;
70 bool check = connect(item, &CFrmDownload::sigRemoveClicked, this, &CFrmDownloadManager::Remove);
71 Q_ASSERT(check);
72 check = connect(item, &CFrmDownload::sigSelected, this, &CFrmDownloadManager::slotSelected);
73 Q_ASSERT(check);
74 m_pItems->insertWidget(0, item, 0, Qt::AlignTop);
75 m_nCount++;
76}
77
78void CFrmDownloadManager::Remove(CFrmDownload *item)
79{

Callers 1

addBookmarkMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected