summaryrefslogtreecommitdiffstats
path: root/keduca/libkeduca/fileread.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-01-07 04:18:52 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-01-07 04:18:52 +0000
commit648ba4a456d3aad2825193ff8f3bd52a875783b5 (patch)
tree0b50d2253a0c85238cc4dcba5c4f949de3f0eb15 /keduca/libkeduca/fileread.cpp
parent98a12d05a48814bec3870b9a6d5865475cfa1c95 (diff)
downloadtdeedu-648ba4a456d3aad2825193ff8f3bd52a875783b5.tar.gz
tdeedu-648ba4a456d3aad2825193ff8f3bd52a875783b5.zip
Revert automated changes
Sorry guys, they are just not ready for prime time Work will continue as always git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeedu@1212481 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
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 */