示例#1
0
void MainMenu::showSiteInfo()
{
    if (m_window && SiteInfo::canShowSiteInfo(m_window->weView()->url())) {
        SiteInfo* info = new SiteInfo(m_window->weView());
        info->show();
    }
}
示例#2
0
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;
}
示例#5
0
void WebView::showSiteInfo()
{
    SiteInfo* s = new SiteInfo(this, this);
    s->show();
}