KNewStuff
Go to the documentation of this file.
29 :
CoreEngine(parent), m_dxspolicy(DxsIfPossible)
45 return (m_dxsbyprovider.contains(provider) ? m_dxsbyprovider.value(provider) : NULL);
63 kError() <<
"DxsEngine: DXS requested but not offered" << endl;
70 if (!m_dxsbyprovider.contains(provider)) {
71 Dxs * dxs =
new Dxs(
this, provider);
77 connect(dxs, SIGNAL(signalFault()),
78 SLOT(slotEntriesFailed()));
80 connect(dxs, SIGNAL(signalCategories(QList<KNS::Category*>)),
81 SLOT(slotCategories(QList<KNS::Category*>)));
82 m_dxsbyprovider.insert(provider, dxs);
85 Dxs * dxs = m_dxsbyprovider.value(provider);
90 void DxsEngine::slotCategories(QList<KNS::Category*> categories)
92 Dxs * dxs = qobject_cast<
Dxs*>(sender());
97 for (QList<KNS::Category*>::iterator it = categories.begin(); it != categories.end(); ++it) {
100 for (
int i = 0; i < feeds.size(); ++i) {
108 Dxs * dxs = qobject_cast<
Dxs*>(sender());
114 void DxsEngine::slotEntriesFailed()
119 #include "dxsengine.moc"
This file is part of the KDE documentation.
Documentation copyright © 1996-2013 The KDE developers.
Generated on Tue Jul 16 2013 11:49:29 by
doxygen 1.8.1.1 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.