summaryrefslogtreecommitdiffstats
path: root/kgeography
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-21 14:20:25 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-21 14:20:25 -0600
commitba6b21419810544e0c8666969d21d72161d9084c (patch)
tree1850cd178553cd190ab7194f3b318e23ce7c98c6 /kgeography
parent746abe84406ed1ec1a8dc68f29ce0ab8322ccc80 (diff)
downloadtdeedu-ba6b21419810544e0c8666969d21d72161d9084c.tar.gz
tdeedu-ba6b21419810544e0c8666969d21d72161d9084c.zip
Rename obsolete tq methods to standard names
Diffstat (limited to 'kgeography')
-rw-r--r--kgeography/src/kgeography.cpp4
-rw-r--r--kgeography/src/mapasker.cpp2
2 files changed, 3 insertions, 3 deletions
diff --git a/kgeography/src/kgeography.cpp b/kgeography/src/kgeography.cpp
index ea293a75..3fd4ab1f 100644
--- a/kgeography/src/kgeography.cpp
+++ b/kgeography/src/kgeography.cpp
@@ -59,8 +59,8 @@ kgeography::kgeography() : KMainWindow(), p_firstShow(true), p_mustShowResultsDi
p_askDivisionFlags = new KPushButton(i18n("G&uess Flag of Division..."), p_leftWidget);
TQWhatsThis::add(p_askDivisionFlags, i18n("In this quiz you have to guess the flag of a division given its name"));
p_underLeftWidget = new TQVBox(p_leftWidget);
- p_underLeftWidget -> tqlayout() -> setSpacing(KDialog::spacingHint());
- p_underLeftWidget -> tqlayout() -> setMargin(KDialog::marginHint());
+ p_underLeftWidget -> layout() -> setSpacing(KDialog::spacingHint());
+ p_underLeftWidget -> layout() -> setMargin(KDialog::marginHint());
p_leftWidget -> setStretchFactor(p_underLeftWidget, 1);
setCentralWidget(p_bigWidget);
diff --git a/kgeography/src/mapasker.cpp b/kgeography/src/mapasker.cpp
index 3426fecf..daf4ed6d 100644
--- a/kgeography/src/mapasker.cpp
+++ b/kgeography/src/mapasker.cpp
@@ -51,7 +51,7 @@ mapAsker::mapAsker(TQWidget *parent, KGmap *m, TQWidget *w, bool asker, uint cou
if (asker)
{
- TQBoxLayout *vbl = dynamic_cast<TQBoxLayout*>(w -> tqlayout());
+ TQBoxLayout *vbl = dynamic_cast<TQBoxLayout*>(w -> layout());
p_next = new TQLabel(w);
p_next -> setAlignment(AlignTop | AlignHCenter);
p_fill = new TQWidget(w);