qBittorrent
rsswidget.h
Go to the documentation of this file.
1
/*
2
* Bittorrent Client using Qt and libtorrent.
3
* Copyright (C) 2017 Vladimir Golovnev <glassez@yandex.ru>
4
* Copyright (C) 2006 Christophe Dumez <chris@qbittorrent.org>
5
* Copyright (C) 2006 Arnaud Demaiziere <arnaud@qbittorrent.org>
6
*
7
* This program is free software; you can redistribute it and/or
8
* modify it under the terms of the GNU General Public License
9
* as published by the Free Software Foundation; either version 2
10
* of the License, or (at your option) any later version.
11
*
12
* This program is distributed in the hope that it will be useful,
13
* but WITHOUT ANY WARRANTY; without even the implied warranty of
14
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15
* GNU General Public License for more details.
16
*
17
* You should have received a copy of the GNU General Public License
18
* along with this program; if not, write to the Free Software
19
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
20
*
21
* In addition, as a special exception, the copyright holders give permission to
22
* link this program with the OpenSSL project's "OpenSSL" library (or with
23
* modified versions of it that use the same license as the "OpenSSL" library),
24
* and distribute the linked executables. You must obey the GNU General Public
25
* License in all respects for all of the code used other than "OpenSSL". If you
26
* modify file(s), you may extend this exception to your version of the file(s),
27
* but you are not obligated to do so. If you do not wish to do so, delete this
28
* exception statement from your version.
29
*/
30
31
#pragma once
32
33
#include <QWidget>
34
35
class
QListWidgetItem;
36
class
QTreeWidgetItem;
37
38
class
ArticleListWidget
;
39
class
FeedListWidget
;
40
41
namespace
Ui
42
{
43
class
RSSWidget
;
44
}
45
46
class
RSSWidget
:
public
QWidget
47
{
48
Q_OBJECT
49
50
public
:
51
RSSWidget
(QWidget *parent);
52
~RSSWidget
();
53
54
public
slots:
55
void
deleteSelectedItems
();
56
void
updateRefreshInterval
(
int
val)
const
;
57
58
signals:
59
void
unreadCountUpdated
(
int
count);
60
61
private
slots:
62
void
on_newFeedButton_clicked
();
63
void
refreshAllFeeds
();
64
void
on_markReadButton_clicked
();
65
void
displayRSSListMenu
(
const
QPoint &);
66
void
displayItemsListMenu
(
const
QPoint &);
67
void
renameSelectedRSSItem
();
68
void
refreshSelectedItems
();
69
void
copySelectedFeedsURL
();
70
void
handleCurrentFeedItemChanged
(QTreeWidgetItem *currentItem);
71
void
handleCurrentArticleItemChanged
(QListWidgetItem *currentItem, QListWidgetItem *previousItem);
72
void
openSelectedArticlesUrls
();
73
void
downloadSelectedTorrents
();
74
void
saveSlidersPosition
();
75
void
restoreSlidersPosition
();
76
void
askNewFolder
();
77
void
saveFoldersOpenState
();
78
void
loadFoldersOpenState
();
79
void
on_rssDownloaderBtn_clicked
();
80
void
handleSessionProcessingStateChanged
(
bool
enabled);
81
void
handleUnreadCountChanged
();
82
83
private
:
84
Ui::RSSWidget *
m_ui
;
85
ArticleListWidget
*
m_articleListWidget
;
86
FeedListWidget
*
m_feedListWidget
;
87
};
ArticleListWidget
Definition:
articlelistwidget.h:41
FeedListWidget
Definition:
feedlistwidget.h:44
RSSWidget
Definition:
rsswidget.h:47
RSSWidget::refreshAllFeeds
void refreshAllFeeds()
Definition:
rsswidget.cpp:353
RSSWidget::saveFoldersOpenState
void saveFoldersOpenState()
Definition:
rsswidget.cpp:345
RSSWidget::m_feedListWidget
FeedListWidget * m_feedListWidget
Definition:
rsswidget.h:86
RSSWidget::displayRSSListMenu
void displayRSSListMenu(const QPoint &)
Definition:
rsswidget.cpp:143
RSSWidget::on_newFeedButton_clicked
void on_newFeedButton_clicked()
Definition:
rsswidget.cpp:262
RSSWidget::m_articleListWidget
ArticleListWidget * m_articleListWidget
Definition:
rsswidget.h:85
RSSWidget::unreadCountUpdated
void unreadCountUpdated(int count)
RSSWidget::saveSlidersPosition
void saveSlidersPosition()
Definition:
rsswidget.cpp:530
RSSWidget::askNewFolder
void askNewFolder()
Definition:
rsswidget.cpp:224
RSSWidget::handleCurrentArticleItemChanged
void handleCurrentArticleItemChanged(QListWidgetItem *currentItem, QListWidgetItem *previousItem)
Definition:
rsswidget.cpp:465
RSSWidget::copySelectedFeedsURL
void copySelectedFeedsURL()
Definition:
rsswidget.cpp:437
RSSWidget::openSelectedArticlesUrls
void openSelectedArticlesUrls()
Definition:
rsswidget.cpp:379
RSSWidget::RSSWidget
RSSWidget(QWidget *parent)
Definition:
rsswidget.cpp:58
RSSWidget::~RSSWidget
~RSSWidget()
Definition:
rsswidget.cpp:130
RSSWidget::displayItemsListMenu
void displayItemsListMenu(const QPoint &)
Definition:
rsswidget.cpp:195
RSSWidget::refreshSelectedItems
void refreshSelectedItems()
Definition:
rsswidget.cpp:423
RSSWidget::handleCurrentFeedItemChanged
void handleCurrentFeedItemChanged(QTreeWidgetItem *currentItem)
Definition:
rsswidget.cpp:448
RSSWidget::on_markReadButton_clicked
void on_markReadButton_clicked()
Definition:
rsswidget.cpp:454
RSSWidget::updateRefreshInterval
void updateRefreshInterval(int val) const
Definition:
rsswidget.cpp:549
RSSWidget::handleUnreadCountChanged
void handleUnreadCountChanged()
Definition:
rsswidget.cpp:566
RSSWidget::renameSelectedRSSItem
void renameSelectedRSSItem()
Definition:
rsswidget.cpp:394
RSSWidget::restoreSlidersPosition
void restoreSlidersPosition()
Definition:
rsswidget.cpp:538
RSSWidget::on_rssDownloaderBtn_clicked
void on_rssDownloaderBtn_clicked()
Definition:
rsswidget.cpp:554
RSSWidget::loadFoldersOpenState
void loadFoldersOpenState()
Definition:
rsswidget.cpp:322
RSSWidget::deleteSelectedItems
void deleteSelectedItems()
Definition:
rsswidget.cpp:303
RSSWidget::handleSessionProcessingStateChanged
void handleSessionProcessingStateChanged(bool enabled)
Definition:
rsswidget.cpp:561
RSSWidget::downloadSelectedTorrents
void downloadSelectedTorrents()
Definition:
rsswidget.cpp:358
RSSWidget::m_ui
Ui::RSSWidget * m_ui
Definition:
rsswidget.h:84
Ui
Definition:
stacktracedialog.h:35
src
gui
rss
rsswidget.h
Generated on Wed May 4 2022 08:51:14 for qBittorrent by
1.9.1