20#include "kexidbmodule.h"
21#include "kexidbdrivermanager.h"
22#include "kexidbconnection.h"
26#include <main/manager.h>
31#define KROSS_KEXIDB_VERSION 1
39 Kross::Api::Object* TDE_EXPORT init_module(Kross::Api::Manager* manager)
41 return new Kross::KexiDB::KexiDBModule(manager);
47KexiDBModule::KexiDBModule(Kross::Api::Manager* )
48 : Kross::Api::Module( "KexiDB")
52 addChild( "version", new Kross::Api::Variant(KROSS_KEXIDB_VERSION) );
56KexiDBModule::~KexiDBModule()
61const TQString KexiDBModule::getClassName() const
63 return "Kross::KexiDB::KexiDBModule";
66Kross::Api::Object::Ptr KexiDBModule::get( const TQString& name, void* p)
68 if(name == "KexiDBConnection") {
Provides database connection, allowing queries and data modification.
A connection to a database.
The drivermanager is the base class to access KexiDBDriver objects and provides common functionality ...
KrossKexiDB provides access to the KexiDB database functionality.
|