diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-04-02 21:48:09 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-04-02 21:48:09 +0000 |
commit | cbecd3a8a71c92976314479c9ce892ee8138da5d (patch) | |
tree | 082c9abc0aab13bcefbe5f3578eb55c6e6964cdb /konqueror | |
parent | 161e6c2e3ade351f6d1fbed595939c86e397274c (diff) | |
download | tdebase-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')
-rw-r--r-- | konqueror/konq_actions.cc | 2 | ||||
-rw-r--r-- | konqueror/konq_mainwindow.cc | 2 | ||||
-rw-r--r-- | konqueror/konq_view.cc | 4 |
3 files changed, 4 insertions, 4 deletions
diff --git a/konqueror/konq_actions.cc b/konqueror/konq_actions.cc index 047066040..c67d27c8f 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("QPopupMenu") ) + if ( widget->inherits(TQPOPUPMENU_OBJECT_NAME_STRING) ) { m_goMenu = (TQPopupMenu*)widget; // Forward signal (to main view) diff --git a/konqueror/konq_mainwindow.cc b/konqueror/konq_mainwindow.cc index f162c0b60..79b88daa3 100644 --- a/konqueror/konq_mainwindow.cc +++ b/konqueror/konq_mainwindow.cc @@ -1044,7 +1044,7 @@ TQObject *KonqMainWindow::lastFrame( KonqView *view ) TQObject *nextFrame, *viewFrame; nextFrame = TQT_TQOBJECT(view->frame()); viewFrame = 0; - while ( nextFrame != 0 && ! nextFrame->inherits( "QWidgetStack" ) ) { + while ( nextFrame != 0 && ! nextFrame->inherits( TQWIDGETSTACK_OBJECT_NAME_STRING ) ) { viewFrame = nextFrame; nextFrame = nextFrame->tqparent(); } 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 ); } |