summaryrefslogtreecommitdiffstats
path: root/knode/knarticlecollection.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'knode/knarticlecollection.cpp')
-rw-r--r--knode/knarticlecollection.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/knode/knarticlecollection.cpp b/knode/knarticlecollection.cpp
index bd8def75b..cbb4779b3 100644
--- a/knode/knarticlecollection.cpp
+++ b/knode/knarticlecollection.cpp
@@ -198,7 +198,7 @@ int KNArticleVector::compareById(const void *p1, const void *p2)
int KNArticleVector::compareByMsgId(const void *p1, const void *p2)
{
KNArticle *a1, *a2;
- QCString mid1, mid2;
+ TQCString mid1, mid2;
a1=*(KNArticle**)(p1);
a2=*(KNArticle**)(p2);
@@ -221,7 +221,7 @@ KNArticle* KNArticleVector::bsearch(int id)
}
-KNArticle* KNArticleVector::bsearch(const QCString &id)
+KNArticle* KNArticleVector::bsearch(const TQCString &id)
{
int idx=indexForMsgId(id);
@@ -261,12 +261,12 @@ int KNArticleVector::indexForId(int id)
}
-int KNArticleVector::indexForMsgId(const QCString &id)
+int KNArticleVector::indexForMsgId(const TQCString &id)
{
if(s_ortType!=STmsgId) return -1;
int start=0, end=l_en, mid=0;
- QCString currentMid=0;
+ TQCString currentMid=0;
bool found=false;
KNArticle *current=0;
int cnt=0;
@@ -368,7 +368,7 @@ KNArticle* KNArticleCollection::byId(int id)
}
-KNArticle* KNArticleCollection::byMessageId(const QCString &mid)
+KNArticle* KNArticleCollection::byMessageId(const TQCString &mid)
{
if(m_idIndex.isEmpty()) {
m_idIndex.syncWithMaster();