diff options
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 ); }; } |