diff options
Diffstat (limited to 'kgeography/src')
-rw-r--r-- | kgeography/src/boxasker.cpp | 2 | ||||
-rw-r--r-- | kgeography/src/mapchooser.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/kgeography/src/boxasker.cpp b/kgeography/src/boxasker.cpp index 7becc6c1..b2ca281a 100644 --- a/kgeography/src/boxasker.cpp +++ b/kgeography/src/boxasker.cpp @@ -33,7 +33,7 @@ boxAsker::boxAsker(TQWidget *parent, KGmap *m, TQWidget *w, uint count) : askWid for(int i = 0; i < 4; i++) { p_rb[i] = new TQRadioButton(bg); - p_rb[i]->setFocusPolicy(TQ_StrongFocus); + p_rb[i]->setFocusPolicy(TQWidget::StrongFocus); } p_accept = new KPushButton(this); diff --git a/kgeography/src/mapchooser.cpp b/kgeography/src/mapchooser.cpp index 50f720d9..5f921501 100644 --- a/kgeography/src/mapchooser.cpp +++ b/kgeography/src/mapchooser.cpp @@ -85,7 +85,7 @@ void mapChooser::putImage(const TQString &mapName) KGmap *m; m = p_maps[mapName]; TQImage image(m -> getMapFile()); - image = image.smoothScale(300, 225, TQ_ScaleMin); + image = image.smoothScale(300, 225, TQImage::ScaleMin); p_image -> setPaletteBackgroundPixmap(TQPixmap(image)); p_image -> setFixedSize(image.size()); } |