hk_kdemodule Class Reference

KDE high level widget to display and design modules. More...

#include <hk_kdemodule.h>

Collaboration diagram for hk_kdemodule:
[legend]

List of all members.

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


Detailed Description

KDE high level widget to display and design modules.

Author:
Horst Knorr (hk_classes@knoda.org)
Version:
Revision
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.

Member Function Documentation

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.

void hk_kdemodule::signal_closed ( QWidget *   )  [signal]

if the designwindow should not be shown set this true. Default is false.


The documentation for this class was generated from the following files:
Generated on Tue Sep 25 22:39:07 2007 for Databasehandlingdialogclasses by  doxygen 1.5.3