#include <hk_kdemodule.h>
Signals | |
| void | signal_closed (QWidget *) |
Public Member Functions | |
| hk_kdemodule (QWidget *parent=0, const char *name=0, WFlags fl=0) | |
| void | set_database (hk_database *db) |
| hk_database * | database (void) |
| void | loaddata (xmlNodePtr) |
| void | savedata (ofstream &s) |
| void | load_module (const hk_string &n) |
| void | set_autoclose (bool c) |
Protected Slots | |
| void | part_removed (void) |
| void | close_module (void) |
Protected Member Functions | |
| virtual void | closeEvent (QCloseEvent *e) |
| virtual void | mousePressEvent (QMouseEvent *) |
| void | save_module_when_changed () |
Protected Attributes | |
| KAction * | p_closeaction |
Friends | |
| class | hk_kdesimplemodule |
this is a high level widget to display and design modules. It hereby uses hk_kdesimplemodule. To use it set the database with set_database. If you want to show or edit an existing module load it with load_module.
| void hk_kdemodule::set_autoclose | ( | bool | c | ) |
when the datasource vanishes (i.e. will be destroyed) and autoclose is true, the hk_kdemodule will be closed otherwise it still is on your screen.
References hk_kdemodulepartwidget::set_autoclose().
| void hk_kdemodule::signal_closed | ( | QWidget * | ) | [signal] |
if the designwindow should not be shown set this true. Default is false.
1.5.6