diff options
author | Michele Calgaro <[email protected]> | 2023-07-12 10:17:40 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2023-07-13 10:08:05 +0900 |
commit | 22625693f124aae09863f4d33e30b625a96c3557 (patch) | |
tree | f8c5e348d163222d25d1e0de896910bb06ce7aed /konqueror/konq_view.cpp | |
parent | 0d30cdb3832749dc273f6d7bb82859937a462b43 (diff) | |
download | tdebase-22625693f124aae09863f4d33e30b625a96c3557.tar.gz tdebase-22625693f124aae09863f4d33e30b625a96c3557.zip |
Replace _OBJECT_NAME_STRING defines with actual strings. This relates to the merging of tqtinterface with tqt3.
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'konqueror/konq_view.cpp')
-rw-r--r-- | konqueror/konq_view.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/konqueror/konq_view.cpp b/konqueror/konq_view.cpp index 3a970018b..9f7bef4d8 100644 --- a/konqueror/konq_view.cpp +++ b/konqueror/konq_view.cpp @@ -472,7 +472,7 @@ void KonqView::connectPart( ) m_pPart->widget()->installEventFilter( this ); - if (m_bBackRightClick && m_pPart->widget()->inherits(TQSCROLLVIEW_OBJECT_NAME_STRING) ) + if (m_bBackRightClick && m_pPart->widget()->inherits("TQScrollView") ) { (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(TQSCROLLVIEW_OBJECT_NAME_STRING) ) + if (m_bBackRightClick && m_pPart->widget()->inherits("TQScrollView") ) { (static_cast<TQScrollView *>(m_pPart->widget()))->viewport()->installEventFilter( this ); } @@ -1265,7 +1265,7 @@ bool KonqView::eventFilter( TQObject *obj, TQEvent *e ) KURL::List lstDragURLs; bool ok = KURLDrag::decode( ev, lstDragURLs ); - TQObjectList *children = m_pPart->widget()->queryList( TQWIDGET_OBJECT_NAME_STRING ); + TQObjectList *children = m_pPart->widget()->queryList( "TQWidget" ); if ( ok && !lstDragURLs.first().url().contains( "javascript:", false ) && // ### this looks like a hack to me |