summaryrefslogtreecommitdiffstats
path: root/konq-plugins
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-09-02 15:52:18 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-09-04 10:10:07 +0900
commit001ba9ea240b3951cd3ea41162d537abf2ab0cd0 (patch)
tree9bb1ec0e1cfbb17d6d1c926c8fe6ae21dd6775be /konq-plugins
parentfee3c3fcc6673ccd466e81d199064b690c1d307e (diff)
downloadtdeaddons-001ba9ea240b3951cd3ea41162d537abf2ab0cd0.tar.gz
tdeaddons-001ba9ea240b3951cd3ea41162d537abf2ab0cd0.zip
Replace TQ_*Focus* and TQ_Scale* defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit dedeb493d225084b3e7d477b4ebfc3894b3330a2)
Diffstat (limited to 'konq-plugins')
-rw-r--r--konq-plugins/fsview/treemap.cpp2
-rw-r--r--konq-plugins/sidebar/newsticker/nsstacktabwidget.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/konq-plugins/fsview/treemap.cpp b/konq-plugins/fsview/treemap.cpp
index 9c3d877..f56d1cd 100644
--- a/konq-plugins/fsview/treemap.cpp
+++ b/konq-plugins/fsview/treemap.cpp
@@ -1140,7 +1140,7 @@ TreeMapWidget::TreeMapWidget(TreeMapItem* base,
_needsRefresh = _base;
setBackgroundMode(TQt::NoBackground);
- setFocusPolicy(TQ_StrongFocus);
+ setFocusPolicy(TQWidget::StrongFocus);
_tip = new TreeMapTip(this);
}
diff --git a/konq-plugins/sidebar/newsticker/nsstacktabwidget.cpp b/konq-plugins/sidebar/newsticker/nsstacktabwidget.cpp
index e70f3ce..52edae0 100644
--- a/konq-plugins/sidebar/newsticker/nsstacktabwidget.cpp
+++ b/konq-plugins/sidebar/newsticker/nsstacktabwidget.cpp
@@ -171,7 +171,7 @@ namespace KSB_News {
TQPixmap pixmap = nsp->pixmap();
if ((pixmap.width() > 88) || (pixmap.height() > 31)) {
TQImage image = pixmap.convertToImage();
- pixmap.convertFromImage(image.smoothScale(88, 31, TQ_ScaleMin));
+ pixmap.convertFromImage(image.smoothScale(88, 31, TQImage::ScaleMin));
}
pb->setPixmap(pixmap);
}