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

CfgFile Class Reference

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

List of all members.

Public Member Functions

 CfgFile ()
 ~CfgFile ()
QList< CfgEntry > & getEntries ()
bool replaceEntry (const QString &file, const QString &label, int index=-1)
bool deleteEntry (const QString &file)
int getAutorepeatDelay () const
void setAutorepeatDelay (int)
int getAutorepeatPeriod () const
void setAutorepeatPeriod (int)

Protected Attributes

QList< CfgEntryentries
int ardelay
int arperiod


Constructor & Destructor Documentation

CfgFile::CfgFile  ) 
 

Definition at line 35 of file cfgfile.cpp.

CfgFile::~CfgFile  ) 
 

Definition at line 38 of file cfgfile.cpp.


Member Function Documentation

bool CfgFile::deleteEntry const QString file  ) 
 

Definition at line 58 of file cfgfile.cpp.

References entries, CfgEntry::getFile(), and i.

Referenced by CfgDlg::del(), and replaceEntry().

int CfgFile::getAutorepeatDelay  )  const
 

Definition at line 69 of file cfgfile.cpp.

References ardelay.

Referenced by CfgDlg::CfgDlg(), and CfgParser::save().

int CfgFile::getAutorepeatPeriod  )  const
 

Definition at line 77 of file cfgfile.cpp.

References arperiod.

Referenced by CfgDlg::CfgDlg(), and CfgParser::save().

QList< CfgEntry > & CfgFile::getEntries  ) 
 

Definition at line 41 of file cfgfile.cpp.

References entries.

Referenced by CfgDlg::CfgDlg(), and CfgParser::save().

bool CfgFile::replaceEntry const QString file,
const QString label,
int  index = -1
 

Definition at line 45 of file cfgfile.cpp.

References deleteEntry(), and entries.

Referenced by CfgDlg::add(), CfgParser::load(), and CfgDlg::setLabel().

void CfgFile::setAutorepeatDelay int   ) 
 

Definition at line 73 of file cfgfile.cpp.

References ardelay.

Referenced by CfgDlg::accept(), and CfgParser::load().

void CfgFile::setAutorepeatPeriod int   ) 
 

Definition at line 81 of file cfgfile.cpp.

References arperiod.

Referenced by CfgDlg::accept(), and CfgParser::load().


Member Data Documentation

int CfgFile::ardelay [protected]
 

Definition at line 39 of file cfgfile.h.

Referenced by getAutorepeatDelay(), and setAutorepeatDelay().

int CfgFile::arperiod [protected]
 

Definition at line 40 of file cfgfile.h.

Referenced by getAutorepeatPeriod(), and setAutorepeatPeriod().

QList<CfgEntry> CfgFile::entries [protected]
 

Definition at line 38 of file cfgfile.h.

Referenced by deleteEntry(), getEntries(), and replaceEntry().


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