#include <dblistview.h>
Inheritance diagram for KDB::DBListView:

Public Types | |
| enum | { Auto, SemiAuto, Manual } |
Public Methods | |
| DBListView (QWidget *parent, const char * name = 0, bool displayTree = true, int mode = Auto) | |
| ~DBListView () | |
| Database* | selectedDatabase () |
| virtual DBListViewItem* | addConnection (Connection *conn) |
| virtual DBListViewItem* | addPlugin (Plugin *plugin) |
| virtual DBListViewItem* | addDatabase (Database *database) |
Signals | |
| void | databaseSelected (Database *) |
| void | nonDatabaseSelected () |
Protected Slots | |
| void | slotItemSelected (QListViewItem *) |
This is a list view that will display all accessible databases.
It can be used in 'auto' mode, 'semiauto' mode or in 'manual' mode.
in 'auto' mode will load all available plugins, connections, and databases for available connections.
in 'semiauto' mode to display the database list the function addConnection must be called to add single connection objects to the display. addConnection also tries to find all available database using the connection.
in 'manual' mode to display the database list the function addConnection must be called to add single connection objects to the display.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1.2.1 written by Dimitri van Heesch,
© 1997-2000