KDbDriverMetaData

#include <KDbDriverMetaData.h>

Inheritance diagram for KDbDriverMetaData:

Public Member Functions

QString id () const
 
bool isFileBased () const
 
bool isImportingEnabled () const
 

Protected Member Functions

 KDbDriverMetaData (const QPluginLoader &loader)
 

Additional Inherited Members

Detailed Description

Provides information about a single driver plugin.

Definition at line 28 of file KDbDriverMetaData.h.

Member Function Documentation

QString KDbDriverMetaData::id ( ) const
Returns
internal name of the plugin, a shortcut of pluginId()

Definition at line 58 of file KDbDriverMetaData.cpp.

bool KDbDriverMetaData::isFileBased ( ) const
Returns
true if the driver is for file-based databases like SQLite.

Defined by a "X-KDb-FileBased" field in .json information files.

Definition at line 63 of file KDbDriverMetaData.cpp.

bool KDbDriverMetaData::isImportingEnabled ( ) const
Returns
true if the driver is for a backend that allows importing.

Defined by a "X-KDb-ImportingEnabled" field in .json information files. Used for database migration.

Definition at line 68 of file KDbDriverMetaData.cpp.


The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2021 The KDE developers.
Generated on Mon Jan 25 2021 23:10:41 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.