|
|
@ -41,42 +41,42 @@ class bittorrent; |
|
|
|
class RSSImp : public QWidget, public Ui::RSS{ |
|
|
|
class RSSImp : public QWidget, public Ui::RSS{ |
|
|
|
Q_OBJECT |
|
|
|
Q_OBJECT |
|
|
|
|
|
|
|
|
|
|
|
private: |
|
|
|
private: |
|
|
|
RssManager *rssmanager; |
|
|
|
RssManager *rssmanager; |
|
|
|
QTimer *refreshTimeTimer; |
|
|
|
QTimer *refreshTimeTimer; |
|
|
|
QString selectedFeedUrl; |
|
|
|
QString selectedFeedUrl; |
|
|
|
bittorrent *BTSession; |
|
|
|
bittorrent *BTSession; |
|
|
|
|
|
|
|
|
|
|
|
public slots: |
|
|
|
public slots: |
|
|
|
void on_delStream_button_clicked(); |
|
|
|
void deleteSelectedFeeds(); |
|
|
|
|
|
|
|
|
|
|
|
protected slots: |
|
|
|
protected slots: |
|
|
|
void on_newFeedButton_clicked(); |
|
|
|
void on_newFeedButton_clicked(); |
|
|
|
void on_updateAllButton_clicked(); |
|
|
|
void on_updateAllButton_clicked(); |
|
|
|
void on_markReadButton_clicked(); |
|
|
|
void on_markReadButton_clicked(); |
|
|
|
void displayRSSListMenu(const QPoint&); |
|
|
|
void displayRSSListMenu(const QPoint&); |
|
|
|
void displayItemsListMenu(const QPoint&); |
|
|
|
void displayItemsListMenu(const QPoint&); |
|
|
|
void renameStream(); |
|
|
|
void renameStream(); |
|
|
|
void refreshSelectedStreams(); |
|
|
|
void refreshSelectedStreams(); |
|
|
|
void copySelectedFeedsURL(); |
|
|
|
void copySelectedFeedsURL(); |
|
|
|
void refreshNewsList(QTreeWidgetItem* item); |
|
|
|
void refreshNewsList(QTreeWidgetItem* item); |
|
|
|
void refreshTextBrowser(QListWidgetItem *); |
|
|
|
void refreshTextBrowser(QListWidgetItem *); |
|
|
|
void updateLastRefreshedTimeForStreams(); |
|
|
|
void updateLastRefreshedTimeForStreams(); |
|
|
|
void updateFeedIcon(QString url, QString icon_path); |
|
|
|
void updateFeedIcon(QString url, QString icon_path); |
|
|
|
void updateFeedInfos(QString url, QString aliasOrUrl, unsigned int nbUnread); |
|
|
|
void updateFeedInfos(QString url, QString aliasOrUrl, unsigned int nbUnread); |
|
|
|
void openNewsUrl(); |
|
|
|
void openNewsUrl(); |
|
|
|
void downloadTorrent(); |
|
|
|
void downloadTorrent(); |
|
|
|
void fillFeedsList(); |
|
|
|
void fillFeedsList(); |
|
|
|
void selectFirstFeed(); |
|
|
|
void selectFirstFeed(); |
|
|
|
void updateFeedNbNews(QString url); |
|
|
|
void updateFeedNbNews(QString url); |
|
|
|
void saveSlidersPosition(); |
|
|
|
void saveSlidersPosition(); |
|
|
|
void restoreSlidersPosition(); |
|
|
|
void restoreSlidersPosition(); |
|
|
|
void showFeedDownloader(); |
|
|
|
void showFeedDownloader(); |
|
|
|
|
|
|
|
|
|
|
|
public: |
|
|
|
public: |
|
|
|
RSSImp(bittorrent *BTSession); |
|
|
|
RSSImp(bittorrent *BTSession); |
|
|
|
~RSSImp(); |
|
|
|
~RSSImp(); |
|
|
|
QTreeWidgetItem* getTreeItemFromUrl(QString url) const; |
|
|
|
QTreeWidgetItem* getTreeItemFromUrl(QString url) const; |
|
|
|
}; |
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|
#endif |
|
|
|
#endif |
|
|
|