filters

#include <key.h>

Inheritance diagram for Key:
XmlParser

Public Types

enum  eKeyType { PIXMAP , PICTURE }

Public Member Functions

 Key (eKeyType)
TQString getName () const
TQString getFilename () const
int getHour () const
int getMSec () const
int getDay () const
int getMinute () const
int getSecond () const
int getMonth () const
int getYear () const
void setName (TQString name)
void setFilename (TQString filename)
void setHour (int hour)
void setMSec (int msec)
void setDay (int day)
void setMinute (int minute)
void setSecond (int second)
void setMonth (int month)
void setYear (int year)
void analyse (const TQDomNode)
void generate (TQTextStream &)
Public Member Functions inherited from XmlParser
 XmlParser (TQString)
 XmlParser (TQByteArray)
 XmlParser (const KoStore *)
TQString getFilename () const
TQString getDocument () const
Document * getRoot () const
FileHeader * getFileHeader () const
TQString getChildName (TQDomNode, int)
TQDomNode getChild (TQDomNode, TQString)
TQDomNode getChild (TQDomNode, TQString, int)
TQDomNode getChild (TQDomNode, int)
TQString getData (TQDomNode, int)
TQString getData (TQDomNode, TQString)
int getNbChild (TQDomNode, TQString)
int getNbChild (TQDomNode)
TQString getAttr (TQDomNode, TQString) const
bool isChild (TQDomNode, TQString)
void setFileHeader (FileHeader *h)
void setRoot (Document *r)
TQDomNode init ()
 XmlParser (Config *, TQString)
 XmlParser (Config *, TQByteArray)
 XmlParser (Config *, const KoStore *)
TQString getFilename () const
TQString getDocument () const
Document * getRoot () const
KoStore * getStorage () const
TQString getChildName (TQDomNode, int)
TQDomNode getChild (TQDomNode, TQString)
TQDomNode getChild (TQDomNode, TQString, int)
TQDomNode getChild (TQDomNode, int)
TQString getData (TQDomNode, int)
int getNbChild (TQDomNode, TQString)
int getNbChild (TQDomNode)
TQString getAttr (TQDomNode, TQString) const
bool isChild (TQDomNode, TQString)
void setRoot (Document *r)
TQDomNode init ()

Additional Inherited Members

Static Protected Attributes inherited from XmlParser
static FileHeader * _fileHeader = 0
static Document * _root = 0
static TQString _filename

Detailed Description

This class hold a real paragraph.

It tells about the text in this paragraph, its format, etc. The complete text is a list of Key instances. A footnote is a list of paragraph instances (now but not in the "futur").

Definition at line 38 of file key.h.

Member Enumeration Documentation

◆ eKeyType

enum Key::eKeyType

Definition at line 41 of file key.h.

Constructor & Destructor Documentation

◆ Key()

Key::Key ( eKeyType type)

Constructors.

Creates a new instance of Key.

Parameters
TextThe text frame this paragraph is belonging to.

Definition at line 28 of file key.cpp.

◆ ~Key()

Key::~Key ( )
virtual

Definition at line 37 of file key.cpp.

Member Function Documentation

◆ analyse()

void Key::analyse ( const TQDomNode balise)

Helpfull functions.

Get informations from a markup tree.

Definition at line 45 of file key.cpp.

◆ generate()

void Key::generate ( TQTextStream & out)

Write the paragraph in a file.

Definition at line 69 of file key.cpp.

◆ getDay()

int Key::getDay ( ) const
inline

Definition at line 84 of file key.h.

◆ getFilename()

TQString Key::getFilename ( ) const
inline

Definition at line 81 of file key.h.

◆ getHour()

int Key::getHour ( ) const
inline

Definition at line 82 of file key.h.

◆ getMinute()

int Key::getMinute ( ) const
inline

Definition at line 85 of file key.h.

◆ getMonth()

int Key::getMonth ( ) const
inline

Definition at line 87 of file key.h.

◆ getMSec()

int Key::getMSec ( ) const
inline

Definition at line 83 of file key.h.

◆ getName()

TQString Key::getName ( ) const
inline

Accessors.

Returns
the paragraph's name.

Definition at line 80 of file key.h.

◆ getSecond()

int Key::getSecond ( ) const
inline

Definition at line 86 of file key.h.

◆ getYear()

int Key::getYear ( ) const
inline

Definition at line 88 of file key.h.

◆ setDay()

void Key::setDay ( int day)
inline

Definition at line 98 of file key.h.

◆ setFilename()

void Key::setFilename ( TQString filename)
inline

Definition at line 95 of file key.h.

◆ setHour()

void Key::setHour ( int hour)
inline

Definition at line 96 of file key.h.

◆ setMinute()

void Key::setMinute ( int minute)
inline

Definition at line 99 of file key.h.

◆ setMonth()

void Key::setMonth ( int month)
inline

Definition at line 101 of file key.h.

◆ setMSec()

void Key::setMSec ( int msec)
inline

Definition at line 97 of file key.h.

◆ setName()

void Key::setName ( TQString name)
inline

Modifiers.

Definition at line 94 of file key.h.

◆ setSecond()

void Key::setSecond ( int second)
inline

Definition at line 100 of file key.h.

◆ setYear()

void Key::setYear ( int year)
inline

Definition at line 102 of file key.h.


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