-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrss.h
More file actions
45 lines (34 loc) · 755 Bytes
/
Copy pathrss.h
File metadata and controls
45 lines (34 loc) · 755 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
#ifndef RSS_H
#define RSS_H
#include <QWidget>
#include <QtXml/QDomDocument>
#include <QtXml/QDomNodeList>
#include <QDebug>
#include <QtNetwork/QNetworkReply>
class Rss : public QWidget
{
public:
explicit Rss(QWidget *parent = 0);
QStringList showFeeds();
signals:
private slots:
void replyFinished(QNetworkReply*);
void openRssFeed();
private:
QNetworkAccessManager *manager;
QNetworkReply *reply;
QDomNode node;
QDomElement e;
QString strTitle;
QString strLink;
QString strDescription;
QDomElement docElem;
QDomNodeList nodeList;
QDomDocument doc;
QString error;
QStringList feeds;
QStringList feedDatas;
void getFeedDatas(QStringList);
Q_OBJECT
};
#endif // RSS_H