From 648ba4a456d3aad2825193ff8f3bd52a875783b5 Mon Sep 17 00:00:00 2001 From: tpearson Date: Fri, 7 Jan 2011 04:18:52 +0000 Subject: 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 --- keduca/libkeduca/fileread.cpp | 8 ++++---- keduca/libkeduca/kgallerydialogbase.ui | 28 ++++++++++++++-------------- 2 files changed, 18 insertions(+), 18 deletions(-) (limited to 'keduca/libkeduca') 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 */ diff --git a/keduca/libkeduca/kgallerydialogbase.ui b/keduca/libkeduca/kgallerydialogbase.ui index b98bfa91..ccd51e46 100644 --- a/keduca/libkeduca/kgallerydialogbase.ui +++ b/keduca/libkeduca/kgallerydialogbase.ui @@ -4,7 +4,7 @@ KGalleryDialogBase - + 0 0 @@ -24,7 +24,7 @@ - tqlayout13 + layout13 @@ -32,7 +32,7 @@ - tqlayout4 + layout4 @@ -45,7 +45,7 @@ Name: - + AlignVCenter @@ -58,7 +58,7 @@ - tqlayout3 + layout3 @@ -81,7 +81,7 @@ - tqlayout12 + layout12 @@ -97,7 +97,7 @@ Preferred - + 20 10 @@ -108,7 +108,7 @@ buttonAdd - + 100 0 @@ -264,7 +264,7 @@ - tqlayout2 + layout2 @@ -274,7 +274,7 @@ buttonHelp - + 100 0 @@ -294,7 +294,7 @@ Expanding - + 40 20 @@ -305,7 +305,7 @@ buttonOpen - + 100 0 @@ -322,7 +322,7 @@ buttonCancel - + 100 0 @@ -366,5 +366,5 @@ slotButtonAdd() slotServerSelected(QListViewItem*) - + -- cgit v1.2.1