DeeProxyModel

DeeProxyModel — A model that wraps another underlying DeeModel

Properties

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

Types and Values

struct DeeProxyModel

Object Hierarchy

    GObject
    ╰── DeeSerializableModel
        ╰── DeeProxyModel
            ├── DeeFilterModel
            ╰── DeeSharedModel

Implemented Interfaces

DeeProxyModel implements

Includes

#include <dee.h>

Description

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

Functions

Types and Values

struct DeeProxyModel

struct DeeProxyModel;

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

Property Details

The “back-end” property

  “back-end”                 DeeModel *

The backend model used by this proxy model.

Owner: DeeProxyModel

Flags: Read / Write / Construct Only


The “inherit-seqnums” property

  “inherit-seqnums”          gboolean

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.

Owner: DeeProxyModel

Flags: Read / Write / Construct Only

Default value: TRUE


The “proxy-signals” property

  “proxy-signals”            gboolean

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.

Owner: DeeProxyModel

Flags: Read / Write / Construct Only

Default value: TRUE