added newsfeed settings

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4102 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
defnax 2011-03-24 19:43:52 +00:00
parent cfcb6ac5c4
commit be7359e804
7 changed files with 362 additions and 2 deletions

View file

@ -30,6 +30,7 @@
#include "feeds/ChanMsgItem.h"
#include "feeds/ForumNewItem.h"
#include "feeds/ForumMsgItem.h"
#include "feeds/FeedSettings.h"
#ifdef BLOGS
#include "feeds/BlogNewItem.h"
@ -65,6 +66,8 @@ NewsFeed::NewsFeed(QWidget *parent)
setupUi(this);
connect(removeAllButton, SIGNAL(clicked()), this, SLOT(removeAll()));
connect(feedOptionsButton, SIGNAL(clicked()), this, SLOT(feedoptions()));
QTimer *timer = new QTimer(this);
timer->connect(timer, SIGNAL(timeout()), this, SLOT(updateFeed()));
@ -487,3 +490,9 @@ void NewsFeed::sendNewsFeedChanged()
emit newsFeedChanged(count);
}
void NewsFeed::feedoptions()
{
FeedSettings fs (this);
fs.exec ();
}