summaryrefslogtreecommitdiffstats
path: root/kmail/tests/messagedicttests.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kmail/tests/messagedicttests.cpp')
-rw-r--r--kmail/tests/messagedicttests.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/kmail/tests/messagedicttests.cpp b/kmail/tests/messagedicttests.cpp
index e11bc3915..cdb24f6d8 100644
--- a/kmail/tests/messagedicttests.cpp
+++ b/kmail/tests/messagedicttests.cpp
@@ -42,7 +42,7 @@ void MessageDictTester::testKMDictInsert()
p("Insert: ");
KMDictItem *item = new KMDictItem();
m_dict->insert( 12345, item );
- KMDictItem *found = m_dict->tqfind( 12345 );
+ KMDictItem *found = m_dict->find( 12345 );
CHECK( item, found);
}
@@ -50,7 +50,7 @@ void MessageDictTester::testKMDictRemove()
{
p("Remove: ");
m_dict->remove( 12345 );
- KMDictItem *item = m_dict->tqfind( 12345 );
+ KMDictItem *item = m_dict->find( 12345 );
CHECK( item, (KMDictItem*)0 );
}
@@ -65,13 +65,13 @@ void MessageDictTester::testKMDictClear()
void MessageDictTester::testKMDictReplace()
{
- p("Check tqreplace: ");
+ p("Check replace: ");
m_dict->init( 31 );
KMDictItem *oldItem = new KMDictItem();
KMDictItem *newItem = new KMDictItem();
m_dict->insert( 12345, oldItem );
- m_dict->tqreplace( 12345, newItem );
- KMDictItem *found = m_dict->tqfind( 12345 );
+ m_dict->replace( 12345, newItem );
+ KMDictItem *found = m_dict->find( 12345 );
CHECK( found, newItem );
}