kpilot
GenericDBWidget Class Reference
#include <dbviewerWidget.h>
Public Member Functions | |
GenericDBWidget (QWidget *parent, const QString &dbpath) | |
QString | getCurrentDB () const |
void | hideComponent () |
void | showComponent () |
virtual | ~GenericDBWidget () |
Protected Slots | |
void | enableWidgets (bool enable) |
void | reset () |
void | slotAddRecord () |
void | slotDBType (int mode) |
void | slotDeleteRecord () |
bool | slotEditRecord (QListViewItem *) |
void | slotEditRecord () |
void | slotSelected (const QString &dbname) |
void | slotShowAppInfo () |
void | slotShowDBInfo () |
void | writeRecord (PilotRecord *r) |
Protected Member Functions | |
void | setupWidget () |
Detailed Description
Definition at line 43 of file dbviewerWidget.h.
Constructor & Destructor Documentation
Definition at line 67 of file dbviewerWidget.cc.
GenericDBWidget::~GenericDBWidget | ( | ) | [virtual] |
Definition at line 141 of file dbviewerWidget.cc.
Member Function Documentation
void GenericDBWidget::enableWidgets | ( | bool | enable | ) | [protected, slot] |
Definition at line 416 of file dbviewerWidget.cc.
QString GenericDBWidget::getCurrentDB | ( | ) | const [inline] |
Definition at line 55 of file dbviewerWidget.h.
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.
void GenericDBWidget::reset | ( | ) | [protected, slot] |
Definition at line 300 of file dbviewerWidget.cc.
void GenericDBWidget::setupWidget | ( | ) | [protected] |
Definition at line 76 of file dbviewerWidget.cc.
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::slotAddRecord | ( | ) | [protected, slot] |
Definition at line 310 of file dbviewerWidget.cc.
void GenericDBWidget::slotDBType | ( | int | mode | ) | [protected, slot] |
Definition at line 278 of file dbviewerWidget.cc.
void GenericDBWidget::slotDeleteRecord | ( | ) | [protected, slot] |
Definition at line 362 of file dbviewerWidget.cc.
bool GenericDBWidget::slotEditRecord | ( | QListViewItem * | item | ) | [protected, slot] |
Definition at line 330 of file dbviewerWidget.cc.
void GenericDBWidget::slotEditRecord | ( | ) | [protected, slot] |
Definition at line 357 of file dbviewerWidget.cc.
void GenericDBWidget::slotSelected | ( | const QString & | dbname | ) | [protected, slot] |
Definition at line 163 of file dbviewerWidget.cc.
void GenericDBWidget::slotShowAppInfo | ( | ) | [protected, slot] |
Definition at line 376 of file dbviewerWidget.cc.
void GenericDBWidget::slotShowDBInfo | ( | ) | [protected, slot] |
Definition at line 394 of file dbviewerWidget.cc.
void GenericDBWidget::writeRecord | ( | PilotRecord * | r | ) | [protected, slot] |
Definition at line 427 of file dbviewerWidget.cc.
The documentation for this class was generated from the following files: