KDbDriverMetaData

Search for usage in LXR

#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

◆ id()

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

Definition at line 58 of file KDbDriverMetaData.cpp.

◆ isFileBased()

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.

◆ isImportingEnabled()

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-2022 The KDE developers.
Generated on Sun Jun 26 2022 04:10:06 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.