diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2013-06-29 12:56:53 +0200 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2013-07-04 03:11:35 +0200 |
commit | 5f5e7c5455d52826b0bd50f64fcffb7695ce970d (patch) | |
tree | c8ee8792d3fb139365abbf70c2255f1e69d2aa34 /src/fileexporterbibtex.h | |
parent | 251c9a439759c830d34c70683d0fc9454d703010 (diff) | |
download | kbibtex-5f5e7c5455d52826b0bd50f64fcffb7695ce970d.tar.gz kbibtex-5f5e7c5455d52826b0bd50f64fcffb7695ce970d.zip |
Initial TQt conversion
Diffstat (limited to 'src/fileexporterbibtex.h')
-rw-r--r-- | src/fileexporterbibtex.h | 36 |
1 files changed, 18 insertions, 18 deletions
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 <entryfield.h> #include <fileexporter.h> -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 ); }; } |