summaryrefslogtreecommitdiffstats
path: root/akregator/src/tabwidget.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'akregator/src/tabwidget.cpp')
-rw-r--r--akregator/src/tabwidget.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/akregator/src/tabwidget.cpp b/akregator/src/tabwidget.cpp
index 60ba42b3f..cbd7e737a 100644
--- a/akregator/src/tabwidget.cpp
+++ b/akregator/src/tabwidget.cpp
@@ -218,7 +218,7 @@ void TabWidget::setTitle( const TQString &title , TQWidget* sender)
newTitle = newTitle.left( newMaxLength-3 ) + "...";
}
- newTitle.tqreplace( '&', "&&" );
+ newTitle.replace( '&', "&&" );
if ( tabLabel( sender ) != newTitle )
changeTab( sender, newTitle );
@@ -235,7 +235,7 @@ void TabWidget::setTitle( const TQString &title , TQWidget* sender)
newTitle = newTitle.left( newMaxLength-3 ) + "...";
}
- newTitle.tqreplace( '&', "&&" );
+ newTitle.replace( '&', "&&" );
if ( newTitle != tabLabel( page( i ) ) )
changeTab( page( i ), newTitle );
}
@@ -298,8 +298,8 @@ void TabWidget::slotCloseTab()
d->currentItem = currentPage();
if (indexOf(d->currentItem) == 0)
return;
- if (d->frames.tqfind(d->currentItem) != NULL)
- removeFrame(d->frames.tqfind(d->currentItem));
+ if (d->frames.find(d->currentItem) != NULL)
+ removeFrame(d->frames.find(d->currentItem));
delete d->currentItem;
d->currentItem = 0;
}
@@ -323,8 +323,8 @@ void TabWidget::initiateDrag(int tab)
void TabWidget::slotCloseRequest(TQWidget* widget)
{
- if (d->frames.tqfind(widget) != NULL)
- removeFrame(d->frames.tqfind(widget));
+ if (d->frames.find(widget) != NULL)
+ removeFrame(d->frames.find(widget));
}
} // namespace Akregator