Logo Search packages:      
Sourcecode: akregator version File versions

void Feed::tryFetch (  )  [private]

executes the actual fetch action

Definition at line 398 of file feed.cpp.

References KPIM::ProgressManager::createProgressItem(), KPIM::ProgressManager::getUniqueID(), RSS::Loader::loadFrom(), m_xmlUrl, and Akregator::TreeNode::title().

Referenced by fetch().

{
    m_fetchError = false;
    
    m_progressItem = KPIM::ProgressManager::createProgressItem(KPIM::ProgressManager::getUniqueID(), title(), QString::null, false);
    //connect(m_progressItem, SIGNAL(progressItemCanceled(KPIM::ProgressItem*)), SLOT(slotAbortFetch()));
    
    m_loader = Loader::create( this, SLOT(fetchCompleted(Loader *, Document, Status)) );
    //connect(m_loader, SIGNAL(progress(unsigned long)), this, SLOT(slotSetProgress(unsigned long)));
    m_loader->loadFrom( m_xmlUrl, new FileRetriever );
}


Generated by  Doxygen 1.6.0   Back to index