DeeProxyModel

DeeProxyModel — A model that wraps another underlying DeeModel

Synopsis

#include <dee.h>

struct              DeeProxyModel;
struct              DeeProxyModelClass;

Object Hierarchy

  GObject
   +----DeeSerializableModel
         +----DeeProxyModel
               +----DeeFilterModel
               +----DeeSharedModel

Implemented Interfaces

DeeProxyModel implements DeeModel and DeeSerializable.

Properties

  "back-end"                 DeeModel*             : Read / Write / Construct Only
  "inherit-seqnums"          gboolean              : Read / Write / Construct Only
  "proxy-signals"            gboolean              : Read / Write / Construct Only

Description

DeeProxyModel wraps another DeeModel instance and use it as a back end by proxuing all method calls down to the back end.

Details

struct DeeProxyModel

struct DeeProxyModel;

All fields in the DeeProxyModel structure are private and should never be accessed directly


struct DeeProxyModelClass

struct DeeProxyModelClass {
};

Property Details

The "back-end" property

  "back-end"                 DeeModel*             : Read / Write / Construct Only

The backend model used by this proxy model.


The "inherit-seqnums" property

  "inherit-seqnums"          gboolean              : Read / Write / Construct Only

Boolean property defining whether sequence numbers will be inherited from the back end model. You will most likely want to set this property to false if the implementation manipulates with the rows in the model and keep track of seqnums yourself.

Default value: TRUE


The "proxy-signals" property

  "proxy-signals"            gboolean              : Read / Write / Construct Only

Boolean property defining whether or not to automatically forward signals from the back end model. This is especially useful for sub classes wishing to do their own more advanced signal forwarding.

Default value: TRUE