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.

Constructor & Destructor Documentation

◆ ~KDbDriverMetaData()

KDbDriverMetaData::~KDbDriverMetaData ( )

Definition at line 53 of file KDbDriverMetaData.cpp.

◆ KDbDriverMetaData()

KDbDriverMetaData::KDbDriverMetaData ( const QPluginLoader & loader)
explicitprotected

Definition at line 48 of file KDbDriverMetaData.cpp.

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-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:19:08 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.