summaryrefslogtreecommitdiffstats
path: root/libkonq/favicons
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2013-02-04 14:14:55 -0600
committerTimothy Pearson <[email protected]>2013-02-04 14:14:55 -0600
commitde9b6c9ad15f9f51812daae17cce635d1050a9ba (patch)
tree6b26400ab1a616925443c5d365246eb86c9bad57 /libkonq/favicons
parent4f841fbbbc5d3399535ade061699cc76363c7a3f (diff)
downloadtdebase-de9b6c9ad15f9f51812daae17cce635d1050a9ba.tar.gz
tdebase-de9b6c9ad15f9f51812daae17cce635d1050a9ba.zip
Rename KIcon to enhance compatibility with KDE4
Diffstat (limited to 'libkonq/favicons')
-rw-r--r--libkonq/favicons/favicons.cpp6
-rw-r--r--libkonq/favicons/favicons.h4
2 files changed, 5 insertions, 5 deletions
diff --git a/libkonq/favicons/favicons.cpp b/libkonq/favicons/favicons.cpp
index 7bc0bbc22..234bcf19d 100644
--- a/libkonq/favicons/favicons.cpp
+++ b/libkonq/favicons/favicons.cpp
@@ -57,7 +57,7 @@ struct FaviconsModulePrivate
FaviconsModule::FaviconsModule(const TQCString &obj)
: KDEDModule(obj)
{
- // create our favicons folder so that KIconLoader knows about it
+ // create our favicons folder so that TDEIconLoader knows about it
d = new FaviconsModulePrivate;
d->faviconsDir = TDEGlobal::dirs()->saveLocation( "cache", "favicons/" );
d->faviconsDir.truncate(d->faviconsDir.length()-9); // Strip off "favicons/"
@@ -229,8 +229,8 @@ void FaviconsModule::slotResult(TDEIO::Job *job)
// Some sites have nasty 32x32 icons, according to the MS docs
// IE ignores them, well, we scale them, otherwise the location
// combo / menu will look quite ugly
- if (io.image().width() != KIcon::SizeSmall || io.image().height() != KIcon::SizeSmall)
- io.setImage(io.image().smoothScale(KIcon::SizeSmall, KIcon::SizeSmall));
+ if (io.image().width() != TDEIcon::SizeSmall || io.image().height() != TDEIcon::SizeSmall)
+ io.setImage(io.image().smoothScale(TDEIcon::SizeSmall, TDEIcon::SizeSmall));
if (download.isHost)
iconName = download.hostOrURL;
diff --git a/libkonq/favicons/favicons.h b/libkonq/favicons/favicons.h
index 72767f8de..e42dace1b 100644
--- a/libkonq/favicons/favicons.h
+++ b/libkonq/favicons/favicons.h
@@ -36,7 +36,7 @@ namespace TDEIO { class Job; }
* the default icon for all URLs on the given host. In this case, the
* second parameter is a host name, otherwise the second parameter is the
* URL which is associated with the icon. The third parameter is the
- * @ref KIconLoader friendly name of the downloaded icon, the same as
+ * @ref TDEIconLoader friendly name of the downloaded icon, the same as
* @ref iconForURL will from now on return for any matching URL.
*
* @short KDED Module for favicons
@@ -57,7 +57,7 @@ k_dcop:
* been downloaded yet, TQString::null is returned.
*
* @param url the URL for which the icon is queried
- * @return the icon name suitable to pass to @ref KIconLoader or
+ * @return the icon name suitable to pass to @ref TDEIconLoader or
* TQString::null if no icon for this URL was found.
*/
TQString iconForURL(const KURL &url);