diff options
Diffstat (limited to 'parts')
-rw-r--r-- | parts/fileselector/kactionselector.cpp | 2 | ||||
-rw-r--r-- | parts/konsole/konsoleviewwidget.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/parts/fileselector/kactionselector.cpp b/parts/fileselector/kactionselector.cpp index a3c4034d..0534901b 100644 --- a/parts/fileselector/kactionselector.cpp +++ b/parts/fileselector/kactionselector.cpp @@ -391,7 +391,7 @@ bool KActionSelector::eventFilter( TQObject *o, TQEvent *e ) } return true; } - else if ( o->inherits( "TQListBox" ) ) + else if ( o->inherits( TQLISTBOX_OBJECT_NAME_STRING ) ) { switch ( ((TQKeyEvent*)e)->key() ) { diff --git a/parts/konsole/konsoleviewwidget.cpp b/parts/konsole/konsoleviewwidget.cpp index 1604a321..cced1b88 100644 --- a/parts/konsole/konsoleviewwidget.cpp +++ b/parts/konsole/konsoleviewwidget.cpp @@ -62,7 +62,7 @@ void KonsoleViewWidget::activate() setFocusProxy(part->widget()); part->widget()->setFocus(); - if (part->widget()->inherits("TQFrame")) + if (part->widget()->inherits(TQFRAME_OBJECT_NAME_STRING)) ((TQFrame*)part->widget())->setFrameStyle(TQFrame::Panel|TQFrame::Sunken); vbox->addWidget(part->widget()); |