diff options
Diffstat (limited to 'kgeography/src')
-rw-r--r-- | kgeography/src/kgeography.cpp | 4 | ||||
-rw-r--r-- | kgeography/src/mapasker.cpp | 2 |
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); |