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

Method IndexOfTab

Plugins/WebBrowser/FrmWebBrowser.cpp:595–604  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

593}
594
595int CFrmWebBrowser::IndexOfTab(CFrmWebView *pView)
596{
597 int nRet = -1;
598 if(!pView) return nRet;
599 QWidget* p = qobject_cast<QWidget*>(pView->parent());
600 if(!p) return nRet;
601 if(m_pTab)
602 nRet = m_pTab->indexOf(p);
603 return nRet;
604}
605
606int CFrmWebBrowser::InitMenu(QMenu *pMenu)
607{

Callers

nothing calls this directly

Calls 1

parentMethod · 0.45

Tested by

no test coverage detected