FeedReader plugin:

- added new classes for XML/HTML parse and modify
- added basic error handling
- added new GUI for a preview and a tree to show the structure of the page (will be continued)

git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-gxs-b1@5412 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
thunder2 2012-08-13 21:35:11 +00:00
parent acaefada65
commit f51af0d4de
24 changed files with 1959 additions and 509 deletions

View file

@ -30,17 +30,16 @@ class AddFeedDialog;
}
class RsFeedReader;
class FeedReaderNotify;
class AddFeedDialog : public QDialog
{
Q_OBJECT
public:
AddFeedDialog(RsFeedReader *feedReader, QWidget *parent);
AddFeedDialog(RsFeedReader *feedReader, FeedReaderNotify *notify, QWidget *parent);
~AddFeedDialog();
static bool showError(QWidget *parent, RsFeedAddResult result, const QString &title, const QString &text);
void setParent(const std::string &parentId);
bool fillFeed(const std::string &feedId);
@ -53,9 +52,13 @@ private slots:
void denyForumToggled();
void validate();
void createFeed();
void preview();
private:
void getFeedInfo(FeedInfo &feedInfo);
RsFeedReader *mFeedReader;
FeedReaderNotify *mNotify;
std::string mFeedId;
std::string mParentId;