Kexi API Documentation (2.0 alpha)

KexiProjectSet Class Reference

#include <kexiprojectset.h>

Inheritance diagram for KexiProjectSet:

KexiDB::Object List of all members.

Detailed Description

Stores information about multiple kexi project-data items.

Definition at line 34 of file kexiprojectset.h.

Public Member Functions

 KexiProjectSet (KexiDB::MessageHandler *handler=0)
 KexiProjectSet (KexiDB::ConnectionData &conndata, KexiDB::MessageHandler *handler=0)
 ~KexiProjectSet ()
void addProjectData (KexiProjectData *data)
KexiProjectData::List list () const
KexiProjectDatafindProject (const QString &dbName) const
 Case insensitive lookup.


Constructor & Destructor Documentation

KexiProjectSet::KexiProjectSet KexiDB::MessageHandler handler = 0  ) 
 

Creates empty project set. Use addProjectData to add a project data. handler can be provided to receive error messages.

Definition at line 44 of file kexiprojectset.cpp.

KexiProjectSet::KexiProjectSet KexiDB::ConnectionData conndata,
KexiDB::MessageHandler handler = 0
 

Creates project set filled with all projects found using conndata. There may be error during project list retrieving - use appropriate KexiDB::Object::error(), and similar methods to get error message. handler can be provided to receive error messages.

Definition at line 50 of file kexiprojectset.cpp.

References KexiDB::Object::clearError(), KexiDB::Connection::connect(), KexiDB::Driver::createConnection(), KexiDB::Connection::databaseNames(), Kexi::driverManager(), KexiDB::ConnectionDataBase::driverName, KexiDB::Object::error(), and KexiDB::Object::setError().

KexiProjectSet::~KexiProjectSet  ) 
 

Definition at line 88 of file kexiprojectset.cpp.


Member Function Documentation

void KexiProjectSet::addProjectData KexiProjectData data  ) 
 

Adds data as project data. data will be owned by this object.

Definition at line 93 of file kexiprojectset.cpp.

KexiProjectData * KexiProjectSet::findProject const QString dbName  )  const
 

Case insensitive lookup.

Returns:
project data for databased dbName or NULL if not found

Definition at line 103 of file kexiprojectset.cpp.

KexiProjectData::List KexiProjectSet::list  )  const
 

Returns:
list object

Definition at line 98 of file kexiprojectset.cpp.

Referenced by KexiProjectSelectorWidget::setProjectSet().


The documentation for this class was generated from the following files:
KDE Logo
This file is part of the documentation for Kexi 2.0 alpha.
Documentation copyright © 2002-2007 the Kexi Team.
Generated on Tue Apr 1 20:50:16 2008 by doxygen 1.4.2 written by Dimitri van Heesch, © 1997-2003