summaryrefslogtreecommitdiffstats
path: root/kgeography/src/mapchooser.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kgeography/src/mapchooser.cpp')
-rw-r--r--kgeography/src/mapchooser.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/kgeography/src/mapchooser.cpp b/kgeography/src/mapchooser.cpp
index 50f720d9..da852413 100644
--- a/kgeography/src/mapchooser.cpp
+++ b/kgeography/src/mapchooser.cpp
@@ -11,7 +11,7 @@
#include <tdelocale.h>
#include <tdeglobal.h>
#include <tdemessagebox.h>
-#include <kstandarddirs.h>
+#include <tdestandarddirs.h>
#include <tqhbox.h>
#include <tqimage.h>
@@ -56,8 +56,8 @@ mapChooser::mapChooser(TQWidget *parent) : KDialogBase(parent, 0, true, i18n("Ch
p_image = new TQWidget(mapArea);
mapLay -> addWidget(p_image, 1, 1);
- connect(p_listBox, TQT_SIGNAL(highlighted(const TQString&)), this, TQT_SLOT(putImage(const TQString&)));
- connect(p_listBox, TQT_SIGNAL(selected(int)), this, TQT_SLOT(slotOk()));
+ connect(p_listBox, TQ_SIGNAL(highlighted(const TQString&)), this, TQ_SLOT(putImage(const TQString&)));
+ connect(p_listBox, TQ_SIGNAL(selected(int)), this, TQ_SLOT(slotOk()));
setMainWidget(mainHB);
@@ -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());
}