Instance Class Reference

[KGUI Index] [KGUI Hierarchy] [Headers]


Represents an instance of either a QWidget or a QLayout subclass More...

#include <instance.h>

Inherits: QObject (qt)

Public Members

Protected Members


Detailed Description

Represents an instance of either a QWidget or a QLayout subclass.


Instance(class Component *comp, Instance *parent= 0) [public]

Maps list view items to instances ***************************************************************************\n ***************************************************************************\n

void setName(const char *name) [public]

Set the name of the Instance.

const char* name() [public]

Get the name of the Instance.

uint propertyCount() [public]

The number of properties defined for this instance.

void addProperty(const char *, Value *) [public]

Adds a new property with the specified Value and name.

Value* get(const char *) [public]

Get the value of the specified property.

void set(const char *, Value *) [public]

Set the specified property to the specified Value.

class Component* component() [public virtual]

Get the component this is an instance of.

QWidget* createView(QWidget *parent) [public virtual]

Forwarded to the createView() method of the relevent Component.

QWidget* updateView(QWidget *parent) [public virtual]

Forwarded to the updateView() method of the relevent Component.


  • Author: Richard Moore
  • Documentation generated by rich@pegasus on Sat Apr 17 17:09:53 BST 1999
Kdoc