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-02 15:54:20 +0900
commit7fc1f5e515890cdcaca6aaa83bf9e746a06f1b83 (patch)
tree525ed7ce1f838eef74baf76097fc6961b2db8189
parent936476f96ca8f5533e55180e91c0278ac369f327 (diff)
downloadtdetoys-7fc1f5e515890cdcaca6aaa83bf9e746a06f1b83.tar.gz
tdetoys-7fc1f5e515890cdcaca6aaa83bf9e746a06f1b83.zip
Replace TQ_*Focus* and TQ_Scale* defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
-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;