KDevelop API Documentation

PropertyLib::PropertyWidgetProxy Class Reference

#include <propertywidgetproxy.h>

Inheritance diagram for PropertyLib::PropertyWidgetProxy:

Inheritance graph
[legend]
Collaboration diagram for PropertyLib::PropertyWidgetProxy:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 PropertyWidgetProxy (QWidget *parent=0, const char *name=0)
 ~PropertyWidgetProxy ()
void setPropertyType (int propertyType)
int propertyType () const
void setPropertyType2 (Property::PropertyType propertyType)
Property::PropertyType propertyType2 () const
QVariant value () const
void setValue (const QVariant &value)
bool setProperty (const char *name, const QVariant &value)
QVariant property (const char *name) const

Protected Member Functions

virtual void setWidget ()

Properties

int propertyType
Property PropertyType

Private Attributes

Propertyp
MultiPropertymp
Property::Property::PropertyType m_propertyType
PropertyWidgetm_editor
QHBoxLayoutm_layout

Constructor & Destructor Documentation

PropertyLib::PropertyWidgetProxy::PropertyWidgetProxy QWidget parent = 0,
const char *  name = 0
 

Definition at line 29 of file propertywidgetproxy.cpp.

References m_layout, and p.

PropertyLib::PropertyWidgetProxy::~PropertyWidgetProxy  ) 
 

Definition at line 36 of file propertywidgetproxy.cpp.


Member Function Documentation

QVariant PropertyLib::PropertyWidgetProxy::property const char *  name  )  const
 

Definition at line 94 of file propertywidgetproxy.cpp.

References value().

int PropertyLib::PropertyWidgetProxy::propertyType  )  const [inline]
 

Definition at line 46 of file propertywidgetproxy.h.

Property::PropertyType PropertyLib::PropertyWidgetProxy::propertyType2  )  const [inline]
 

Definition at line 48 of file propertywidgetproxy.h.

References PropertyType.

bool PropertyLib::PropertyWidgetProxy::setProperty const char *  name,
const QVariant value
 

Definition at line 82 of file propertywidgetproxy.cpp.

References setPropertyType(), and setValue().

void PropertyLib::PropertyWidgetProxy::setPropertyType int  propertyType  ) 
 

Definition at line 42 of file propertywidgetproxy.cpp.

References m_propertyType, and setWidget().

Referenced by setProperty().

void PropertyLib::PropertyWidgetProxy::setPropertyType2 Property::PropertyType  propertyType  ) 
 

Definition at line 48 of file propertywidgetproxy.cpp.

References m_propertyType, and setWidget().

void PropertyLib::PropertyWidgetProxy::setValue const QVariant value  ) 
 

Definition at line 76 of file propertywidgetproxy.cpp.

References m_editor, and PropertyLib::PropertyWidget::setValue().

Referenced by setProperty().

void PropertyLib::PropertyWidgetProxy::setWidget  )  [protected, virtual]
 

Definition at line 54 of file propertywidgetproxy.cpp.

References m_editor, m_layout, m_propertyType, mp, p, and PropertyLib::Property::setType().

Referenced by setPropertyType(), and setPropertyType2().

QVariant PropertyLib::PropertyWidgetProxy::value  )  const
 

Definition at line 68 of file propertywidgetproxy.cpp.

References m_editor, and PropertyLib::PropertyWidget::value().

Referenced by property().


Member Data Documentation

PropertyWidget* PropertyLib::PropertyWidgetProxy::m_editor [private]
 

Definition at line 64 of file propertywidgetproxy.h.

Referenced by setValue(), setWidget(), and value().

QHBoxLayout* PropertyLib::PropertyWidgetProxy::m_layout [private]
 

Definition at line 66 of file propertywidgetproxy.h.

Referenced by PropertyWidgetProxy(), and setWidget().

Property:: Property::PropertyType PropertyLib::PropertyWidgetProxy::m_propertyType [private]
 

Definition at line 63 of file propertywidgetproxy.h.

Referenced by setPropertyType(), setPropertyType2(), and setWidget().

MultiProperty* PropertyLib::PropertyWidgetProxy::mp [private]
 

Definition at line 61 of file propertywidgetproxy.h.

Referenced by setWidget().

Property* PropertyLib::PropertyWidgetProxy::p [private]
 

Definition at line 60 of file propertywidgetproxy.h.

Referenced by PropertyWidgetProxy(), and setWidget().


Property Documentation

Property PropertyLib::PropertyWidgetProxy::PropertyType
 

Definition at line 40 of file propertywidgetproxy.h.

int PropertyLib::PropertyWidgetProxy::propertyType [read, write]
 

Definition at line 39 of file propertywidgetproxy.h.


The documentation for this class was generated from the following files:
KDE Logo
This file is part of the documentation for KDevelop Version 3.1.2.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Tue Feb 22 09:52:02 2005 by doxygen 1.3.9.1 written by Dimitri van Heesch, © 1997-2003