void MainMenu::showSiteInfo() { if (m_window && SiteInfo::canShowSiteInfo(m_window->weView()->url())) { SiteInfo* info = new SiteInfo(m_window->weView()); info->show(); } }
void MainMenu::showSiteInfo() { if (m_window) { SiteInfo* info = new SiteInfo(m_window->weView(), m_window); info->setAttribute(Qt::WA_DeleteOnClose); info->show(); } }
BOOL ServerInfo::DeleteConn(Server_type type,ConnectInfo *pConn) { SiteInfo *pSite = GetSite(type); if (pSite) { return pSite->Delete(pConn); } return FALSE; }
ConnectInfo *ServerInfo::GetConnInfo(Server_type type,char *pName) { if (!pName) { return NULL; } SiteInfo *pSite = GetSite(type); if (pSite) { return pSite->Find(pName); } return NULL; }
void WebView::showSiteInfo() { SiteInfo* s = new SiteInfo(this, this); s->show(); }