summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-09-02 15:54:20 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-09-04 10:29:54 +0900
commitf7a635a4fb9171353a8d752d1eff774dc2cc752c (patch)
tree8917f03394d4cf015549c016a79d918be675e416
parent75029e0c5d82e5c47945cab831e95db2e76f545f (diff)
downloadtdetoys-f7a635a4fb9171353a8d752d1eff774dc2cc752c.tar.gz
tdetoys-f7a635a4fb9171353a8d752d1eff774dc2cc752c.zip
Replace TQ_*Focus* and TQ_Scale* defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 7fc1f5e515890cdcaca6aaa83bf9e746a06f1b83)
-rw-r--r--fifteenapplet/qttableview.cpp4
-rw-r--r--kweather/weatherbutton.cpp2
2 files changed, 3 insertions, 3 deletions
diff --git a/fifteenapplet/qttableview.cpp b/fifteenapplet/qttableview.cpp
index 67d9c13..f30843c 100644
--- a/fifteenapplet/qttableview.cpp
+++ b/fifteenapplet/qttableview.cpp
@@ -1446,7 +1446,7 @@ TQScrollBar *QtTableView::verticalScrollBar() const
sb->resize( sb->sizeHint() ); // height is irrelevant
TQ_CHECK_PTR(sb);
sb->setTracking( FALSE );
- sb->setFocusPolicy( TQ_NoFocus );
+ sb->setFocusPolicy( TQWidget::NoFocus );
connect( sb, TQT_SIGNAL(valueChanged(int)),
TQT_SLOT(verSbValue(int)));
connect( sb, TQT_SIGNAL(sliderMoved(int)),
@@ -1475,7 +1475,7 @@ TQScrollBar *QtTableView::horizontalScrollBar() const
sb->setCursor( arrowCursor );
#endif
sb->resize( sb->sizeHint() ); // width is irrelevant
- sb->setFocusPolicy( TQ_NoFocus );
+ sb->setFocusPolicy( TQWidget::NoFocus );
TQ_CHECK_PTR(sb);
sb->setTracking( FALSE );
connect( sb, TQT_SIGNAL(valueChanged(int)),
diff --git a/kweather/weatherbutton.cpp b/kweather/weatherbutton.cpp
index f507be5..9137e54 100644
--- a/kweather/weatherbutton.cpp
+++ b/kweather/weatherbutton.cpp
@@ -98,7 +98,7 @@ void WeatherButton::generateIcons()
return;
TQImage image = pixmap()->convertToImage();
- image = image.smoothScale( pixmapSize(), TQ_ScaleMin );
+ image = image.smoothScale( pixmapSize(), TQImage::ScaleMin );
TDEIconEffect effect;