diff options
author | Michele Calgaro <[email protected]> | 2023-09-02 15:53:50 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2023-09-04 10:31:40 +0900 |
commit | 203566f83535401b5013d37c4e319b1278a4d650 (patch) | |
tree | aeeac7a86d9225fc54cc8c8c73df440fb9ba1ab5 /kopete/libkopete/ui/kopetelistviewitem.cpp | |
parent | c613d3df31b003c077f524cd7184590339b0c04d (diff) | |
download | tdenetwork-203566f83535401b5013d37c4e319b1278a4d650.tar.gz tdenetwork-203566f83535401b5013d37c4e319b1278a4d650.zip |
Replace TQ_*Focus* and TQ_Scale* defines
Signed-off-by: Michele Calgaro <[email protected]>
(cherry picked from commit d37705184967f236c728938b2824abbed628ce26)
Diffstat (limited to 'kopete/libkopete/ui/kopetelistviewitem.cpp')
-rw-r--r-- | kopete/libkopete/ui/kopetelistviewitem.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kopete/libkopete/ui/kopetelistviewitem.cpp b/kopete/libkopete/ui/kopetelistviewitem.cpp index 94fbff0f..a71b19f5 100644 --- a/kopete/libkopete/ui/kopetelistviewitem.cpp +++ b/kopete/libkopete/ui/kopetelistviewitem.cpp @@ -790,7 +790,7 @@ void ImageComponent::paint( TQPainter *painter, const TQColorGroup & ) painter->drawPixmap( rc & ourRc, d->image ); } -void ImageComponent::scale( int w, int h, TQ_ScaleMode mode ) +void ImageComponent::scale( int w, int h, TQImage::ScaleMode mode ) { TQImage im = d->image.convertToImage(); setPixmap( TQPixmap( im.smoothScale( w, h, mode ) ) ); @@ -1052,7 +1052,7 @@ void DisplayNameComponent::redraw() case Kopete::Emoticons::Image: ic = new ImageComponent( this ); ic->setPixmap( TQPixmap( (*token).picPath ) ); - ic->scale( INT_MAX, fontHeight, TQ_ScaleMin ); + ic->scale( INT_MAX, fontHeight, TQImage::ScaleMin ); break; default: kdDebug( 14010 ) << k_funcinfo << "This should have not happened!" << endl; |