void PluginTV::getTVPage(Bunny * b) { QHttp* http = new QHttp(this); http->setProperty("BunnyID", b->GetID()); connect(http, SIGNAL(done(bool)), this, SLOT(analyseXml())); http->setHost("www.programme-tv.com"); http->get("/rss.xml"); }
void PluginCinema::getCinemaPage(Bunny * b) { QHttp* http = new QHttp(this); http->setProperty("BunnyID", b->GetID()); connect(http, SIGNAL(done(bool)), this, SLOT(analyseXml())); http->setHost("www.cinefil.com"); http->get("/rss-sorties-cinema-de-la-semaine"); }