diff options
Diffstat (limited to 'kontact/src')
-rw-r--r-- | kontact/src/iconsidepane.cpp | 4 | ||||
-rw-r--r-- | kontact/src/mainwindow.cpp | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/kontact/src/iconsidepane.cpp b/kontact/src/iconsidepane.cpp index 5b1ff2bd8..85e7e7a4f 100644 --- a/kontact/src/iconsidepane.cpp +++ b/kontact/src/iconsidepane.cpp @@ -344,7 +344,7 @@ void Navigator::updatePlugins( TQValueList<Kontact::Plugin*> plugins_ ) minWidth = item->width( this ); } - tqparentWidget()->setFixedWidth( minWidth ); + parentWidget()->setFixedWidth( minWidth ); } void Navigator::dragEnterEvent( TQDragEnterEvent *event ) @@ -491,7 +491,7 @@ void Navigator::slotShowRMBMenu( TQListBoxItem *, const TQPoint &pos ) if (width > maxWidth) maxWidth = width; } - tqparentWidget()->setFixedWidth( maxWidth ); + parentWidget()->setFixedWidth( maxWidth ); triggerUpdate( true ); } diff --git a/kontact/src/mainwindow.cpp b/kontact/src/mainwindow.cpp index 582b895a6..8439b4fce 100644 --- a/kontact/src/mainwindow.cpp +++ b/kontact/src/mainwindow.cpp @@ -805,12 +805,12 @@ void MainWindow::selectPlugin( Kontact::Plugin *plugin ) TQWidget *tqfocusWidget = kapp->tqfocusWidget(); if ( mCurrentPlugin && tqfocusWidget ) { // save the focus widget only when it belongs to the activated part - TQWidget *tqparent = tqfocusWidget->tqparentWidget(); + TQWidget *tqparent = tqfocusWidget->parentWidget(); while ( tqparent ) { if ( tqparent == mCurrentPlugin->part()->widget() ) mFocusWidgets.insert( mCurrentPlugin->identifier(), TQGuardedPtr<TQWidget>( tqfocusWidget ) ); - tqparent = tqparent->tqparentWidget(); + tqparent = tqparent->parentWidget(); } } |