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

CfgDlg Class Reference

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

Collaboration diagram for CfgDlg:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 CfgDlg (QWidget *parent, CfgFile *cfile, QApplication *, bool b=false)
virtual ~CfgDlg ()

Protected Slots

void add ()
void del ()
void setLabel ()
void keymapHighlighted (const QString &)

Protected Member Functions

virtual void accept ()

Protected Attributes

CfgFilecfile
QApplication * application
QMap< QString, QStringm
QListBox * files
QListBox * keymaps
QLineEdit * label
QSpinBox * ap
QSpinBox * ad

Constructor & Destructor Documentation

CfgDlg::CfgDlg QWidget *  parent,
CfgFile cfile,
QApplication *  ,
bool  b = false
 

Definition at line 9 of file cfgdlg.cpp.

References ad, add(), addButton(), ap, QValueList< T >::begin(), cfile, del(), QMap< Key, T >::end(), QValueList< T >::end(), QDir::entryList(), files, QMap< Key, T >::find(), CfgFile::getAutorepeatDelay(), CfgFile::getAutorepeatPeriod(), CfgFile::getEntries(), CfgEntry::getFile(), CfgEntry::getLabel(), i, QMap< Key, T >::insert(), keymapHighlighted(), keymaps, l, label, m, QRegExp::match(), QPEApplication::qpeDir(), setLabel(), and tr.

CfgDlg::~CfgDlg  )  [virtual]
 

Definition at line 89 of file cfgdlg.cpp.


Member Function Documentation

void CfgDlg::accept  )  [protected, virtual]
 

Definition at line 125 of file cfgdlg.cpp.

References ad, ap, Global::applicationFileName(), cfile, p, CfgParser::save(), CfgFile::setAutorepeatDelay(), and CfgFile::setAutorepeatPeriod().

void CfgDlg::add  )  [protected, slot]
 

Definition at line 92 of file cfgdlg.cpp.

References cfile, files, keymaps, m, QMap< Key, T >::replace(), CfgFile::replaceEntry(), and t.

Referenced by CfgDlg().

void CfgDlg::del  )  [protected, slot]
 

Definition at line 102 of file cfgdlg.cpp.

References cfile, CfgFile::deleteEntry(), files, keymaps, m, QMap< Key, T >::remove(), and t.

Referenced by CfgDlg().

void CfgDlg::keymapHighlighted const QString  )  [protected, slot]
 

Definition at line 120 of file cfgdlg.cpp.

References QMap< Key, T >::find(), label, and m.

Referenced by CfgDlg().

void CfgDlg::setLabel  )  [protected, slot]
 

Definition at line 112 of file cfgdlg.cpp.

References cfile, keymaps, label, m, QMap< Key, T >::replace(), and CfgFile::replaceEntry().

Referenced by CfgDlg().


Member Data Documentation

QSpinBox* CfgDlg::ad [protected]
 

Definition at line 30 of file cfgdlg.h.

Referenced by accept(), and CfgDlg().

QSpinBox* CfgDlg::ap [protected]
 

Definition at line 29 of file cfgdlg.h.

Referenced by accept(), and CfgDlg().

QApplication* CfgDlg::application [protected]
 

Definition at line 22 of file cfgdlg.h.

CfgFile* CfgDlg::cfile [protected]
 

Definition at line 21 of file cfgdlg.h.

Referenced by accept(), add(), CfgDlg(), del(), and setLabel().

QListBox* CfgDlg::files [protected]
 

Definition at line 26 of file cfgdlg.h.

Referenced by add(), CfgDlg(), and del().

QListBox* CfgDlg::keymaps [protected]
 

Definition at line 27 of file cfgdlg.h.

Referenced by add(), CfgDlg(), del(), and setLabel().

QLineEdit* CfgDlg::label [protected]
 

Definition at line 28 of file cfgdlg.h.

Referenced by CfgDlg(), keymapHighlighted(), and setLabel().

QMap<QString, QString> CfgDlg::m [protected]
 

Definition at line 24 of file cfgdlg.h.

Referenced by add(), CfgDlg(), del(), keymapHighlighted(), and setLabel().


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