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

ColumnDef Class Reference

#include </home/clem/local/src/opie/noncore/apps/checkbook/tabledef.h>

Collaboration diagram for ColumnDef:

Collaboration graph
[legend]
List of all members.

Public Types

enum  ColumnType { typeString = 0x1, typeList = 0x2, typeUnique = 0x80000000 }

Public Member Functions

 ColumnDef (const char *sName, ColumnType type, const char *sNewValue)
void addColumnValue (const QString &Value)
void addColumnValue (const char *sValue)
const QString getName ()
const QString getNewValue ()
int isType (ColumnType x)
int hasFlag (ColumnType x)
QStringListgetValueList ()

Private Attributes

QString _sName
QString _sNewValue
enum ColumnType _type
QStringList _valueList

Member Enumeration Documentation

enum ColumnDef::ColumnType
 

Enumeration values:
typeString 
typeList 
typeUnique 

Definition at line 42 of file tabledef.h.


Constructor & Destructor Documentation

ColumnDef::ColumnDef const char *  sName,
ColumnType  type,
const char *  sNewValue
 

Definition at line 35 of file tabledef.cpp.

References _sName, _sNewValue, and _type.


Member Function Documentation

void ColumnDef::addColumnValue const char *  sValue  ) 
 

Definition at line 51 of file tabledef.cpp.

References _sName, _type, _valueList, QValueList< T >::append(), odebug, oendl, and typeList.

void ColumnDef::addColumnValue const QString Value  ) 
 

Definition at line 44 of file tabledef.cpp.

References _sName, _type, _valueList, QValueList< T >::append(), odebug, oendl, and typeList.

Referenced by Configuration::Configuration().

const QString ColumnDef::getName  )  [inline]
 

Definition at line 56 of file tabledef.h.

References _sName.

Referenced by ListEdit::ListEdit(), and ListEdit::slotClick().

const QString ColumnDef::getNewValue  )  [inline]
 

Definition at line 57 of file tabledef.h.

References _sNewValue.

Referenced by ListEdit::fixTypes(), and ListEdit::slotAdd().

QStringList& ColumnDef::getValueList  )  [inline]
 

Definition at line 64 of file tabledef.h.

References _valueList.

Referenced by ListEdit::slotClick().

int ColumnDef::hasFlag ColumnType  x  )  [inline]
 

Definition at line 61 of file tabledef.h.

References _type.

Referenced by ListEdit::fixTypes().

int ColumnDef::isType ColumnType  x  )  [inline]
 

Definition at line 60 of file tabledef.h.

References _type.

Referenced by ListEdit::slotClick().


Member Data Documentation

QString ColumnDef::_sName [private]
 

Definition at line 67 of file tabledef.h.

Referenced by addColumnValue(), ColumnDef(), and getName().

QString ColumnDef::_sNewValue [private]
 

Definition at line 68 of file tabledef.h.

Referenced by ColumnDef(), and getNewValue().

enum ColumnType ColumnDef::_type [private]
 

Definition at line 69 of file tabledef.h.

Referenced by addColumnValue(), ColumnDef(), hasFlag(), and isType().

QStringList ColumnDef::_valueList [private]
 

Definition at line 70 of file tabledef.h.

Referenced by addColumnValue(), and getValueList().


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