summaryrefslogtreecommitdiffstats
path: root/knode/knarticlecollection.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:53:50 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:53:50 +0000
commit7be55ffa061c026e35e2d6a0effe1161ddb0d41f (patch)
tree8474f9b444b2756228600050f07a7ff25de532b2 /knode/knarticlecollection.cpp
parentf587f20a6d09f1729dd0a8c1cd8ee0110aec7451 (diff)
downloadtdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.tar.gz
tdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1157655 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
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();