filters

Key Class Reference

#include <key.h>

Inheritance diagram for Key:

XmlParser List of all members.

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.


Public Types

 PIXMAP
 PICTURE
enum  eKeyType { PIXMAP, PICTURE }

Public Member Functions

 Key (eKeyType)
virtual ~Key ()
QString getName () const
QString 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 (QString name)
void setFilename (QString 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 QDomNode)
void generate (QTextStream &)

Constructor & Destructor Documentation

Key::Key ( eKeyType   ) 

Constructors.

Creates a new instance of Key.

Parameters:
Text The text frame this paragraph is belonging to.

Definition at line 28 of file key.cc.


Member Function Documentation

void Key::analyse ( const   QDomNode  ) 

Get informations from a markup tree.

Definition at line 45 of file key.cc.

void Key::generate ( QTextStream &   ) 

Write the paragraph in a file.

Definition at line 69 of file key.cc.

QString Key::getName (  )  const [inline]

Returns:
the paragraph's name.

Definition at line 80 of file key.h.

void Key::setName ( QString  name  )  [inline]

Modifiers.

Definition at line 94 of file key.h.


The documentation for this class was generated from the following files:
KDE Home | KDE Accessibility Home | Description of Access Keys