• Skip to content
  • Skip to link menu
KDE 4.4 API Reference
  • KDE API Reference
  • API Reference
  • Sitemap
  • Contact Us
 

digikam

Digikam::AlbumDB_Sqlite2

Digikam::AlbumDB_Sqlite2 Class Reference

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

#include <albumdb_sqlite2.h>

List of all members.

Public Member Functions

 AlbumDB_Sqlite2 ()
 ~AlbumDB_Sqlite2 ()
bool execSql (const QString &sql, QStringList *const values=0, const bool debug=false)
bool isValid () const
void setDBPath (const QString &path)

Detailed Description

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

Definition at line 49 of file albumdb_sqlite2.h.


Constructor & Destructor Documentation

Digikam::AlbumDB_Sqlite2::AlbumDB_Sqlite2 (  ) 

Constructor.

Definition at line 52 of file albumdb_sqlite2.cpp.

Digikam::AlbumDB_Sqlite2::~AlbumDB_Sqlite2 (  ) 

Destructor.

Definition at line 58 of file albumdb_sqlite2.cpp.


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 89 of file albumdb_sqlite2.cpp.

bool Digikam::AlbumDB_Sqlite2::isValid (  )  const [inline]

Definition at line 80 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 66 of file albumdb_sqlite2.cpp.


The documentation for this class was generated from the following files:
  • albumdb_sqlite2.h
  • albumdb_sqlite2.cpp

digikam

Skip menu "digikam"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members

API Reference

Skip menu "API Reference"
  • digikam
Generated for API Reference by doxygen 1.5.9-20090814
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal