Logo Search packages:      
Sourcecode: kbibtex version File versions  Download package

BibTeX::FileImporterBibTeX Class Reference

#include <fileimporterbibtex.h>

Inheritance diagram for BibTeX::FileImporterBibTeX:


List of all members.

Detailed Description

Thomas Fischer

Definition at line 36 of file fileimporterbibtex.h.

Public Slots

void cancel ()


void parseError (int errorId)
void progress (int current, int total)

Public Member Functions

File * load (const QString &text)
File * load (QIODevice *iodevice)

Static Public Member Functions

static bool guessCanDecode (const QString &text)

Private Types

enum  Token {
  tAt, tBracketOpen, tBracketClose, tAlphaNumText,
  tComma, tSemicolon, tAssign, tDoublecross,
  tPercent, tEOF, tUnknown

Private Member Functions

Element * nextElement (File *bibtexFile)
Token nextToken ()
QString readBracketString (const QChar openingBracket)
Comment * readCommentElement ()
Entry * readEntryElement (const QString &typeString)
QString readLine ()
Macro * readMacroElement ()
Comment * readPercentCommentElement ()
QString readQuotedString ()
QString readSimpleString (QChar until= '\0')
QString readString (bool &isStringKey)
void unescapeLaTeXChars (QString &text)

Private Attributes

bool cancelFlag
QChar currentChar
QTextStream * m_textStream

The documentation for this class was generated from the following files:

Generated by  Doxygen 1.6.0   Back to index