digikam
Digikam::AlbumDB_Sqlite2 Class Reference
#include <albumdb_sqlite2.h>
Detailed Description
This class is responsible for the communication with the sqlite database.Definition at line 42 of file albumdb_sqlite2.h.
Public Member Functions | |
| AlbumDB_Sqlite2 () | |
| bool | execSql (const QString &sql, QStringList *const values=0, const bool debug=false) |
| bool | isValid () const |
| void | setDBPath (const QString &path) |
| ~AlbumDB_Sqlite2 () | |
Constructor & Destructor Documentation
| Digikam::AlbumDB_Sqlite2::AlbumDB_Sqlite2 | ( | ) |
| Digikam::AlbumDB_Sqlite2::~AlbumDB_Sqlite2 | ( | ) |
Member Function Documentation
| bool Digikam::AlbumDB_Sqlite2::execSql | ( | const QString & | sql, | |
| QStringList *const | values = 0, |
|||
| const bool | debug = false | |||
| ) |
This will execute a given SQL statement to the database.
- Parameters:
-
sql The SQL statement values This will be filled with the result of the SQL statement debug If true, it will output the SQL statement
- Returns:
- It will return if the execution of the statement was succesfull
Definition at line 90 of file albumdb_sqlite2.cpp.
| bool Digikam::AlbumDB_Sqlite2::isValid | ( | ) | const [inline] |
Definition at line 73 of file albumdb_sqlite2.h.
| void Digikam::AlbumDB_Sqlite2::setDBPath | ( | const QString & | path | ) |
Makes a connection to the database and makes sure all tables are available.
- Parameters:
-
path The database to open
Definition at line 68 of file albumdb_sqlite2.cpp.
The documentation for this class was generated from the following files:
KDE 4.2 API Reference