mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-23 00:01:21 -04:00
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:
parent
cfcb6ac5c4
commit
be7359e804
7 changed files with 362 additions and 2 deletions
|
@ -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 ();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue