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 6c8c5aec..7632b6fd 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::tqfindByFileContent(filename);
+ KMimeType::Ptr type = KMimeType::findByFileContent(filename);
kdDebug() << "FileRead::loadFile(): MIME-Type is " << type->name() << endl;
@@ -79,7 +79,7 @@ bool FileRead::loadFile(const TQString &filename)
}
else
{
- doc.setContent(tqUncompress(file.readAll()));
+ doc.setContent(qUncompress(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(tqCompress(data));
+ file.writeBlock(qCompress(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.tqreplace( field, value );
+ _header.replace( field, value );
}
/** is Multi Answer */