static void gnc_entry_class_init (GncEntryClass *klass) { GObjectClass *gobject_class = G_OBJECT_CLASS (klass); QofInstanceClass* qof_class = QOF_INSTANCE_CLASS(klass); gobject_class->dispose = gnc_entry_dispose; gobject_class->finalize = gnc_entry_finalize; gobject_class->set_property = gnc_entry_set_property; gobject_class->get_property = gnc_entry_get_property; qof_class->get_display_name = impl_get_display_name; qof_class->refers_to_object = impl_refers_to_object; qof_class->get_typed_referring_object_list = impl_get_typed_referring_object_list; g_object_class_install_property (gobject_class, PROP_DESCRIPTION, g_param_spec_string ("description", "Entry Description", "The description is an arbitrary string " "assigned by the user. It provides identification " "for this entry.", NULL, G_PARAM_READWRITE)); }
static void gnc_job_class_init (GncJobClass *klass) { GObjectClass *gobject_class = G_OBJECT_CLASS (klass); QofInstanceClass* qof_class = QOF_INSTANCE_CLASS(klass); gobject_class->dispose = gnc_job_dispose; gobject_class->finalize = gnc_job_finalize; gobject_class->set_property = gnc_job_set_property; gobject_class->get_property = gnc_job_get_property; qof_class->get_display_name = NULL; qof_class->refers_to_object = NULL; qof_class->get_typed_referring_object_list = impl_get_typed_referring_object_list; g_object_class_install_property (gobject_class, PROP_NAME, g_param_spec_string ("name", "Job Name", "The job name is an arbitrary string " "assigned by the user. It is intended to " "a short character string that is displayed " "by the GUI as the job mnemonic.", NULL, G_PARAM_READWRITE)); }
static void gnc_customer_class_init (GncCustomerClass *klass) { GObjectClass *gobject_class = G_OBJECT_CLASS (klass); QofInstanceClass* qof_class = QOF_INSTANCE_CLASS(klass); gobject_class->dispose = gnc_customer_dispose; gobject_class->finalize = gnc_customer_finalize; gobject_class->set_property = gnc_customer_set_property; gobject_class->get_property = gnc_customer_get_property; qof_class->get_display_name = impl_get_display_name; qof_class->refers_to_object = impl_refers_to_object; qof_class->get_typed_referring_object_list = impl_get_typed_referring_object_list; g_object_class_install_property (gobject_class, PROP_NAME, g_param_spec_string ("name", "Customer Name", "The customer is an arbitrary string " "assigned by the user which provides the " "customer name.", NULL, G_PARAM_READWRITE)); }
static void gnc_customer_class_init (GncCustomerClass *klass) { GObjectClass *gobject_class = G_OBJECT_CLASS (klass); QofInstanceClass* qof_class = QOF_INSTANCE_CLASS(klass); gobject_class->dispose = gnc_customer_dispose; gobject_class->finalize = gnc_customer_finalize; gobject_class->set_property = gnc_customer_set_property; gobject_class->get_property = gnc_customer_get_property; qof_class->get_display_name = impl_get_display_name; qof_class->refers_to_object = impl_refers_to_object; qof_class->get_typed_referring_object_list = impl_get_typed_referring_object_list; g_object_class_install_property (gobject_class, PROP_NAME, g_param_spec_string ("name", "Customer Name", "The customer is an arbitrary string " "assigned by the user which provides the " "customer name.", NULL, G_PARAM_READWRITE)); g_object_class_install_property (gobject_class, PROP_PDF_DIRNAME, g_param_spec_string ("export-pdf-dir", "Export PDF Directory Name", "A subdirectory for exporting PDF reports which is " "appended to the target directory when writing them " "out. It is retrieved from preferences and stored on " "each 'Owner' object which prints items after " "printing.", NULL, G_PARAM_READWRITE)); g_object_class_install_property( gobject_class, PROP_LAST_POSTED, g_param_spec_boxed("invoice-last-posted-account", "Invoice Last Posted Account", "The last account to which an invoice belonging to " "this owner was posted.", GNC_TYPE_GUID, G_PARAM_READWRITE)); g_object_class_install_property( gobject_class, PROP_PAYMENT_LAST_ACCT, g_param_spec_boxed("payment-last-account", "Payment Last Account", "The last account to which an payment belonging to " "this owner was posted.", GNC_TYPE_GUID, G_PARAM_READWRITE)); }
static void gnc_taxtable_class_init (GncTaxTableClass *klass) { GObjectClass *gobject_class = G_OBJECT_CLASS (klass); QofInstanceClass* qof_class = QOF_INSTANCE_CLASS(klass); gobject_class->dispose = gnc_taxtable_dispose; gobject_class->finalize = gnc_taxtable_finalize; gobject_class->set_property = gnc_taxtable_set_property; gobject_class->get_property = gnc_taxtable_get_property; qof_class->get_display_name = impl_get_display_name; qof_class->refers_to_object = impl_refers_to_object; qof_class->get_typed_referring_object_list = impl_get_typed_referring_object_list; g_object_class_install_property (gobject_class, PROP_NAME, g_param_spec_string ("name", "TaxTable Name", "The accountName is an arbitrary string " "assigned by the user. It is intended to " "a short, 10 to 30 character long string " "that is displayed by the GUI as the " "tax table mnemonic.", NULL, G_PARAM_READWRITE)); g_object_class_install_property (gobject_class, PROP_INVISIBLE, g_param_spec_boolean ("invisible", "Invisible", "TRUE if the tax table is invisible. FALSE if visible.", FALSE, G_PARAM_READWRITE)); g_object_class_install_property (gobject_class, PROP_REFCOUNT, g_param_spec_uint64("ref-count", "Reference count", "The ref-count property contains number of times this tax table " "is referenced.", 0, /* min */ G_MAXUINT64, /* max */ 0, /* default */ G_PARAM_READWRITE)); }
static void gnc_address_class_init (GncAddressClass *klass) { GObjectClass *gobject_class = G_OBJECT_CLASS (klass); QofInstanceClass* qof_class = QOF_INSTANCE_CLASS(klass); gobject_class->dispose = gnc_address_dispose; gobject_class->finalize = gnc_address_finalize; gobject_class->set_property = gnc_address_set_property; gobject_class->get_property = gnc_address_get_property; qof_class->get_display_name = NULL; qof_class->refers_to_object = NULL; qof_class->get_typed_referring_object_list = impl_get_typed_referring_object_list; g_object_class_install_property (gobject_class, PROP_NAME, g_param_spec_string ("name", "Address Name", "The address name is an arbitrary string " "assigned by the user. It is intended to " "a short string to identify the address.", NULL, G_PARAM_READWRITE)); g_object_class_install_property (gobject_class, PROP_ADDR1, g_param_spec_string ("addr1", "Address Line 1", "The address line 1 is an arbitrary string " "assigned by the user. It is the first " "line of the address.", NULL, G_PARAM_READWRITE)); g_object_class_install_property (gobject_class, PROP_ADDR2, g_param_spec_string ("addr2", "Address Line 2", "The address line 2 is an arbitrary string " "assigned by the user. It is the second " "line of the address.", NULL, G_PARAM_READWRITE)); g_object_class_install_property (gobject_class, PROP_ADDR3, g_param_spec_string ("addr3", "Address Line 3", "The address line 3 is an arbitrary string " "assigned by the user. It is the third " "line of the address.", NULL, G_PARAM_READWRITE)); g_object_class_install_property (gobject_class, PROP_ADDR4, g_param_spec_string ("addr4", "Address Line 4", "The address line 4 is an arbitrary string " "assigned by the user. It is the fourth " "line of the address.", NULL, G_PARAM_READWRITE)); g_object_class_install_property (gobject_class, PROP_PHONE, g_param_spec_string ("phone", "Phone", "The phone number is the number at this address.", NULL, G_PARAM_READWRITE)); g_object_class_install_property (gobject_class, PROP_FAX, g_param_spec_string ("fax", "Fax", "The fax number at this address.", NULL, G_PARAM_READWRITE)); g_object_class_install_property (gobject_class, PROP_EMAIL, g_param_spec_string ("email", "E-mail address", "The e-mail address at this address.", NULL, G_PARAM_READWRITE)); }