Logo Search packages:      
Sourcecode: akregator version File versions

void View::slotWidescreenView (  )  [slot]

switches view mode to widescreen view

Definition at line 545 of file akregator_view.cpp.

References m_articles, m_articleViewer, m_tree, Akregator::ArticleViewer::slotShowArticle(), and Akregator::ArticleViewer::slotShowSummary().

Referenced by View().

{
    if (m_viewMode == WidescreenView)
    return;
    
    if (m_viewMode == CombinedView)
    {
        m_articles->slotShowNode(m_tree->selectedNode());
        m_articles->show();
        
        // tell articleview to redisplay+reformat
        ArticleListItem* item = m_articles->selectedItem();
        if (item)
            m_articleViewer->slotShowArticle(item->article());
        else
            m_articleViewer->slotShowSummary(m_tree->selectedNode());
    }

    m_articleSplitter->setOrientation(QSplitter::Horizontal);
    m_viewMode = WidescreenView;

    Settings::setViewMode( m_viewMode );
}


Generated by  Doxygen 1.6.0   Back to index