#include <hk_dsvisible.h>
Inheritance diagram for hk_dsvisible:
Public Member Functions | |
hk_dsvisible (hk_presentation *presentation=NULL) | |
virtual | ~hk_dsvisible (void) |
virtual void | set_datasource (hk_datasource *d) |
virtual bool | set_presentationdatasource (long n, bool registerchange=true) |
long | presentationdatasource (void) |
hk_datasource * | datasource (void) |
virtual void | savedata (ostream &s, bool savedatasource, bool saveall) |
virtual void | savedata (ostream &s) |
virtual void | loaddata (const hk_string &definition) |
void | set_readonly (bool readonly) |
bool | is_readonly (void) const |
void | set_before_row_change_action (const hk_string &, bool registerchange=true, bool force_setting=true) |
hk_string | before_row_change_action (void) |
void | set_after_row_change_action (const hk_string &, bool registerchange=true, bool force_setting=true) |
hk_string | after_row_change_action (void) |
void | set_before_update_action (const hk_string &, bool registerchange=true, bool force_setting=true) |
hk_string | before_update_action (void) |
void | set_after_update_action (const hk_string &, bool registerchange=true, bool force_setting=true) |
hk_string | after_update_action (void) |
void | set_before_delete_action (const hk_string &, bool registerchange=true, bool force_setting=true) |
hk_string | before_delete_action (void) |
void | set_after_delete_action (const hk_string &, bool registerchange=true, bool force_setting=true) |
hk_string | after_delete_action (void) |
void | set_before_insert_action (const hk_string &, bool registerchange=true, bool force_setting=true) |
hk_string | before_insert_action (void) |
void | set_after_insert_action (const hk_string &, bool registerchange=true, bool force_setting=true) |
hk_string | after_insert_action (void) |
virtual void | action_before_store_changed_data (void) |
virtual void | action_after_store_changed_data (void) |
virtual void | action_before_row_change (void) |
virtual void | action_after_row_change (void) |
virtual void | action_before_delete (void) |
virtual void | action_after_delete (void) |
virtual void | action_before_insert (void) |
virtual void | action_after_insert (void) |
Protected Member Functions | |
void | row_change (void) |
void | batch_next (void) |
void | batch_previous (void) |
void | insert_mode (void) |
virtual void | widget_specific_insert_mode (void) |
virtual bool | widget_specific_row_change (void) |
virtual void | widget_specific_batch_next (void) |
virtual void | widget_specific_batch_previous (void) |
virtual void | widget_specific_enable_disable (void) |
virtual void | widget_specific_enable (void) |
virtual void | widget_specific_disable (void) |
virtual void | widget_specific_row_added (void) |
virtual void | widget_specific_row_deleted (void) |
virtual void | before_row_change (void) |
virtual void | before_store_changed_data (void) |
virtual void | after_store_changed_data (void) |
virtual void | before_insert_row (void) |
virtual void | before_datasource_enables (void) |
virtual bool | datasource_disable (void) |
virtual bool | datasource_enable (void) |
virtual void | datasource_delete (void) |
virtual void | row_added (void) |
virtual void | row_deleted (void) |
virtual bool | columns_new_created (void) |
virtual void | list_changes (listtype type) |
virtual bool | before_columns_deleted (void) |
virtual bool | table_structure_changes (void) |
virtual void | before_source_vanishes (void) |
virtual void | widget_specific_presentationdatasource (long) |
virtual bool | presentationmode_changed (void) |
Protected Attributes | |
hk_datasource * | p_datasource |
hk_datetime | p_date |
hk_string | debug_p_columnname |
Friends | |
class | hk_datasource |
|
|
|
|
|
Reimplemented in hk_dsgridcolumn. |
|
Reimplemented in hk_dsgridcolumn. |
|
Reimplemented in hk_dsgridcolumn. |
|
Reimplemented in hk_dsgridcolumn. |
|
Reimplemented in hk_dsgridcolumn. |
|
Reimplemented in hk_dsgridcolumn. |
|
Reimplemented in hk_dsgridcolumn. |
|
Reimplemented in hk_dsgridcolumn. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
FOR WIDGET DEVELOPERS ONLY: will be automatically called before the columns will be deleted. usually column pointers will be set to NULL in this function. i.e.when enabling,disabling or when a depending datasource has to requery its rows. Reimplemented in hk_dsdatavisible, and hk_importcsv. |
|
Reimplemented in hk_reportsection, and hk_subform. |
|
|
|
|
|
Reimplemented in hk_dsdatavisible. |
|
FOR WIDGET DEVELOPERS ONLY: called from hk_datasource before it tries to change the row or disable widget can i.e. store changed data there Reimplemented in hk_kdegrid. |
|
|
|
FOR WIDGET DEVELOPERS ONLY: will be automatically called before the database will be closed.(i.e when a new database will be created and the old one will be destroyed by hk_connection |
|
Reimplemented in hk_dsgrid. |
|
|
|
Reimplemented in hk_dsgrid. |
|
Reimplemented in hk_dsdatavisible, and hk_kdetabledesign. |
|
FOR WIDGET DEVELOPERS ONLY: will be automatically called when the datasources is destroyed Reimplemented in hk_dsdatavisible. |
|
FOR WIDGET DEVELOPERS ONLY: will be automatically called when the datasources is disabling Reimplemented in hk_dsdatavisible, hk_dsgrid, and hk_kdesimplegrid. |
|
FOR WIDGET DEVELOPERS ONLY: will be automatically called when the datasources is enabling Reimplemented in hk_dsdatavisible, hk_dsgrid, and hk_kdesimplegrid. |
|
|
|
|
|
Reimplemented in hk_kdetabledesign. |
|
loads the object's values out of the definition string. Especially used to load queries, forms and reports Reimplemented from hk_visible. Reimplemented in hk_dsdatavisible, hk_dsgrid, hk_dsgridcolumn, and hk_subform. |
|
|
|
Reimplemented from hk_visible. Reimplemented in hk_dsdatavisible, hk_dsgridcolumn, hk_reportsection, hk_reportdata, hk_subform, and hk_kdegrid. |
|
FOR WIDGET DEVELOPERS ONLY: will be automatically called when the datasources creates new columns i.e.when enabling,disabling or when a depending datasource has to requery its rows. |
|
|
|
|
|
stores the object's values to stream s. Especially used to store queries, forms and reports Reimplemented from hk_visible. Reimplemented in hk_dsdatavisible, hk_dsgrid, hk_dsgridcolumn, and hk_subform. |
|
Reimplemented in hk_subform. |
|
sets the script for the after_delete action The after_delete action after the current row was deleted |
|
sets the script for the after_insert action The after_insert action after a new row was inserted |
|
sets the script for the after_row_change action The after_row_change action after the current row changes |
|
sets the script for the after_update action The after_update action after data changes will be stored |
|
sets the script for the before_delete action The before_delete action before the current row will be deleted |
|
sets the script for the before_insert action The before_insert action before a new row will be inserted |
|
sets the script for the before_row_change action The before_row_change action before the current row changes |
|
sets the script for the before_update action The before_update action before data changes will be stored |
|
Reimplemented in hk_dsdatavisible, hk_dsgrid, hk_dsgridcolumn, hk_reportsection, hk_kdegrid, hk_kdetabledesign, and hk_kdecsvimportdialog. |
|
Reimplemented in hk_reportsection. |
|
|
|
FOR WIDGET DEVELOPERS ONLY: will be automatically called after the columnstructure of a table was successfully altered. Reimplemented in hk_dsgrid. |
|
|
|
|
|
|
|
|
|
FOR WIDGET DEVELOPERS ONLY: defines whether the widget should be enabled or disabled. Has to be rewritten for a new widget Reimplemented in hk_kdegrid, and hk_kdesimplegrid. |
|
FOR WIDGET DEVELOPERS ONLY: will be automatically called when the datasource will be set to insert_mode. Has to be rewritten for a new widget
Reimplemented in hk_kdesimplegrid. |
|
FOR WIDGET DEVELOPERS ONLY: will be automatically called before the presentationdatasource will be set Reimplemented in hk_kdegrid. |
|
Reimplemented in hk_kdesimplegrid. |
|
FOR WIDGET DEVELOPERS ONLY: will be automatically called when the datasource has changed the row. Has to be rewritten for a new widget
Reimplemented in hk_kdesimplegrid. |
|
Reimplemented in hk_kdesimplegrid. |
|
|
|
|
|
|
|
|