From 5f5e7c5455d52826b0bd50f64fcffb7695ce970d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Sat, 29 Jun 2013 12:56:53 +0200 Subject: Initial TQt conversion --- src/fileexporterbibtex.h | 36 ++++++++++++++++++------------------ 1 file changed, 18 insertions(+), 18 deletions(-) (limited to 'src/fileexporterbibtex.h') diff --git a/src/fileexporterbibtex.h b/src/fileexporterbibtex.h index 6606283..b9d806e 100644 --- a/src/fileexporterbibtex.h +++ b/src/fileexporterbibtex.h @@ -26,7 +26,7 @@ #include #include -class QChar; +class TQChar; namespace BibTeX { @@ -46,12 +46,12 @@ namespace BibTeX FileExporterBibTeX(); ~FileExporterBibTeX(); - bool save( QIODevice* iodevice, const File* bibtexfile, QStringList *errorLog = NULL ); - bool save( QIODevice* iodevice, const Element* element, QStringList *errorLog = NULL ); + bool save( TQIODevice* iodevice, const File* bibtexfile, TQStringList *errorLog = NULL ); + bool save( TQIODevice* iodevice, const Element* element, TQStringList *errorLog = NULL ); - void setStringDelimiter( const QChar& stringOpenDelimiter, const QChar& stringCloseDelimiter ); + void setStringDelimiter( const TQChar& stringOpenDelimiter, const TQChar& stringCloseDelimiter ); void setKeywordCasing( const KeywordCasing keywordCasing ); - void setEncoding( const QString& encoding ); + void setEncoding( const TQString& encoding ); void setEnclosingCurlyBrackets( bool protectCasing ); public slots: @@ -62,25 +62,25 @@ namespace BibTeX char *m_iconvBuffer; const int m_iconvBufferSize; - QChar m_stringOpenDelimiter; - QChar m_stringCloseDelimiter; + TQChar m_stringOpenDelimiter; + TQChar m_stringCloseDelimiter; KeywordCasing m_keywordCasing; - QString m_encoding; + TQString m_encoding; bool m_protectCasing; bool cancelFlag; - bool writeEntry( QIODevice &device, const Entry* entry ); - bool writeMacro( QIODevice &device, const Macro *macro ); - bool writeComment( QIODevice &device, const Comment *comment ); - bool writePreamble( QIODevice &device, const Preamble* preamble ); - bool writeString( QIODevice &device, const QString& text ); + bool writeEntry( TQIODevice &device, const Entry* entry ); + bool writeMacro( TQIODevice &device, const Macro *macro ); + bool writeComment( TQIODevice &device, const Comment *comment ); + bool writePreamble( TQIODevice &device, const Preamble* preamble ); + bool writeString( TQIODevice &device, const TQString& text ); - QString valueToString( const Value *value, const EntryField::FieldType fieldType = EntryField::ftUnknown, const QString &fieldTypeName = QString::null ); + TQString valueToString( const Value *value, const EntryField::FieldType fieldType = EntryField::ftUnknown, const TQString &fieldTypeName = TQString::null ); - void removeBackslashQuoting( QString &text ); - QString applyKeywordCasing( const QString &keyword ); - bool requiresPersonQuoting( const QString &text, bool isLastName ); - void addProtectiveCasing( QString &text ); + void removeBackslashQuoting( TQString &text ); + TQString applyKeywordCasing( const TQString &keyword ); + bool requiresPersonQuoting( const TQString &text, bool isLastName ); + void addProtectiveCasing( TQString &text ); }; } -- cgit v1.2.3