summaryrefslogtreecommitdiffstats
path: root/src/kbfxplasmacanvasview.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2023-09-02 15:50:59 +0900
committerMichele Calgaro <[email protected]>2023-09-04 09:50:47 +0900
commit612b41af2bb0590663f6488c00ebb3636f73ed8b (patch)
treeb317b50b210a33eb6013ce50cb004f9d52ed017a /src/kbfxplasmacanvasview.cpp
parentfce56fa71d1fcad9648d2c9376cd5709a508060a (diff)
downloadkbfx-612b41af2bb0590663f6488c00ebb3636f73ed8b.tar.gz
kbfx-612b41af2bb0590663f6488c00ebb3636f73ed8b.zip
Replace TQ_*Focus* and TQ_Scale* definesr14.1.1
Signed-off-by: Michele Calgaro <[email protected]> (cherry picked from commit 9119aa80e2361c34c3e03919f97262a068c4d5d8)
Diffstat (limited to 'src/kbfxplasmacanvasview.cpp')
-rw-r--r--src/kbfxplasmacanvasview.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/kbfxplasmacanvasview.cpp b/src/kbfxplasmacanvasview.cpp
index d7c8511..6be8623 100644
--- a/src/kbfxplasmacanvasview.cpp
+++ b/src/kbfxplasmacanvasview.cpp
@@ -329,7 +329,7 @@ KbfxPlasmaCanvasView::setKbfxCanvas ( TQCanvas * cnv )
if ( pixmap != NULL )
{
TQImage img = pixmap->convertToImage();
- img = img.smoothScale ( this->width(),pixmap->height(),TQ_ScaleFree );
+ img = img.smoothScale ( this->width(),pixmap->height(),TQImage::ScaleFree );
pixmap->convertFromImage ( img );
this->canvas ()->setBackgroundPixmap ( *pixmap );
}
@@ -463,7 +463,7 @@ KbfxPlasmaCanvasView::search_R ( const TQString name )
if ( pixmap != NULL )
{
TQImage img = pixmap->convertToImage();
- img = img.smoothScale ( this->width(),pixmap->height(),TQ_ScaleFree );
+ img = img.smoothScale ( this->width(),pixmap->height(),TQImage::ScaleFree );
pixmap->convertFromImage ( img );
this->canvas ()->setBackgroundPixmap ( *pixmap );
}