Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

KeytabReader Class Reference

Collaboration diagram for KeytabReader:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 KeytabReader (QString p, QIODevice &d)
void getCc ()
void getSymbol ()
void parseTo (KeyTrans *kt)
void ReportError (const char *msg)
void ReportToken ()
 KeytabReader (QString p, QIODevice &d)
void getCc ()
void getSymbol ()
void parseTo (KeyTrans *kt)
void ReportError (const char *msg)
void ReportToken ()

Private Attributes

int sym
QString res
int len
int slinno
int scolno
int cc
int linno
int colno
QIODevicebuf
QString path
QIODevicebuf

Constructor & Destructor Documentation

KeytabReader::KeytabReader QString  p,
QIODevice d
 

Definition at line 167 of file keytrans.cpp.

References buf, cc, and path.

KeytabReader::KeytabReader QString  p,
QIODevice d
 


Member Function Documentation

void KeytabReader::getCc  ) 
 

void KeytabReader::getCc  ) 
 

Definition at line 174 of file keytrans.cpp.

References buf, cc, colno, QIODevice::getch(), and linno.

Referenced by getSymbol(), and parseTo().

void KeytabReader::getSymbol  ) 
 

void KeytabReader::getSymbol  ) 
 

Definition at line 182 of file keytrans.cpp.

References cc, colno, convNibble, getCc(), inRange, isNibble, len, linno, res, scolno, slinno, sym, SYMEof, SYMEol, SYMError, SYMName, SYMOpr, and SYMString.

Referenced by parseTo().

void KeytabReader::parseTo KeyTrans kt  ) 
 

void KeytabReader::parseTo KeyTrans kt  ) 
 

Definition at line 318 of file keytrans.cpp.

References QString::ascii(), assertSyntax, bits, buf, QIODevice::close(), CMD_send, colno, ERROR, getCc(), getSymbol(), IO_ReadOnly, KeyTransSymbols::keysyms, QString::latin1(), linno, KeyTransSymbols::modsyms, on, QIODevice::open(), KeyTransSymbols::oprsyms, path, res, scolno, slinno, sym, SYMEof, SYMEol, SYMName, SYMOpr, and SYMString.

Referenced by KeyTrans::fromDevice().

void KeytabReader::ReportError const char *  msg  ) 
 

void KeytabReader::ReportError const char *  msg  ) 
 

Definition at line 275 of file keytrans.cpp.

References QString::ascii(), path, scolno, and slinno.

void KeytabReader::ReportToken  ) 
 

void KeytabReader::ReportToken  ) 
 

Definition at line 258 of file keytrans.cpp.

References i, QString::latin1(), len, QString::length(), printf, res, slinno, sym, SYMEof, SYMEol, SYMName, SYMOpr, and SYMString.


Member Data Documentation

QIODevice* KeytabReader::buf [private]
 

Definition at line 162 of file keytrans.cpp.

QIODevice* KeytabReader::buf [private]
 

Definition at line 162 of file keytrans.cpp.

Referenced by getCc(), KeytabReader(), and parseTo().

int KeytabReader::cc [private]
 

Definition at line 159 of file keytrans.cpp.

Referenced by getCc(), getSymbol(), and KeytabReader().

int KeytabReader::colno [private]
 

Definition at line 161 of file keytrans.cpp.

Referenced by getCc(), getSymbol(), and parseTo().

int KeytabReader::len [private]
 

Definition at line 155 of file keytrans.cpp.

Referenced by getSymbol(), and ReportToken().

int KeytabReader::linno [private]
 

Definition at line 160 of file keytrans.cpp.

Referenced by getCc(), getSymbol(), and parseTo().

QString KeytabReader::path [private]
 

Definition at line 163 of file keytrans.cpp.

Referenced by KeytabReader(), parseTo(), and ReportError().

QString KeytabReader::res [private]
 

Definition at line 154 of file keytrans.cpp.

Referenced by getSymbol(), parseTo(), and ReportToken().

int KeytabReader::scolno [private]
 

Definition at line 157 of file keytrans.cpp.

Referenced by getSymbol(), parseTo(), and ReportError().

int KeytabReader::slinno [private]
 

Definition at line 156 of file keytrans.cpp.

Referenced by getSymbol(), parseTo(), ReportError(), and ReportToken().

int KeytabReader::sym [private]
 

Definition at line 153 of file keytrans.cpp.

Referenced by getSymbol(), parseTo(), and ReportToken().


The documentation for this class was generated from the following files:
Generated on Sat Nov 5 17:37:46 2005 for OPIE by  doxygen 1.4.2