kpilot/kpilot

GenericDBWidget Class Reference

Inheritance diagram for GenericDBWidget:

PilotComponent List of all members.

Detailed Description

Definition at line 43 of file dbviewerWidget.h.


Public Member Functions

 GenericDBWidget (QWidget *parent, const QString &dbpath)
virtual ~GenericDBWidget ()
void showComponent ()
void hideComponent ()
QString getCurrentDB () const

Protected Slots

void slotSelected (const QString &dbname)
void slotDBType (int mode)
void reset ()
void slotAddRecord ()
void slotEditRecord ()
bool slotEditRecord (QListViewItem *)
void slotDeleteRecord ()
void slotShowAppInfo ()
void slotShowDBInfo ()
void enableWidgets (bool enable)
void writeRecord (PilotRecord *r)

Protected Member Functions

void setupWidget ()

Member Function Documentation

void GenericDBWidget::showComponent (  )  [virtual]

Called when the component is shown in kpilot.

It should load the database and populate the widgets.

Reimplemented from PilotComponent.

Definition at line 148 of file dbviewerWidget.cc.

void GenericDBWidget::hideComponent (  )  [virtual]

Called when the component is hidden in kpilot.

It should unload the databases and clean up to save memory. This method can be called even if the component is not visible. If there are some editing dlgs open, this needs to be deferred until they are all closed. Then, one can explicitly call hideComponent().

Reimplemented from PilotComponent.

Definition at line 158 of file dbviewerWidget.cc.


The documentation for this class was generated from the following files:
KDE Home | KDE Accessibility Home | Description of Access Keys