filters

#include <pen.h>

Inheritance diagram for Pen:
XmlParser

Public Member Functions

 Pen ()
double getWidth () const
int getStyle () const
TQColor getColor () const
void setWidth (double w)
void setStyle (int s)
void setColor (TQString color)
virtual void analyse (const TQDomNode)
virtual 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 describe a pen which is used to draw borders.

Definition at line 38 of file pen.h.

Constructor & Destructor Documentation

◆ Pen()

Pen::Pen ( )

Constructors.

Creates a new instance of Format.

Definition at line 29 of file pen.cpp.

◆ ~Pen()

virtual Pen::~Pen ( )
inlinevirtual

Definition at line 57 of file pen.h.

Member Function Documentation

◆ analyse()

void Pen::analyse ( const TQDomNode balise)
virtual

Helpfull functions.

Get informations from a markup tree (only param of a format).

Definition at line 34 of file pen.cpp.

◆ generate()

void Pen::generate ( TQTextStream & )
virtual

Definition at line 42 of file pen.cpp.

◆ getColor()

TQColor Pen::getColor ( ) const
inline

Definition at line 64 of file pen.h.

◆ getStyle()

int Pen::getStyle ( ) const
inline

Definition at line 63 of file pen.h.

◆ getWidth()

double Pen::getWidth ( ) const
inline

getters

Definition at line 62 of file pen.h.

◆ setColor()

void Pen::setColor ( TQString color)
inline

Definition at line 71 of file pen.h.

◆ setStyle()

void Pen::setStyle ( int s)
inline

Definition at line 70 of file pen.h.

◆ setWidth()

void Pen::setWidth ( double w)
inline

setters

Definition at line 69 of file pen.h.


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