diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2012-01-02 11:01:21 +0100 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2012-01-02 11:01:21 +0100 |
commit | 4779e1fa7346416ac61b0787c065e3104442efad (patch) | |
tree | 103dba178c9b153999161094f9ab6ee4187a1f64 /src/iconmanager.cpp | |
parent | Fix crash webinspector related (diff) | |
download | rekonq-4779e1fa7346416ac61b0787c065e3104442efad.tar.xz |
about:tabs, easy method to manage rekonq tabs.
- added tabs page to rekonq ones
- manage about:tabs links
- let it manage show/close tabs
- fix settings for the new page
- adjust controls for it (modify, add thing removed)
REVIEW:103566
Diffstat (limited to 'src/iconmanager.cpp')
-rw-r--r-- | src/iconmanager.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/iconmanager.cpp b/src/iconmanager.cpp index 8179ca07..e9554a02 100644 --- a/src/iconmanager.cpp +++ b/src/iconmanager.cpp @@ -74,6 +74,8 @@ KIcon IconManager::iconForUrl(const KUrl &url) return KIcon("emblem-favorite"); if (encodedUrl == QByteArray("about:downloads")) return KIcon("download"); + if (encodedUrl == QByteArray("about:tabs")) + return KIcon("tab-duplicate"); // TODO: return other mimetype icons if (url.isLocalFile()) @@ -286,6 +288,11 @@ QString IconManager::iconPathForUrl(const KUrl &url) QString icon = QL1S("file://") + KGlobal::dirs()->findResource("icon", "oxygen/16x16/actions/download.png"); return icon; } + if (encodedUrl == QByteArray("about:tabs")) + { + QString icon = QL1S("file://") + KGlobal::dirs()->findResource("icon", "oxygen/16x16/actions/tab-duplicate.png"); + return icon; + } // TODO: return other mimetype icons if (url.isLocalFile()) |