Akonadi::Server::DbType

Akonadi::Server::DbType Namespace Reference

Enumerations

enum  Type { Unknown, Sqlite, MySQL, PostgreSQL }
 

Functions

bool isSystemSQLite (const QSqlDatabase &db)
 
Type type (const QSqlDatabase &db)
 
Type typeForDriverName (const QString &driverName)
 

Detailed Description

Helper methods for checking the database system we are dealing with.

Enumeration Type Documentation

Supported database types.

Definition at line 22 of file dbtype.h.

Function Documentation

bool Akonadi::Server::DbType::isSystemSQLite ( const QSqlDatabase db)

Returns true when using QSQLITE driver shipped with Qt, FALSE otherwise.

Definition at line 30 of file dbtype.cpp.

DbType::Type Akonadi::Server::DbType::type ( const QSqlDatabase db)

Returns the type of the given database object.

Definition at line 11 of file dbtype.cpp.

DbType::Type Akonadi::Server::DbType::typeForDriverName ( const QString driverName)

Returns the type for the given driver name.

Definition at line 16 of file dbtype.cpp.

This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Wed Jul 8 2020 23:15:07 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.