summaryrefslogtreecommitdiffstats
path: root/src/kernel/qabstractlayout.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/kernel/qabstractlayout.cpp')
-rw-r--r--src/kernel/qabstractlayout.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/kernel/qabstractlayout.cpp b/src/kernel/qabstractlayout.cpp
index b0f0e8beb..69cee62fd 100644
--- a/src/kernel/qabstractlayout.cpp
+++ b/src/kernel/qabstractlayout.cpp
@@ -771,7 +771,7 @@ TQWidget *TQLayout::mainWidget()
{
if ( !topLevel ) {
if ( parent() ) {
- TQLayout *parentLayout = ::qt_cast<TQLayout*>(parent());
+ TQLayout *parentLayout = ::tqt_cast<TQLayout*>(parent());
Q_ASSERT(parentLayout);
return parentLayout->mainWidget();
} else {
@@ -891,7 +891,7 @@ bool TQLayout::eventFilter( TQObject *o, TQEvent *e )
TQWidget *w = (TQWidget *)c->child();
if ( !w->isTopLevel() ) {
#if !defined(QT_NO_MENUBAR) && !defined(QT_NO_TOOLBAR)
- if ( ::qt_cast<TQMenuBar*>(w) && !::qt_cast<TQToolBar*>(w->parentWidget()) )
+ if ( ::tqt_cast<TQMenuBar*>(w) && !::tqt_cast<TQToolBar*>(w->parentWidget()) )
menubar = (TQMenuBar *)w;
else
#endif