summaryrefslogtreecommitdiffstats
path: root/konq-plugins
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2023-09-02 15:52:18 +0900
committerMichele Calgaro <[email protected]>2023-09-02 15:52:18 +0900
commitdedeb493d225084b3e7d477b4ebfc3894b3330a2 (patch)
treeb0fbbb3d0c78367f4f7d816f571cddab027f1ad2 /konq-plugins
parentebb204be62fcfced4a20f6a908ab3bd6003a09d6 (diff)
downloadtdeaddons-dedeb493d225084b3e7d477b4ebfc3894b3330a2.tar.gz
tdeaddons-dedeb493d225084b3e7d477b4ebfc3894b3330a2.zip
Replace TQ_*Focus* and TQ_Scale* defines
Signed-off-by: Michele Calgaro <[email protected]>
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);
}