diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-09-02 15:53:00 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-09-04 10:10:24 +0900 |
commit | 7a9e5fefa81e292e306c727fab3e2a2b29c35c6e (patch) | |
tree | c8228cbdd6ab9c518a234013eb41e07f50ef3284 /kgeography | |
parent | a4d6089d3190091585de62066433167bc70007ab (diff) | |
download | tdeedu-7a9e5fefa81e292e306c727fab3e2a2b29c35c6e.tar.gz tdeedu-7a9e5fefa81e292e306c727fab3e2a2b29c35c6e.zip |
Replace TQ_*Focus* and TQ_Scale* defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit f673794b12fa8685c6682fad9ce67a3a971e25f9)
Diffstat (limited to 'kgeography')
-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()); } |