summaryrefslogtreecommitdiffstats
path: root/keduca/libkeduca/fileread.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'keduca/libkeduca/fileread.cpp')
-rw-r--r--keduca/libkeduca/fileread.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/keduca/libkeduca/fileread.cpp b/keduca/libkeduca/fileread.cpp
index 7632b6fd..6c8c5aec 100644
--- a/keduca/libkeduca/fileread.cpp
+++ b/keduca/libkeduca/fileread.cpp
@@ -62,7 +62,7 @@ bool FileRead::loadFile(const TQString &filename)
{
TQDomDocument doc("document.xml");
- KMimeType::Ptr type = KMimeType::findByFileContent(filename);
+ KMimeType::Ptr type = KMimeType::tqfindByFileContent(filename);
kdDebug() << "FileRead::loadFile(): MIME-Type is " << type->name() << endl;
@@ -79,7 +79,7 @@ bool FileRead::loadFile(const TQString &filename)
}
else
{
- doc.setContent(qUncompress(file.readAll()));
+ doc.setContent(tqUncompress(file.readAll()));
}
TQDomElement docElem = doc.documentElement();
@@ -796,7 +796,7 @@ bool FileRead::saveFile( const TQString &filename, bool copyimages, bool saveCom
doc.save( stream, 4);
buffer.close();
if ( saveCompressed )
- file.writeBlock(qCompress(data));
+ file.writeBlock(tqCompress(data));
else
file.writeBlock(data);
file.close();
@@ -905,7 +905,7 @@ void FileRead::setHeader( const TQString field, const TQString value)
if( (_header[field]).isEmpty() )
_header.insert( field, value );
else
- _header.replace( field, value );
+ _header.tqreplace( field, value );
}
/** is Multi Answer */