summaryrefslogtreecommitdiffstats
path: root/konqueror/konq_view.cc
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-04-02 21:48:09 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-04-02 21:48:09 +0000
commitcbecd3a8a71c92976314479c9ce892ee8138da5d (patch)
tree082c9abc0aab13bcefbe5f3578eb55c6e6964cdb /konqueror/konq_view.cc
parent161e6c2e3ade351f6d1fbed595939c86e397274c (diff)
downloadtdebase-cbecd3a8a71c92976314479c9ce892ee8138da5d.tar.gz
tdebase-cbecd3a8a71c92976314479c9ce892ee8138da5d.zip
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
Diffstat (limited to 'konqueror/konq_view.cc')
-rw-r--r--konqueror/konq_view.cc4
1 files changed, 2 insertions, 2 deletions
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<TQScrollView *>(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<TQScrollView *>(m_pPart->widget()))->viewport()->installEventFilter( this );
}