From cbecd3a8a71c92976314479c9ce892ee8138da5d Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 2 Apr 2011 21:48:09 +0000 Subject: Update kdebase inherits() to use new object name defines instead of string literals git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1226899 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- konqueror/konq_view.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'konqueror/konq_view.cc') diff --git a/konqueror/konq_view.cc b/konqueror/konq_view.cc index 873ba8242..a064e3116 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("QScrollView") ) + if (m_bBackRightClick && m_pPart->widget()->inherits(TQSCROLLVIEW_OBJECT_NAME_STRING) ) { (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("QScrollView") ) + if (m_bBackRightClick && m_pPart->widget()->inherits(TQSCROLLVIEW_OBJECT_NAME_STRING) ) { (static_cast(m_pPart->widget()))->viewport()->installEventFilter( this ); } -- cgit v1.2.1