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

DBCsv Class Reference

#include </home/clem/local/src/opie/noncore/apps/tableviewer/db/csvsource.h>

Inheritance diagram for DBCsv:

Inheritance graph
[legend]
Collaboration diagram for DBCsv:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 DBCsv (DBStore *d)
QString type ()
bool openSource (QIODevice *)
bool saveSource (QIODevice *)
 ~DBCsv ()

Constructor & Destructor Documentation

DBCsv::DBCsv DBStore d  ) 
 

Definition at line 28 of file csvsource.cpp.

References DBAccess::dstore.

DBCsv::~DBCsv  ) 
 

Definition at line 33 of file csvsource.cpp.


Member Function Documentation

bool DBCsv::openSource QIODevice  )  [virtual]
 

Reimplemented from DBAccess.

Definition at line 104 of file csvsource.cpp.

References DBStore::addItem(), KeyList::addKey(), QValueList< T >::begin(), DBAccess::dstore, QValueList< T >::end(), i, in, QMap< Key, T >::insert(), QString::isNull(), readElem(), QTextStream::readLine(), DataElem::setField(), DBStore::setKeys(), TVVariant::String, and TRUE.

bool DBCsv::saveSource QIODevice  )  [virtual]
 

Reimplemented from DBAccess.

Definition at line 149 of file csvsource.cpp.

References QString::append(), QIntDictIterator< type >::current(), QIntDictIterator< type >::currentKey(), DBAccess::dstore, QString::find(), DBStore::first(), DBStore::getCurrentData(), DBStore::getKeys(), DataElem::hasValidValue(), i, name, DBStore::next(), QString::prepend(), QString::replace(), QIntDictIterator< type >::toFirst(), DataElem::toQString(), and TRUE.

QString DBCsv::type  )  [virtual]
 

Reimplemented from DBAccess.

Definition at line 37 of file csvsource.cpp.


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