#include </home/clem/local/src/opie/libopie2/opiedb/osqlresult.h>
Collaboration diagram for Opie::DB::OSQLResultItem:

Public Types | |
| typedef QValueList< OSQLResultItem > | ValueList |
| typedef QMap< QString, QString > | TableString |
| typedef QMap< int, QString > | TableInt |
Public Member Functions | |
| OSQLResultItem (const TableString &=TableString(), const TableInt &=TableInt()) | |
| OSQLResultItem (const OSQLResultItem &) | |
| ~OSQLResultItem () | |
| OSQLResultItem & | operator= (const OSQLResultItem &) |
| TableString | tableString () const |
| TableInt | tableInt () const |
| QString | data (const QString &columnName, bool *ok=0) const |
| QString | data (int columnNumber, bool *ok=0) const |
| QDate | dataToDate (const QString &columnName, bool *ok=0) |
| QDate | dataToDate (int columnNumber, bool *ok=0) |
| QDateTime | dataToDateTime (const QString &columName, bool *ok=0) |
| QDateTime | dataToDateTime (int columnNumber, bool *ok=0) |
Private Attributes | |
| TableString | m_string |
| TableInt | m_int |
Definition at line 17 of file osqlresult.h.
|
|
TableInt is used to establish a relation between a position of a column and the row value Definition at line 30 of file osqlresult.h. |
|
|
TableString is used to establish the relations between the column name and the real item Definition at line 24 of file osqlresult.h. |
|
|
Definition at line 19 of file osqlresult.h. |
|
||||||||||||
|
Default c'tor. It has a TableString and a TableInt Definition at line 6 of file osqlresult.cpp. |
|
|
Definition at line 14 of file osqlresult.cpp. |
|
|
Definition at line 12 of file osqlresult.cpp. |
|
||||||||||||
|
QString for column number Definition at line 41 of file osqlresult.cpp. References QMap< Key, T >::end(), QMap< Key, T >::find(), m_int, and QString::null. |
|
||||||||||||
|
retrieves the Data from columnName Definition at line 28 of file osqlresult.cpp. References QMap< Key, T >::end(), QMap< Key, T >::find(), m_string, and QString::null. Referenced by dataToDate(), ODateBookAccessBackend_SQL::find(), Opie::ODateBookAccessBackend_SQL::find(), OContactAccessBackend_SQL::requestNonCustom(), and OTodoAccessBackendSQL::todo(). |
|
||||||||||||
|
Date conversion from column-number Definition at line 64 of file osqlresult.cpp. References QDate::currentDate(), data(), QString::isEmpty(), and str. |
|
||||||||||||
|
Date conversion from columnName Definition at line 56 of file osqlresult.cpp. References QDate::currentDate(), data(), QString::isEmpty(), and str. |
|
||||||||||||
|
Definition at line 78 of file osqlresult.cpp. References QDateTime::currentDateTime(). |
|
||||||||||||
|
Definition at line 73 of file osqlresult.cpp. References QDateTime::currentDateTime(). |
|
|
Definition at line 17 of file osqlresult.cpp. |
|
|
returns the TableInt Definition at line 25 of file osqlresult.cpp. References m_int. |
|
|
returns the TableString Definition at line 22 of file osqlresult.cpp. References m_string. |
|
|
Definition at line 75 of file osqlresult.h. Referenced by data(), operator=(), and tableInt(). |
|
|
Definition at line 74 of file osqlresult.h. Referenced by data(), operator=(), and tableString(). |
1.4.2