From 2a899a60c990d7254f579f463187eb0a55a14a64 Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 2 Oct 2010 04:18:40 +0000 Subject: [CRITICAL] Fix additional rendering issues left over from initial TQt conversion git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1181781 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- konqueror/konq_actions.cc | 2 +- konqueror/konq_mainwindow.cc | 2 +- konqueror/konq_view.cc | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) (limited to 'konqueror') diff --git a/konqueror/konq_actions.cc b/konqueror/konq_actions.cc index 7e1069ba5..7cb8a6148 100644 --- a/konqueror/konq_actions.cc +++ b/konqueror/konq_actions.cc @@ -94,7 +94,7 @@ int KonqBidiHistoryAction::plug( TQWidget *widget, int index ) return -1; // Go menu - if ( widget->inherits("TQPopupMenu") ) + if ( widget->inherits("QPopupMenu") ) { m_goMenu = (TQPopupMenu*)widget; // Forward signal (to main view) diff --git a/konqueror/konq_mainwindow.cc b/konqueror/konq_mainwindow.cc index 964870ce0..ada6c2ef3 100644 --- a/konqueror/konq_mainwindow.cc +++ b/konqueror/konq_mainwindow.cc @@ -1044,7 +1044,7 @@ TQObject *KonqMainWindow::lastFrame( KonqView *view ) TQObject *nextFrame, *viewFrame; nextFrame = view->frame(); viewFrame = 0; - while ( nextFrame != 0 && ! nextFrame->inherits( "TQWidgetStack" ) ) { + while ( nextFrame != 0 && ! nextFrame->inherits( "QWidgetStack" ) ) { viewFrame = nextFrame; nextFrame = nextFrame->parent(); } diff --git a/konqueror/konq_view.cc b/konqueror/konq_view.cc index aa96171fa..b27779a4e 100644 --- a/konqueror/konq_view.cc +++ b/konqueror/konq_view.cc @@ -472,7 +472,7 @@ void KonqView::connectPart( ) m_pPart->widget()->installEventFilter( this ); - if (m_bBackRightClick && m_pPart->widget()->inherits("TQScrollView") ) + if (m_bBackRightClick && m_pPart->widget()->inherits("QScrollView") ) { (static_cast(m_pPart->widget()))->viewport()->installEventFilter( this ); } @@ -1220,7 +1220,7 @@ void KonqView::reparseConfiguration() bool b = KonqSettings::backRightClick(); if ( m_bBackRightClick != b ) { - if (m_bBackRightClick && m_pPart->widget()->inherits("TQScrollView") ) + if (m_bBackRightClick && m_pPart->widget()->inherits("QScrollView") ) { (static_cast(m_pPart->widget()))->viewport()->installEventFilter( this ); } -- cgit v1.2.1