#include </home/clem/local/src/opie/libopie2/opiedb/osqlitedriver.h>
Inheritance diagram for Opie::DB::Internal::OSQLiteDriver:


Public Member Functions | |
| OSQLiteDriver (QLibrary *lib=0l) | |
| ~OSQLiteDriver () | |
| QString | id () const |
| void | setUserName (const QString &) |
| void | setPassword (const QString &) |
| void | setUrl (const QString &url) |
| void | setOptions (const QStringList &) |
| bool | open () |
| bool | close () |
| OSQLError | lastError () |
| OSQLResult | query (OSQLQuery *) |
| OSQLTable::ValueList | tables () const |
Private Member Functions | |
| int | handleCallBack (int, char **, char **) |
Static Private Member Functions | |
| static int | call_back (void *, int, char **, char **) |
Private Attributes | |
| OSQLError | m_lastE |
| OSQLResult | m_result |
| OSQLResultItem | m_items |
| QString | m_url |
| sqlite3 * | m_sqlite |
| sqregex | sqreg |
|
|
Definition at line 52 of file osqlitedriver.cpp. |
|
|
Definition at line 59 of file osqlitedriver.cpp. References close(). |
|
||||||||||||||||||||
|
Definition at line 209 of file osqlitedriver.cpp. References QString::fromUtf8(), i, and QMap< Key, T >::insert(). Referenced by query(). |
|
|
Implements Opie::DB::OSQLDriver. Definition at line 150 of file osqlitedriver.cpp. References l, m_sqlite, NULL, odebug, oendl, Opie::DB::Internal::sqregex::regex_c, Opie::DB::Internal::sqregex::regex_raw, and sqreg. Referenced by ~OSQLiteDriver(). |
|
||||||||||||||||
|
Definition at line 203 of file osqlitedriver.cpp. |
|
|
Id returns the identifier of the OSQLDriver Implements Opie::DB::OSQLDriver. Definition at line 64 of file osqlitedriver.cpp. References QString::fromLatin1(). |
|
|
Implements Opie::DB::OSQLDriver. Definition at line 194 of file osqlitedriver.cpp. References error(). |
|
|
tries to open a connection to the database Implements Opie::DB::OSQLDriver. Definition at line 122 of file osqlitedriver.cpp. References error(), m_sqlite, m_url, NULL, odebug, oendl, owarn, Opie::DB::Internal::sqregex::regex_raw, Opie::DB::Internal::rlikeFunc(), sqreg, and QString::utf8(). |
|
|
Query the Database with a OSQLQuery OSQLResult holds the result Implements Opie::DB::OSQLDriver. Definition at line 166 of file osqlitedriver.cpp. References call_back(), Opie::DB::OSQLResult::Failure, m_sqlite, oendl, owarn, Opie::DB::OSQLQuery::query(), and Opie::DB::OSQLResult::Success. |
|
|
setOptions Implements Opie::DB::OSQLDriver. Definition at line 79 of file osqlitedriver.cpp. |
|
|
set the PassWord to the database Implements Opie::DB::OSQLDriver. Definition at line 71 of file osqlitedriver.cpp. |
|
|
set the Url Implements Opie::DB::OSQLDriver. Definition at line 74 of file osqlitedriver.cpp. References m_url. |
|
|
set the UserName to the database Implements Opie::DB::OSQLDriver. Definition at line 68 of file osqlitedriver.cpp. |
|
|
Get a list of tables Implements Opie::DB::OSQLDriver. Definition at line 189 of file osqlitedriver.cpp. |
|
|
Definition at line 40 of file osqlitedriver.h. |
|
|
Definition at line 38 of file osqlitedriver.h. |
|
|
Definition at line 39 of file osqlitedriver.h. |
|
|
Definition at line 44 of file osqlitedriver.h. Referenced by close(), open(), OSQLiteDriver(), and query(). |
|
|
Definition at line 43 of file osqlitedriver.h. |
|
|
Definition at line 45 of file osqlitedriver.h. |
1.4.2