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

ListViewItemConfigEntry Class Reference

#include </home/clem/local/src/opie/noncore/apps/confedit/listviewitemconfigentry.h>

Inheritance diagram for ListViewItemConfigEntry:

Inheritance graph
[legend]
Collaboration diagram for ListViewItemConfigEntry:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 ListViewItemConfigEntry (ListViewItemConfFile *parent, QString group, QString key="")
 ~ListViewItemConfigEntry ()
bool isGroup ()
bool isKey ()
QString getFile ()
void setGroup (QString)
QString getGroup ()
void setKey (QString)
QString getKey ()
QString getValue ()
void keyChanged (QString)
void valueChanged (QString)
virtual void displayText ()
virtual void changed ()
virtual void remove ()
virtual void expand ()
void save (QTextStream *)
virtual void revert ()

Private Attributes

QString _file
QString _group
QString _key
QString _value
QString _groupOrig
QString _keyOrig
QString _valueOrig
ListViewItemConfFile_fileItem

Constructor & Destructor Documentation

ListViewItemConfigEntry::ListViewItemConfigEntry ListViewItemConfFile parent,
QString  group,
QString  key = ""
 

Definition at line 14 of file listviewitemconfigentry.cpp.

References _file, _fileItem, _group, _groupOrig, _key, _keyOrig, _value, _valueOrig, ListViewItemConfFile::fileName(), and setKey().

ListViewItemConfigEntry::~ListViewItemConfigEntry  ) 
 

Definition at line 26 of file listviewitemconfigentry.cpp.


Member Function Documentation

void ListViewItemConfigEntry::changed  )  [virtual]
 

Reimplemented from ListViewItemConf.

Definition at line 104 of file listviewitemconfigentry.cpp.

References ListViewItemConf::_changed, _fileItem, ListViewItemConf::changed(), and displayText().

Referenced by keyChanged(), setGroup(), and valueChanged().

void ListViewItemConfigEntry::displayText  )  [virtual]
 

Implements ListViewItemConf.

Definition at line 89 of file listviewitemconfigentry.cpp.

References ListViewItemConf::_changed, _group, _key, ListViewItemConf::_type, _value, isGroup(), and s.

Referenced by changed(), revert(), and setKey().

void ListViewItemConfigEntry::expand  )  [virtual]
 

Implements ListViewItemConf.

Definition at line 147 of file listviewitemconfigentry.cpp.

QString ListViewItemConfigEntry::getFile  ) 
 

Definition at line 40 of file listviewitemconfigentry.cpp.

References _file.

QString ListViewItemConfigEntry::getGroup  ) 
 

Definition at line 52 of file listviewitemconfigentry.cpp.

References _group.

QString ListViewItemConfigEntry::getKey  ) 
 

Definition at line 65 of file listviewitemconfigentry.cpp.

References _key.

QString ListViewItemConfigEntry::getValue  ) 
 

Definition at line 70 of file listviewitemconfigentry.cpp.

References _value.

bool ListViewItemConfigEntry::isGroup  ) 
 

Definition at line 30 of file listviewitemconfigentry.cpp.

References _key, and QString::isEmpty().

Referenced by displayText(), and save().

bool ListViewItemConfigEntry::isKey  ) 
 

Definition at line 35 of file listviewitemconfigentry.cpp.

References _key, and QString::isEmpty().

void ListViewItemConfigEntry::keyChanged QString   ) 
 

Definition at line 75 of file listviewitemconfigentry.cpp.

References _key, and changed().

void ListViewItemConfigEntry::remove  )  [virtual]
 

Implements ListViewItemConf.

Definition at line 112 of file listviewitemconfigentry.cpp.

void ListViewItemConfigEntry::revert  )  [virtual]
 

Implements ListViewItemConf.

Definition at line 137 of file listviewitemconfigentry.cpp.

References ListViewItemConf::_changed, _group, _groupOrig, _key, _keyOrig, _value, _valueOrig, and displayText().

void ListViewItemConfigEntry::save QTextStream  ) 
 

Definition at line 117 of file listviewitemconfigentry.cpp.

References ListViewItemConf::_changed, _group, _key, ListViewItemConf::_type, _value, isGroup(), and s.

void ListViewItemConfigEntry::setGroup QString   ) 
 

Definition at line 45 of file listviewitemconfigentry.cpp.

References _group, and changed().

void ListViewItemConfigEntry::setKey QString   ) 
 

Definition at line 57 of file listviewitemconfigentry.cpp.

References _key, _value, displayText(), QString::find(), QString::left(), QString::length(), pos, QString::right(), and QString::stripWhiteSpace().

Referenced by ListViewItemConfigEntry().

void ListViewItemConfigEntry::valueChanged QString   ) 
 

Definition at line 82 of file listviewitemconfigentry.cpp.

References _value, and changed().


Member Data Documentation

QString ListViewItemConfigEntry::_file [private]
 

Definition at line 42 of file listviewitemconfigentry.h.

Referenced by getFile(), and ListViewItemConfigEntry().

ListViewItemConfFile* ListViewItemConfigEntry::_fileItem [private]
 

Definition at line 49 of file listviewitemconfigentry.h.

Referenced by changed(), and ListViewItemConfigEntry().

QString ListViewItemConfigEntry::_group [private]
 

Definition at line 43 of file listviewitemconfigentry.h.

Referenced by displayText(), getGroup(), ListViewItemConfigEntry(), revert(), save(), and setGroup().

QString ListViewItemConfigEntry::_groupOrig [private]
 

Definition at line 46 of file listviewitemconfigentry.h.

Referenced by ListViewItemConfigEntry(), and revert().

QString ListViewItemConfigEntry::_key [private]
 

Definition at line 44 of file listviewitemconfigentry.h.

Referenced by displayText(), getKey(), isGroup(), isKey(), keyChanged(), ListViewItemConfigEntry(), revert(), save(), and setKey().

QString ListViewItemConfigEntry::_keyOrig [private]
 

Definition at line 47 of file listviewitemconfigentry.h.

Referenced by ListViewItemConfigEntry(), and revert().

QString ListViewItemConfigEntry::_value [private]
 

Definition at line 45 of file listviewitemconfigentry.h.

Referenced by displayText(), getValue(), ListViewItemConfigEntry(), revert(), save(), setKey(), and valueChanged().

QString ListViewItemConfigEntry::_valueOrig [private]
 

Definition at line 48 of file listviewitemconfigentry.h.

Referenced by ListViewItemConfigEntry(), and revert().


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