summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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;