Mercurial > minori
annotate src/gui/pages/torrents.cc @ 154:d43d68408d3c
dep/animia: fix XnuFdTools
also we use anitomy directly now.
HG Enter commit message. Lines beginning with 'HG:' are removed.
author | Paper <mrpapersonic@gmail.com> |
---|---|
date | Wed, 15 Nov 2023 14:14:17 -0500 |
parents | 39521c47c7a3 |
children | bc8d2ccff09c |
rev | line source |
---|---|
54
466ac9870df9
add stub pages (to be implemented)
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
1 #include "gui/pages/torrents.h" |
114 | 2 #include "core/strings.h" |
3 #include "core/http.h" | |
4 #include "core/session.h" | |
5 #include "gui/widgets/text.h" | |
6 #include "track/media.h" | |
7 #include "pugixml.hpp" | |
8 #include <QVBoxLayout> | |
9 #include <QToolBar> | |
10 #include <QTreeView> | |
11 #include <QMainWindow> | |
12 #include <QByteArray> | |
13 #include <QDataStream> | |
14 #include <QThreadPool> | |
15 #include <QDebug> | |
16 #include <iostream> | |
17 #include <sstream> | |
18 #include <algorithm> | |
19 | |
154 | 20 #include "anitomy/anitomy.h" |
21 | |
118
39521c47c7a3
*: another huge megacommit, SORRY
Paper <mrpapersonic@gmail.com>
parents:
117
diff
changeset
|
22 /* This file is very, very similar to the anime list page. |
39521c47c7a3
*: another huge megacommit, SORRY
Paper <mrpapersonic@gmail.com>
parents:
117
diff
changeset
|
23 |
39521c47c7a3
*: another huge megacommit, SORRY
Paper <mrpapersonic@gmail.com>
parents:
117
diff
changeset
|
24 It differs from Taiga in that it uses tabs instead of |
39521c47c7a3
*: another huge megacommit, SORRY
Paper <mrpapersonic@gmail.com>
parents:
117
diff
changeset
|
25 those "groups", but those are custom painted and a pain in the ass to |
39521c47c7a3
*: another huge megacommit, SORRY
Paper <mrpapersonic@gmail.com>
parents:
117
diff
changeset
|
26 maintain over multiple platforms. */ |
39521c47c7a3
*: another huge megacommit, SORRY
Paper <mrpapersonic@gmail.com>
parents:
117
diff
changeset
|
27 |
114 | 28 TorrentsPageListSortFilter::TorrentsPageListSortFilter(QObject* parent) : QSortFilterProxyModel(parent) { |
29 } | |
30 | |
31 bool TorrentsPageListSortFilter::lessThan(const QModelIndex& l, const QModelIndex& r) const { | |
32 QVariant left = sourceModel()->data(l, sortRole()); | |
33 QVariant right = sourceModel()->data(r, sortRole()); | |
34 | |
35 switch (left.userType()) { | |
36 case QMetaType::Int: | |
37 case QMetaType::UInt: | |
38 case QMetaType::LongLong: | |
39 case QMetaType::ULongLong: return left.toInt() < right.toInt(); | |
40 case QMetaType::QDate: return left.toDate() < right.toDate(); | |
41 case QMetaType::QString: | |
42 default: return QString::compare(left.toString(), right.toString(), Qt::CaseInsensitive) < 0; | |
43 } | |
44 } | |
45 | |
46 /* -------------------------------------------- */ | |
47 | |
48 TorrentsPageListModel::TorrentsPageListModel(QObject* parent) : QAbstractListModel(parent) { | |
49 } | |
50 | |
51 QByteArray TorrentsPageListModel::DownloadTorrentList() { | |
116
254b1d2b7096
settings: add torrents page, make rss feed configurable
Paper <mrpapersonic@gmail.com>
parents:
114
diff
changeset
|
52 return HTTP::Get(session.config.torrents.feed_link); |
114 | 53 } |
54 | |
55 void TorrentsPageListModel::ParseTorrentList(const QByteArray& ba) { | |
56 std::istringstream stdstream(Strings::ToUtf8String(ba)); | |
57 | |
58 pugi::xml_document doc; | |
59 if (!doc.load(stdstream)) | |
60 return; // peace out | |
61 | |
62 /* my extra special dumb hack. */ | |
63 if (!rowCount(index(0))) { | |
64 beginInsertRows(QModelIndex(), 0, 0); | |
65 endInsertRows(); | |
66 } | |
67 | |
68 beginResetModel(); | |
69 | |
70 list.clear(); | |
71 /* this is just an rss parser; it should be in a separate class... */ | |
72 for (pugi::xml_node item : doc.child("rss").child("channel").children("item")) { | |
73 TorrentModelItem torrent; | |
74 torrent.SetFilename(item.child_value("title")); /* "title" == filename */ | |
75 { | |
154 | 76 anitomy::Anitomy anitomy; |
77 anitomy.Parse(Strings::ToWstring(torrent.GetFilename())); | |
78 | |
79 const auto& elements = anitomy.elements(); | |
80 | |
81 /* todo: patch Anitomy so that it doesn't use wide strings */ | |
82 torrent.SetTitle(Strings::ToUtf8String(elements.get(anitomy::kElementAnimeTitle))); | |
83 torrent.SetEpisode(Strings::RemoveLeadingChars(Strings::ToUtf8String(elements.get(anitomy::kElementEpisodeNumber)), '0')); | |
84 torrent.SetGroup(Strings::ToUtf8String(elements.get(anitomy::kElementReleaseGroup))); | |
85 torrent.SetResolution(Strings::ToUtf8String(elements.get(anitomy::kElementVideoResolution))); | |
114 | 86 } |
87 torrent.SetDescription(Strings::TextifySynopsis(item.child_value("description"))); | |
88 { | |
118
39521c47c7a3
*: another huge megacommit, SORRY
Paper <mrpapersonic@gmail.com>
parents:
117
diff
changeset
|
89 /* Parse description... */ |
39521c47c7a3
*: another huge megacommit, SORRY
Paper <mrpapersonic@gmail.com>
parents:
117
diff
changeset
|
90 enum class Keys { SIZE, AUTHORIZED, SUBMITTER, COMMENT }; |
39521c47c7a3
*: another huge megacommit, SORRY
Paper <mrpapersonic@gmail.com>
parents:
117
diff
changeset
|
91 |
39521c47c7a3
*: another huge megacommit, SORRY
Paper <mrpapersonic@gmail.com>
parents:
117
diff
changeset
|
92 const std::unordered_map<std::string, Keys> KeyMap = { |
39521c47c7a3
*: another huge megacommit, SORRY
Paper <mrpapersonic@gmail.com>
parents:
117
diff
changeset
|
93 {"Size", Keys::SIZE}, |
39521c47c7a3
*: another huge megacommit, SORRY
Paper <mrpapersonic@gmail.com>
parents:
117
diff
changeset
|
94 {"Authorized", Keys::AUTHORIZED}, |
39521c47c7a3
*: another huge megacommit, SORRY
Paper <mrpapersonic@gmail.com>
parents:
117
diff
changeset
|
95 {"Submitter", Keys::SUBMITTER}, |
39521c47c7a3
*: another huge megacommit, SORRY
Paper <mrpapersonic@gmail.com>
parents:
117
diff
changeset
|
96 {"Comment", Keys::COMMENT} |
39521c47c7a3
*: another huge megacommit, SORRY
Paper <mrpapersonic@gmail.com>
parents:
117
diff
changeset
|
97 }; |
39521c47c7a3
*: another huge megacommit, SORRY
Paper <mrpapersonic@gmail.com>
parents:
117
diff
changeset
|
98 |
39521c47c7a3
*: another huge megacommit, SORRY
Paper <mrpapersonic@gmail.com>
parents:
117
diff
changeset
|
99 const std::string description = Strings::TextifySynopsis(item.child_value("description")); |
39521c47c7a3
*: another huge megacommit, SORRY
Paper <mrpapersonic@gmail.com>
parents:
117
diff
changeset
|
100 |
114 | 101 /* Parse size from description */ |
118
39521c47c7a3
*: another huge megacommit, SORRY
Paper <mrpapersonic@gmail.com>
parents:
117
diff
changeset
|
102 std::istringstream descstream(description); |
114 | 103 |
104 for (std::string line; std::getline(descstream, line);) { | |
118
39521c47c7a3
*: another huge megacommit, SORRY
Paper <mrpapersonic@gmail.com>
parents:
117
diff
changeset
|
105 const size_t pos = line.find_first_of(':', 0); |
39521c47c7a3
*: another huge megacommit, SORRY
Paper <mrpapersonic@gmail.com>
parents:
117
diff
changeset
|
106 if (pos == std::string::npos) |
39521c47c7a3
*: another huge megacommit, SORRY
Paper <mrpapersonic@gmail.com>
parents:
117
diff
changeset
|
107 continue; |
39521c47c7a3
*: another huge megacommit, SORRY
Paper <mrpapersonic@gmail.com>
parents:
117
diff
changeset
|
108 |
39521c47c7a3
*: another huge megacommit, SORRY
Paper <mrpapersonic@gmail.com>
parents:
117
diff
changeset
|
109 const std::string key = line.substr(0, pos); |
39521c47c7a3
*: another huge megacommit, SORRY
Paper <mrpapersonic@gmail.com>
parents:
117
diff
changeset
|
110 const std::string value = line.substr(line.find_first_not_of(": ", pos)); |
114 | 111 |
118
39521c47c7a3
*: another huge megacommit, SORRY
Paper <mrpapersonic@gmail.com>
parents:
117
diff
changeset
|
112 switch (KeyMap.at(key)) { |
39521c47c7a3
*: another huge megacommit, SORRY
Paper <mrpapersonic@gmail.com>
parents:
117
diff
changeset
|
113 case Keys::COMMENT: |
39521c47c7a3
*: another huge megacommit, SORRY
Paper <mrpapersonic@gmail.com>
parents:
117
diff
changeset
|
114 torrent.SetDescription(value); |
39521c47c7a3
*: another huge megacommit, SORRY
Paper <mrpapersonic@gmail.com>
parents:
117
diff
changeset
|
115 break; |
39521c47c7a3
*: another huge megacommit, SORRY
Paper <mrpapersonic@gmail.com>
parents:
117
diff
changeset
|
116 case Keys::SIZE: |
39521c47c7a3
*: another huge megacommit, SORRY
Paper <mrpapersonic@gmail.com>
parents:
117
diff
changeset
|
117 torrent.SetSize(Strings::HumanReadableSizeToBytes(value)); |
39521c47c7a3
*: another huge megacommit, SORRY
Paper <mrpapersonic@gmail.com>
parents:
117
diff
changeset
|
118 break; |
39521c47c7a3
*: another huge megacommit, SORRY
Paper <mrpapersonic@gmail.com>
parents:
117
diff
changeset
|
119 default: |
39521c47c7a3
*: another huge megacommit, SORRY
Paper <mrpapersonic@gmail.com>
parents:
117
diff
changeset
|
120 break; |
114 | 121 } |
122 } | |
123 } | |
124 torrent.SetLink(item.child_value("link")); | |
125 torrent.SetGuid(item.child_value("guid")); | |
126 { | |
127 const QString date_str = Strings::ToQString(item.child_value("pubDate")); | |
128 torrent.SetDate(QDateTime::fromString(date_str, "ddd, dd MMM yyyy HH:mm:ss t")); | |
129 } | |
130 list.push_back(torrent); | |
131 } | |
132 | |
133 endResetModel(); | |
134 } | |
135 | |
136 void TorrentsPageListModel::RefreshTorrentList() { | |
137 ParseTorrentList(DownloadTorrentList()); | |
138 } | |
139 | |
140 int TorrentsPageListModel::rowCount(const QModelIndex& parent) const { | |
141 return list.size(); | |
142 (void)(parent); | |
143 } | |
144 | |
145 int TorrentsPageListModel::columnCount(const QModelIndex& parent) const { | |
146 return NB_COLUMNS; | |
147 (void)(parent); | |
148 } | |
149 | |
150 QVariant TorrentsPageListModel::headerData(const int section, const Qt::Orientation orientation, const int role) const { | |
151 switch (role) { | |
152 case Qt::DisplayRole: { | |
153 switch (section) { | |
154 case TL_TITLE: return tr("Anime title"); | |
155 case TL_EPISODE: return tr("Episode"); | |
156 case TL_GROUP: return tr("Group"); | |
157 case TL_SIZE: return tr("Size"); | |
158 case TL_RESOLUTION: return tr("Resolution"); /* this is named "Video" in Taiga */ | |
159 case TL_SEEDERS: return tr("Seeding"); /* named "S" in Taiga */ | |
160 case TL_LEECHERS: return tr("Leeching"); /* named "L" in Taiga */ | |
161 case TL_DOWNLOADERS: return tr("Downloading"); /* named "D" in Taiga */ | |
162 case TL_DESCRIPTION: return tr("Description"); | |
163 case TL_FILENAME: return tr("Filename"); | |
164 case TL_RELEASEDATE: return tr("Release date"); | |
165 default: return {}; | |
166 } | |
167 break; | |
168 } | |
169 case Qt::TextAlignmentRole: { | |
170 switch (section) { | |
171 case TL_FILENAME: | |
172 case TL_GROUP: | |
173 case TL_DESCRIPTION: | |
174 case TL_RESOLUTION: | |
175 case TL_TITLE: return QVariant(Qt::AlignLeft | Qt::AlignVCenter); | |
176 case TL_SEEDERS: | |
177 case TL_LEECHERS: | |
178 case TL_DOWNLOADERS: | |
179 case TL_SIZE: | |
180 case TL_EPISODE: | |
181 case TL_RELEASEDATE: return QVariant(Qt::AlignRight | Qt::AlignVCenter); | |
182 default: return {}; | |
183 } | |
184 break; | |
185 } | |
186 } | |
187 return QAbstractListModel::headerData(section, orientation, role); | |
188 } | |
189 | |
190 bool TorrentsPageListModel::setData(const QModelIndex& index, const QVariant& value, int role) { | |
191 TorrentModelItem& item = list.at(index.row()); | |
54
466ac9870df9
add stub pages (to be implemented)
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
192 |
114 | 193 if (index.column() == 0) { |
194 switch (role) { | |
195 case Qt::EditRole: | |
196 return false; | |
197 case Qt::CheckStateRole: | |
198 item.SetChecked(value.toBool()); | |
199 emit dataChanged(index, index); | |
200 return true; | |
201 } | |
202 } | |
203 | |
204 return QAbstractItemModel::setData(index, value, role); | |
205 } | |
206 | |
207 QVariant TorrentsPageListModel::data(const QModelIndex& index, int role) const { | |
208 if (!index.isValid()) | |
209 return QVariant(); | |
116
254b1d2b7096
settings: add torrents page, make rss feed configurable
Paper <mrpapersonic@gmail.com>
parents:
114
diff
changeset
|
210 |
254b1d2b7096
settings: add torrents page, make rss feed configurable
Paper <mrpapersonic@gmail.com>
parents:
114
diff
changeset
|
211 const TorrentModelItem& item = list.at(index.row()); |
254b1d2b7096
settings: add torrents page, make rss feed configurable
Paper <mrpapersonic@gmail.com>
parents:
114
diff
changeset
|
212 |
114 | 213 switch (role) { |
214 case Qt::DisplayRole: | |
215 switch (index.column()) { | |
116
254b1d2b7096
settings: add torrents page, make rss feed configurable
Paper <mrpapersonic@gmail.com>
parents:
114
diff
changeset
|
216 case TL_TITLE: return Strings::ToQString(item.GetTitle()); |
254b1d2b7096
settings: add torrents page, make rss feed configurable
Paper <mrpapersonic@gmail.com>
parents:
114
diff
changeset
|
217 case TL_EPISODE: return Strings::ToQString(item.GetEpisode()); |
254b1d2b7096
settings: add torrents page, make rss feed configurable
Paper <mrpapersonic@gmail.com>
parents:
114
diff
changeset
|
218 case TL_GROUP: return Strings::ToQString(item.GetGroup()); |
254b1d2b7096
settings: add torrents page, make rss feed configurable
Paper <mrpapersonic@gmail.com>
parents:
114
diff
changeset
|
219 case TL_SIZE: return session.config.locale.GetLocale().formattedDataSize(item.GetSize()); |
254b1d2b7096
settings: add torrents page, make rss feed configurable
Paper <mrpapersonic@gmail.com>
parents:
114
diff
changeset
|
220 case TL_RESOLUTION: return Strings::ToQString(item.GetResolution()); |
254b1d2b7096
settings: add torrents page, make rss feed configurable
Paper <mrpapersonic@gmail.com>
parents:
114
diff
changeset
|
221 case TL_SEEDERS: return item.GetSeeders(); |
254b1d2b7096
settings: add torrents page, make rss feed configurable
Paper <mrpapersonic@gmail.com>
parents:
114
diff
changeset
|
222 case TL_LEECHERS: return item.GetLeechers(); |
254b1d2b7096
settings: add torrents page, make rss feed configurable
Paper <mrpapersonic@gmail.com>
parents:
114
diff
changeset
|
223 case TL_DOWNLOADERS: return item.GetDownloaders(); |
254b1d2b7096
settings: add torrents page, make rss feed configurable
Paper <mrpapersonic@gmail.com>
parents:
114
diff
changeset
|
224 case TL_DESCRIPTION: return Strings::ToQString(item.GetDescription()); |
254b1d2b7096
settings: add torrents page, make rss feed configurable
Paper <mrpapersonic@gmail.com>
parents:
114
diff
changeset
|
225 case TL_FILENAME: return Strings::ToQString(item.GetFilename()); |
254b1d2b7096
settings: add torrents page, make rss feed configurable
Paper <mrpapersonic@gmail.com>
parents:
114
diff
changeset
|
226 case TL_RELEASEDATE: return item.GetDate(); |
114 | 227 default: return ""; |
228 } | |
229 break; | |
230 case Qt::UserRole: | |
231 switch (index.column()) { | |
116
254b1d2b7096
settings: add torrents page, make rss feed configurable
Paper <mrpapersonic@gmail.com>
parents:
114
diff
changeset
|
232 case TL_EPISODE: return Strings::ToInt(item.GetEpisode(), -1); |
117
2c1b6782e1d0
pages/torrents: work around conversion error on Linux
Paper <mrpapersonic@gmail.com>
parents:
116
diff
changeset
|
233 /* We have to use this to work around some stupid |
2c1b6782e1d0
pages/torrents: work around conversion error on Linux
Paper <mrpapersonic@gmail.com>
parents:
116
diff
changeset
|
234 "conversion ambiguous" error on Linux */ |
2c1b6782e1d0
pages/torrents: work around conversion error on Linux
Paper <mrpapersonic@gmail.com>
parents:
116
diff
changeset
|
235 case TL_SIZE: return QVariant::fromValue(item.GetSize()); |
114 | 236 default: return data(index, Qt::DisplayRole); |
237 } | |
238 break; | |
239 case Qt::SizeHintRole: { | |
240 switch (index.column()) { | |
241 default: { | |
116
254b1d2b7096
settings: add torrents page, make rss feed configurable
Paper <mrpapersonic@gmail.com>
parents:
114
diff
changeset
|
242 /* max horizontal size of 100, height size = size of current font */ |
114 | 243 const QString d = data(index, Qt::DisplayRole).toString(); |
244 const QFontMetrics metric = QFontMetrics(QFont()); | |
245 | |
246 return QSize(std::max(metric.horizontalAdvance(d), 100), metric.height()); | |
247 } | |
248 } | |
249 break; | |
250 } | |
251 case Qt::TextAlignmentRole: | |
252 switch (index.column()) { | |
253 case TL_FILENAME: | |
254 case TL_GROUP: | |
255 case TL_DESCRIPTION: | |
256 case TL_RESOLUTION: | |
257 case TL_TITLE: return QVariant(Qt::AlignLeft | Qt::AlignVCenter); | |
258 case TL_SEEDERS: | |
259 case TL_LEECHERS: | |
260 case TL_DOWNLOADERS: | |
261 case TL_SIZE: | |
262 case TL_EPISODE: | |
263 case TL_RELEASEDATE: return QVariant(Qt::AlignRight | Qt::AlignVCenter); | |
264 default: return {}; | |
265 } | |
266 break; | |
267 } | |
268 return QVariant(); | |
269 } | |
270 | |
271 Qt::ItemFlags TorrentsPageListModel::flags(const QModelIndex& index) const { | |
272 if (!index.isValid()) | |
273 return Qt::NoItemFlags; | |
274 | |
118
39521c47c7a3
*: another huge megacommit, SORRY
Paper <mrpapersonic@gmail.com>
parents:
117
diff
changeset
|
275 return Qt::ItemIsEnabled | Qt::ItemIsSelectable; |
114 | 276 } |
277 | |
278 TorrentsPage::TorrentsPage(QWidget* parent) : QFrame(parent) { | |
279 setFrameShape(QFrame::Box); | |
280 setFrameShadow(QFrame::Sunken); | |
281 | |
282 QVBoxLayout* layout = new QVBoxLayout(this); | |
283 layout->setContentsMargins(0, 0, 0, 0); | |
284 layout->setSpacing(0); | |
285 | |
286 { | |
287 /* Toolbar */ | |
288 QToolBar* toolbar = new QToolBar(this); | |
289 toolbar->setToolButtonStyle(Qt::ToolButtonTextBesideIcon); | |
290 toolbar->setIconSize(QSize(16, 16)); | |
291 toolbar->setMovable(false); | |
292 | |
293 { | |
294 /* this needs to be stored somewhere to replicate Taiga's | |
295 "timer" feature */ | |
116
254b1d2b7096
settings: add torrents page, make rss feed configurable
Paper <mrpapersonic@gmail.com>
parents:
114
diff
changeset
|
296 toolbar->addAction(QIcon(":/icons/16x16/arrow-circle-315.png"), tr("&Check new torrents"), [this]{ |
114 | 297 QThreadPool::globalInstance()->start([this] { |
298 Refresh(); | |
299 }); | |
300 }); | |
301 } | |
302 | |
303 toolbar->addSeparator(); | |
304 | |
305 { | |
116
254b1d2b7096
settings: add torrents page, make rss feed configurable
Paper <mrpapersonic@gmail.com>
parents:
114
diff
changeset
|
306 toolbar->addAction(QIcon(":/icons/16x16/navigation-270-button.png"), tr("Download &marked torrents")); |
114 | 307 } |
308 | |
309 { | |
116
254b1d2b7096
settings: add torrents page, make rss feed configurable
Paper <mrpapersonic@gmail.com>
parents:
114
diff
changeset
|
310 toolbar->addAction(QIcon(":/icons/16x16/cross-button.png"), tr("&Discard all")); |
114 | 311 } |
312 | |
313 toolbar->addSeparator(); | |
314 | |
315 { | |
116
254b1d2b7096
settings: add torrents page, make rss feed configurable
Paper <mrpapersonic@gmail.com>
parents:
114
diff
changeset
|
316 toolbar->addAction(QIcon(":/icons/16x16/gear.png"), tr("&Settings")); |
114 | 317 } |
318 | |
319 layout->addWidget(toolbar); | |
320 } | |
321 | |
322 { | |
323 QFrame* line = new QFrame(this); | |
324 line->setFrameShape(QFrame::HLine); | |
325 line->setFrameShadow(QFrame::Sunken); | |
326 line->setLineWidth(1); | |
327 layout->addWidget(line); | |
328 } | |
329 | |
330 { | |
331 QTreeView* treeview = new QTreeView(this); | |
332 treeview->setUniformRowHeights(true); | |
333 treeview->setAllColumnsShowFocus(false); | |
334 treeview->setAlternatingRowColors(true); | |
335 treeview->setSortingEnabled(true); | |
336 treeview->setSelectionMode(QAbstractItemView::ExtendedSelection); | |
337 treeview->setItemsExpandable(false); | |
338 treeview->setRootIsDecorated(false); | |
339 treeview->setContextMenuPolicy(Qt::CustomContextMenu); | |
340 treeview->setFrameShape(QFrame::NoFrame); | |
341 | |
342 { | |
343 sort_model = new TorrentsPageListSortFilter(treeview); | |
344 model = new TorrentsPageListModel(treeview); | |
345 sort_model->setSourceModel(model); | |
346 sort_model->setSortRole(Qt::UserRole); | |
347 sort_model->setSortCaseSensitivity(Qt::CaseInsensitive); | |
348 treeview->setModel(sort_model); | |
349 } | |
350 | |
351 layout->addWidget(treeview); | |
352 } | |
353 } | |
354 | |
355 void TorrentsPage::Refresh() { | |
356 if (!model) | |
357 return; | |
358 model->RefreshTorrentList(); | |
54
466ac9870df9
add stub pages (to be implemented)
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
359 } |
466ac9870df9
add stub pages (to be implemented)
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
360 |
466ac9870df9
add stub pages (to be implemented)
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
361 #include "gui/pages/moc_torrents.cpp" |