Logo Search packages:      
Sourcecode: akregator version File versions

void View::slotArticleListContextMenu ( KListView *  ,
ArticleListItem *  item,
const QPoint &  p 
) [slot]

Shows requested popup menu for article list

Definition at line 688 of file akregator_view.cpp.

Referenced by View().

{
    if (!item)
        return;
    KToggleAction* ka = static_cast<KToggleAction*> (m_part->actionCollection()->action("article_toggle_keep"));
    if (ka)
        ka->setChecked( item->article().keep() );
    QWidget* w = m_part->factory()->container("article_popup", m_part);
    if (w)
        static_cast<QPopupMenu *>(w)->exec(p);
}


Generated by  Doxygen 1.6.0   Back to index