summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--katapult/common/imagedisplay.cpp2
-rw-r--r--katapult/plugins/catalogs/amarokcatalog/coverimage.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/katapult/common/imagedisplay.cpp b/katapult/common/imagedisplay.cpp
index 3aaf7e2..6e82960 100644
--- a/katapult/common/imagedisplay.cpp
+++ b/katapult/common/imagedisplay.cpp
@@ -51,7 +51,7 @@ ImageDisplay::ImageDisplay(TQObject *, const char *name, const TQStringList&)
{
KWin::setType(winId(), NET::Dock);
setBackgroundMode(NoBackground);
- setFocusPolicy(TQ_StrongFocus);
+ setFocusPolicy(TQWidget::StrongFocus);
singlebg = 0;
doublebg = 0;
diff --git a/katapult/plugins/catalogs/amarokcatalog/coverimage.cpp b/katapult/plugins/catalogs/amarokcatalog/coverimage.cpp
index 174d492..03a918e 100644
--- a/katapult/plugins/catalogs/amarokcatalog/coverimage.cpp
+++ b/katapult/plugins/catalogs/amarokcatalog/coverimage.cpp
@@ -64,7 +64,7 @@ TQImage CoverImage::load(int size) const
if ( !image.isNull() ) {
TQString savepath(_cachefolder);
savepath.append(TQString::number ( size )).append("@").append(md5sum.hexDigest());
- image = image.smoothScale(size, size, TQ_ScaleMin);
+ image = image.smoothScale(size, size, TQImage::ScaleMin);
if ( !url().isEmpty() ) {
image.save( savepath, TQImage::imageFormat ( url() ));
} else {