summaryrefslogtreecommitdiffstats
path: root/knode/knarticle.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/knarticle.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/knarticle.cpp')
-rw-r--r--knode/knarticle.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/knode/knarticle.cpp b/knode/knarticle.cpp
index d43e501ea..fe475b1b3 100644
--- a/knode/knarticle.cpp
+++ b/knode/knarticle.cpp
@@ -85,7 +85,7 @@ KNRemoteArticle::~KNRemoteArticle()
void KNRemoteArticle::parse()
{
KNArticle::parse();
- QCString raw;
+ TQCString raw;
if( !(raw=rawHeader(m_essageID.type())).isEmpty() )
m_essageID.from7BitString(raw);
@@ -168,7 +168,7 @@ void KNRemoteArticle::initListItem()
if(f_rom.hasName())
i_tem->setText(1, f_rom.name());
else
- i_tem->setText(1, QString(f_rom.email()));
+ i_tem->setText(1, TQString(f_rom.email()));
updateListItem();
}
@@ -296,7 +296,7 @@ KNLocalArticle::~KNLocalArticle()
void KNLocalArticle::parse()
{
KNArticle::parse();
- QCString raw;
+ TQCString raw;
if( !(raw=rawHeader(n_ewsgroups.type())).isEmpty() )
n_ewsgroups.from7BitString(raw);
@@ -359,7 +359,7 @@ void KNLocalArticle::updateListItem()
if(!i_tem)
return;
- QString tmp;
+ TQString tmp;
int idx=0;
KNConfig::Appearance *app=knGlobals.configManager()->appearance();
@@ -448,7 +448,7 @@ KNAttachment::~KNAttachment()
}
-void KNAttachment::setMimeType(const QString &s)
+void KNAttachment::setMimeType(const TQString &s)
{
m_imeType=s.latin1();
h_asChanged=true;
@@ -467,9 +467,9 @@ void KNAttachment::setMimeType(const QString &s)
}
-QString KNAttachment::contentSize() const
+TQString KNAttachment::contentSize() const
{
- QString ret;
+ TQString ret;
int s=0;
if(c_ontent && c_ontent->hasContent())
@@ -537,7 +537,7 @@ void KNAttachment::attach(Content *c)
updateContentInfo();
Headers::ContentType *type=c_ontent->contentType();
Headers::CTEncoding *e=c_ontent->contentTransferEncoding();
- QByteArray data(f_ile->size());
+ TQByteArray data(f_ile->size());
int readBytes=f_ile->readBlock(data.data(), f_ile->size());
@@ -552,7 +552,7 @@ void KNAttachment::attach(Content *c)
e->setCte(Headers::CEbase64);
e->setDecoded(false);
} else {
- c_ontent->setBody( QCString(data.data(), data.size()+1) + '\n' );
+ c_ontent->setBody( TQCString(data.data(), data.size()+1) + '\n' );
// c_ontent->b_ody += '\n';
e->setDecoded(true);
}