Logo Search packages:      
Sourcecode: mailody-kde4 version File versions  Download package

Mailody::Database Class Reference

#include <database.h>

List of all members.

Detailed Description

This class is responsible for the communication with the sqlite database.

Definition at line 40 of file database.h.

Public Member Functions

void addToRecentList (const QString &email, const QString &name)
void beginTransaction ()
void commitTransaction ()
 Database ()
QSqlDatabase db ()
void deleteFromRecentList (const QString &email)
QSqlQuery execSql (const QString &sql)
void getRecentList (QStringList &values)
void getTopTenRecentList (QStringList &values)
void setDatabasePath (const QString &path)
 ~Database ()

Static Public Member Functions

static Databasedbinstance ()

Private Member Functions

QString escapeString (const QString &str) const
void initDatabase ()

Private Attributes

QSqlDatabase m_db

Static Private Attributes

static Databasem_dbinstance = 0

The documentation for this class was generated from the following files:

Generated by  Doxygen 1.6.0   Back to index