Added new base class for a subscribe button - SubscribeToolButton.

Added subscribe and auto-download button to channel dialog.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7431 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
thunder2 2014-07-05 18:33:11 +00:00
parent 30681ed205
commit 48e5a49cd5
10 changed files with 260 additions and 42 deletions

View file

@ -71,6 +71,8 @@ protected:
private slots:
void createMsg();
void toggleAutoDownload();
void subscribeGroup(bool subscribe);
void filterChanged(int filter);
void filterItems(const QString& text);
@ -80,7 +82,7 @@ private slots:
private:
void processSettings(bool load);
void setAutoDownloadButton(bool autoDl);
void setAutoDownload(bool autoDl);
void clearPosts();
/* NEW GXS FNS */
@ -109,7 +111,7 @@ private:
//QList<ChanMsgItem *> mChanMsgItems;
QList<GxsChannelPostItem *> mChannelPostItems;
std::map<std::string, uint32_t> mChanSearchScore; //chanId, score
QAction *mAutoDownloadAction;
UIStateHelper *mStateHelper;