From 10308be19ef7fa44699562cc75946e7ea1fdf6b9 Mon Sep 17 00:00:00 2001 From: tpearson Date: Fri, 7 Jan 2011 03:45:53 +0000 Subject: Revert automated changes Sorry guys, they are just not ready for prime time Work will continue as always git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1212479 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kparts/historyprovider.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'kparts/historyprovider.cpp') 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 ); } -- cgit v1.2.1