diff options
author | Slávek Banko <[email protected]> | 2013-06-29 12:56:53 +0200 |
---|---|---|
committer | Slávek Banko <[email protected]> | 2013-07-04 03:11:35 +0200 |
commit | 5f5e7c5455d52826b0bd50f64fcffb7695ce970d (patch) | |
tree | c8ee8792d3fb139365abbf70c2255f1e69d2aa34 /src/fileimporterbibtex.h | |
parent | 251c9a439759c830d34c70683d0fc9454d703010 (diff) | |
download | kbibtex-5f5e7c5455d52826b0bd50f64fcffb7695ce970d.tar.gz kbibtex-5f5e7c5455d52826b0bd50f64fcffb7695ce970d.zip |
Initial TQt conversion
Diffstat (limited to 'src/fileimporterbibtex.h')
-rw-r--r-- | src/fileimporterbibtex.h | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/src/fileimporterbibtex.h b/src/fileimporterbibtex.h index 39ab911..a1dd89f 100644 --- a/src/fileimporterbibtex.h +++ b/src/fileimporterbibtex.h @@ -41,11 +41,11 @@ namespace BibTeX class FileImporterBibTeX : public FileImporter { public: - FileImporterBibTeX( bool personFirstNameFirst = FALSE, QString encoding = "latex" ); + FileImporterBibTeX( bool personFirstNameFirst = FALSE, TQString encoding = "latex" ); ~FileImporterBibTeX(); - File* load( QIODevice *iodevice ); - static bool guessCanDecode( const QString & text ); + File* load( TQIODevice *iodevice ); + static bool guessCanDecode( const TQString & text ); void setIgnoreComments( bool ignoreComments ); @@ -59,14 +59,14 @@ namespace BibTeX }; bool cancelFlag; - QTextStream *m_textStream; + TQTextStream *m_textStream; bool m_personFirstNameFirst; - QChar m_currentChar; + TQChar m_currentChar; bool m_ignoreComments; char *m_lineBuffer; const int m_lineBufferSize; - QString m_encoding; - QString m_currentLine; + TQString m_encoding; + TQString m_currentLine; unsigned int m_posIntCurrentLine; int m_currentLineNumber; @@ -74,21 +74,21 @@ namespace BibTeX Comment *readPlainCommentElement(); Macro *readMacroElement(); Preamble *readPreambleElement(); - Entry *readEntryElement( const QString& typeString ); + Entry *readEntryElement( const TQString& typeString ); Element *nextElement(); Token nextToken(); - QString readString( bool &isStringKey ); - QString readSimpleString( QChar until = '\0' ); - QString readQuotedString(); - QString readLine(); - QString readBracketString( const QChar openingBracket ); + TQString readString( bool &isStringKey ); + TQString readSimpleString( TQChar until = '\0' ); + TQString readQuotedString(); + TQString readLine(); + TQString readBracketString( const TQChar openingBracket ); Token readValue( Value *value, EntryField::FieldType fieldType ); - void unescapeLaTeXChars( QString &text ); - void splitPersons( const QString& test, QStringList &persons ); + void unescapeLaTeXChars( TQString &text ); + void splitPersons( const TQString& test, TQStringList &persons ); void evaluateParameterComments( iconv_t &iconvHandle, const char *line ); - QChar nextChar(); - QString tokenidToString( Token token ); + TQChar nextChar(); + TQString tokenidToString( Token token ); }; } |