summaryrefslogtreecommitdiffstats
path: root/knode/knarticle.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'knode/knarticle.cpp')
-rw-r--r--knode/knarticle.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/knode/knarticle.cpp b/knode/knarticle.cpp
index 437639d1e..a46b98380 100644
--- a/knode/knarticle.cpp
+++ b/knode/knarticle.cpp
@@ -435,7 +435,7 @@ KNAttachment::KNAttachment(Content *c)
KNAttachment::KNAttachment(KNLoadHelper *helper)
: c_ontent(0), l_oadHelper(helper), f_ile(helper->getFile()), i_sAttached(false), h_asChanged(true)
{
- setMimeType((KMimeMagic::self()->tqfindFileType(f_ile->name()))->mimeType());
+ setMimeType((KMimeMagic::self()->findFileType(f_ile->name()))->mimeType());
n_ame=helper->getURL().fileName();
}
@@ -453,7 +453,7 @@ void KNAttachment::setMimeType(const TQString &s)
m_imeType=s.latin1();
h_asChanged=true;
- if(m_imeType.find("text/", 0, false)==-1) {
+ if(m_imeType.tqfind("text/", 0, false)==-1) {
f_b64=true;
e_ncoding.setCte(Headers::CEbase64);
}