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

ZkbConfig Class Reference

#include </home/clem/local/src/opie/noncore/applets/zkbapplet/keyzcfg/zkbcfg.h>

Collaboration diagram for ZkbConfig:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 ZkbConfig (const QString &dir)
virtual ~ZkbConfig ()
bool load (const QString &file, Keymap &keymap, const QString &prefix)
virtual bool warning (const QXmlParseException &e)
virtual bool error (const QXmlParseException &e)
virtual bool fatalError (const QXmlParseException &e)
virtual QString errorString ()

Protected Attributes

QString path
QMap< QString, int > includedFiles
QString err

Constructor & Destructor Documentation

ZkbConfig::ZkbConfig const QString dir  ) 
 

Definition at line 12 of file zkbcfg.cpp.

ZkbConfig::~ZkbConfig  )  [virtual]
 

Definition at line 15 of file zkbcfg.cpp.


Member Function Documentation

bool ZkbConfig::error const QXmlParseException &  e  )  [virtual]
 

Definition at line 61 of file zkbcfg.cpp.

References err, and QString::sprintf().

QString ZkbConfig::errorString  )  [virtual]
 

Definition at line 83 of file zkbcfg.cpp.

References err.

bool ZkbConfig::fatalError const QXmlParseException &  e  )  [virtual]
 

Definition at line 72 of file zkbcfg.cpp.

References err, and QString::sprintf().

bool ZkbConfig::load const QString file,
Keymap keymap,
const QString prefix
 

Definition at line 18 of file zkbcfg.cpp.

References QFileInfo::absFilePath(), QString::contains(), QMap< Key, T >::end(), err, QFileInfo::exists(), f, QMap< Key, T >::find(), includedFiles, QMap< Key, T >::insert(), odebug, oendl, path, QPEApplication::qpeDir(), and QMap< Key, T >::remove().

Referenced by ZkbWidget::loadKeymap(), and ZkbHandler::startIncludeElement().

bool ZkbConfig::warning const QXmlParseException &  e  )  [virtual]
 

Definition at line 50 of file zkbcfg.cpp.

References err, and QString::sprintf().


Member Data Documentation

QString ZkbConfig::err [protected]
 

Definition at line 23 of file zkbcfg.h.

Referenced by error(), errorString(), fatalError(), load(), and warning().

QMap<QString, int> ZkbConfig::includedFiles [protected]
 

Definition at line 22 of file zkbcfg.h.

Referenced by load().

QString ZkbConfig::path [protected]
 

Definition at line 21 of file zkbcfg.h.

Referenced by load().


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