summaryrefslogtreecommitdiffstats
path: root/src/fileexporterxslt.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/fileexporterxslt.cpp')
-rw-r--r--src/fileexporterxslt.cpp34
1 files changed, 17 insertions, 17 deletions
diff --git a/src/fileexporterxslt.cpp b/src/fileexporterxslt.cpp
index a5a3255..14991e6 100644
--- a/src/fileexporterxslt.cpp
+++ b/src/fileexporterxslt.cpp
@@ -17,7 +17,7 @@
* Free Software Foundation, Inc., *
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
***************************************************************************/
-#include <qbuffer.h>
+#include <ntqbuffer.h>
#include <fileexporterxml.h>
#include <xsltransform.h>
@@ -40,23 +40,23 @@ namespace BibTeX
delete m_exporterXML;
}
- bool FileExporterXSLT::save( QIODevice* iodevice, const File* bibtexfile, QStringList *errorLog )
+ bool FileExporterXSLT::save( TQIODevice* iodevice, const File* bibtexfile, TQStringList *errorLog )
{
m_mutex.lock();
- QBuffer buffer;
+ TQBuffer buffer;
buffer.open( IO_WriteOnly );
if ( m_exporterXML->save( &buffer, bibtexfile, errorLog ) )
{
buffer.close();
buffer.open( IO_ReadOnly );
- QTextStream ts( &buffer );
- ts.setEncoding( QTextStream::UnicodeUTF8 );
- QString xml = ts.read();
+ TQTextStream ts( &buffer );
+ ts.setEncoding( TQTextStream::UnicodeUTF8 );
+ TQString xml = ts.read();
buffer.close();
- QString html = m_transformer->transform( xml );
- QTextStream htmlTS( iodevice );
- htmlTS.setEncoding( QTextStream::UnicodeUTF8 );
+ TQString html = m_transformer->transform( xml );
+ TQTextStream htmlTS( iodevice );
+ htmlTS.setEncoding( TQTextStream::UnicodeUTF8 );
htmlTS << html << endl;
m_mutex.unlock();
return TRUE;
@@ -66,23 +66,23 @@ namespace BibTeX
return FALSE;
}
- bool FileExporterXSLT::save( QIODevice* iodevice, const Element* element, QStringList *errorLog )
+ bool FileExporterXSLT::save( TQIODevice* iodevice, const Element* element, TQStringList *errorLog )
{
m_mutex.lock();
- QBuffer buffer;
+ TQBuffer buffer;
buffer.open( IO_WriteOnly );
if ( m_exporterXML->save( &buffer, element, errorLog ) )
{
buffer.close();
buffer.open( IO_ReadOnly );
- QTextStream xmlTS( &buffer );
- xmlTS.setEncoding( QTextStream::UnicodeUTF8 );
- QString xml = xmlTS.read();
+ TQTextStream xmlTS( &buffer );
+ xmlTS.setEncoding( TQTextStream::UnicodeUTF8 );
+ TQString xml = xmlTS.read();
buffer.close();
- QString html = m_transformer->transform( xml );
- QTextStream output( iodevice );
- output.setEncoding( QTextStream::UnicodeUTF8 );
+ TQString html = m_transformer->transform( xml );
+ TQTextStream output( iodevice );
+ output.setEncoding( TQTextStream::UnicodeUTF8 );
output << html << endl;
m_mutex.unlock();
return TRUE;