From ba6b21419810544e0c8666969d21d72161d9084c Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Wed, 21 Dec 2011 14:20:25 -0600 Subject: Rename obsolete tq methods to standard names --- kgeography/src/kgeography.cpp | 4 ++-- kgeography/src/mapasker.cpp | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'kgeography/src') 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(w -> tqlayout()); + TQBoxLayout *vbl = dynamic_cast(w -> layout()); p_next = new TQLabel(w); p_next -> setAlignment(AlignTop | AlignHCenter); p_fill = new TQWidget(w); -- cgit v1.2.1