KDevelop API Documentation

PropertyLib::PLineEdit Class Reference

Property editor with line edit. More...

#include <plineedit.h>

Inheritance diagram for PropertyLib::PLineEdit:

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

Collaboration graph
[legend]
List of all members.

Public Member Functions

 PLineEdit (MultiProperty *property, QWidget *parent=0, const char *name=0)
virtual QVariant value () const
virtual void setValue (const QVariant &value, bool emitChange=true)
 Sets the value shown in the editor widget.

Private Slots

void updateProperty (const QString &val)

Private Attributes

QLineEditm_edit

Detailed Description

Property editor with line edit.

Definition at line 32 of file plineedit.h.


Constructor & Destructor Documentation

PropertyLib::PLineEdit::PLineEdit MultiProperty property,
QWidget parent = 0,
const char *  name = 0
 

Definition at line 27 of file plineedit.cpp.

References m_edit, and updateProperty().


Member Function Documentation

void PropertyLib::PLineEdit::setValue const QVariant value,
bool  emitChange = true
[virtual]
 

Sets the value shown in the editor widget.

Set emitChange to false if you don't want to emit propertyChanged signal.

Implements PropertyLib::PropertyWidget.

Definition at line 43 of file plineedit.cpp.

References m_edit, PropertyLib::PropertyWidget::propertyChanged(), and updateProperty().

void PropertyLib::PLineEdit::updateProperty const QString val  )  [private, slot]
 

Definition at line 52 of file plineedit.cpp.

References PropertyLib::PropertyWidget::propertyChanged().

Referenced by PLineEdit(), and setValue().

QVariant PropertyLib::PLineEdit::value  )  const [virtual]
 

Returns:
the value currently entered in the editor widget.

Implements PropertyLib::PropertyWidget.

Definition at line 38 of file plineedit.cpp.

References m_edit.


Member Data Documentation

QLineEdit* PropertyLib::PLineEdit::m_edit [private]
 

Definition at line 47 of file plineedit.h.

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


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 Wed Mar 23 00:33:19 2005 by doxygen 1.3.9.1 written by Dimitri van Heesch, © 1997-2003