Browse Source

- Updated RSS icon with one from Oxygen (KDE4 icons)

adaptive-webui-19844
Christophe Dumez 17 years ago
parent
commit
1918969e28
  1. 8
      TODO
  2. 2
      src/GUI.cpp
  3. BIN
      src/Icons/rss.png
  4. BIN
      src/Icons/rss16.png
  5. BIN
      src/Icons/rss32.png
  6. 3
      src/icons.qrc
  7. 2
      src/rss.h

8
TODO

@ -17,8 +17,12 @@
// Unsure // Unsure
- Azureus spoofing to prevent ban from trackers? - Azureus spoofing to prevent ban from trackers?
- Option to shutdown computer when downloads are finished - Option to shutdown computer when downloads are finished
- Display hard drive space left?
- Make use of dbus on Linux for the single instance instead of socket communication? - Make use of dbus on Linux for the single instance instead of socket communication?
(http://techbase.kde.org/Development/Tutorials/D-Bus/Accessing_Interfaces) (http://techbase.kde.org/Development/Tutorials/D-Bus/Accessing_Interfaces)
- When favicon can't be downloaded, try to parse the webpage for:
<link rel="icon" href="http://example.com/favicon.ico" type="image/vnd.microsoft.icon">
* Be carefull, the link can be relative
// in v1.2.0 // in v1.2.0
- Allow user to organize the downloads into categories/folders? - Allow user to organize the downloads into categories/folders?
@ -38,9 +42,7 @@
- Allow to limit the number of downloading torrents simultaneously (other are paused until a download finishes) - Allow to limit the number of downloading torrents simultaneously (other are paused until a download finishes)
- Add "Mark all as read" feature for RSS - Add "Mark all as read" feature for RSS
- Allow to customize lists refreshing interval (in options) - Allow to customize lists refreshing interval (in options)
- When favicon can't be downloaded, try to parse the webpage for: - Improve search plugin install (download drom url, choose in a list taken from plugins.qbittorrent.org)
<link rel="icon" href="http://example.com/favicon.ico" type="image/vnd.microsoft.icon">
* Be carefull, the link can be relative
// in v1.0.0 (partial) - WIP // in v1.0.0 (partial) - WIP
- Check storage st creation + hasher in torrent creation - Check storage st creation + hasher in torrent creation

2
src/GUI.cpp

@ -141,7 +141,7 @@ GUI::GUI(QWidget *parent, QStringList torrentCmdLine) : QMainWindow(parent), for
// RSS tab // RSS tab
rssWidget = new RSSImp(); rssWidget = new RSSImp();
tabs->addTab(rssWidget, tr("RSS")); tabs->addTab(rssWidget, tr("RSS"));
tabs->setTabIcon(3, QIcon(QString::fromUtf8(":/Icons/rss.png"))); tabs->setTabIcon(3, QIcon(QString::fromUtf8(":/Icons/rss32.png")));
readSettings(); readSettings();
// Add torrent given on command line // Add torrent given on command line
processParams(torrentCmdLine); processParams(torrentCmdLine);

BIN
src/Icons/rss.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.2 KiB

BIN
src/Icons/rss16.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 607 B

BIN
src/Icons/rss32.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

3
src/icons.qrc

@ -24,7 +24,6 @@
<file>Icons/style.png</file> <file>Icons/style.png</file>
<file>Icons/wizard.png</file> <file>Icons/wizard.png</file>
<file>Icons/password.png</file> <file>Icons/password.png</file>
<file>Icons/rss.png</file>
<file>Icons/sphere2.png</file> <file>Icons/sphere2.png</file>
<file>Icons/smile.png</file> <file>Icons/smile.png</file>
<file>Icons/loading.png</file> <file>Icons/loading.png</file>
@ -36,6 +35,8 @@
<file>Icons/add_file.png</file> <file>Icons/add_file.png</file>
<file>Icons/home.png</file> <file>Icons/home.png</file>
<file>Icons/splash.png</file> <file>Icons/splash.png</file>
<file>Icons/rss32.png</file>
<file>Icons/rss16.png</file>
<file>Icons/flags/portugal.png</file> <file>Icons/flags/portugal.png</file>
<file>Icons/flags/france.png</file> <file>Icons/flags/france.png</file>
<file>Icons/flags/ukraine.png</file> <file>Icons/flags/ukraine.png</file>

2
src/rss.h

@ -153,7 +153,7 @@ class RssStream : public QObject{
} }
public: public:
RssStream(QString _url): url(_url), alias(""), iconPath(":/Icons/rss.png"), refreshed(false), downloadFailure(false), currently_loading(false) { RssStream(QString _url): url(_url), alias(""), iconPath(":/Icons/rss16.png"), refreshed(false), downloadFailure(false), currently_loading(false) {
qDebug("RSSStream constructed"); qDebug("RSSStream constructed");
} }

Loading…
Cancel
Save