diff options
Diffstat (limited to 'kparts/historyprovider.cpp')
-rw-r--r-- | kparts/historyprovider.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/kparts/historyprovider.cpp b/kparts/historyprovider.cpp index a62c48a8e..416a109f6 100644 --- a/kparts/historyprovider.cpp +++ b/kparts/historyprovider.cpp @@ -61,15 +61,15 @@ HistoryProvider::~HistoryProvider() s_self = 0; } -bool HistoryProvider::tqcontains( const TQString& item ) const +bool HistoryProvider::contains( const TQString& item ) const { - return (bool) d->dict.tqfind( item ); + return (bool) d->dict.find( item ); } void HistoryProvider::insert( const TQString& item ) { // no need to allocate memory, we only want to have fast lookup, no mapping - d->dict.tqreplace( item, (void*) 1 ); + d->dict.replace( item, (void*) 1 ); emit inserted( item ); } |