summaryrefslogtreecommitdiffstats
path: root/kparts/historyprovider.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kparts/historyprovider.cpp')
-rw-r--r--kparts/historyprovider.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/kparts/historyprovider.cpp b/kparts/historyprovider.cpp
index 416a109f6..d62d94b3a 100644
--- a/kparts/historyprovider.cpp
+++ b/kparts/historyprovider.cpp
@@ -40,7 +40,7 @@ public:
HistoryProvider * HistoryProvider::self()
{
if ( !s_self )
- s_self = new HistoryProvider( kapp, "history provider" );
+ s_self = new HistoryProvider( TQT_TQOBJECT(kapp), "history provider" );
return s_self;
}
@@ -63,13 +63,13 @@ HistoryProvider::~HistoryProvider()
bool HistoryProvider::contains( const TQString& item ) const
{
- return (bool) d->dict.find( item );
+ return (bool) d->dict.tqfind( item );
}
void HistoryProvider::insert( const TQString& item )
{
// no need to allocate memory, we only want to have fast lookup, no mapping
- d->dict.replace( item, (void*) 1 );
+ d->dict.tqreplace( item, (void*) 1 );
emit inserted( item );
}