lib

KoProperty::StringEdit Class Reference

Inheritance diagram for KoProperty::StringEdit:

KoProperty::Widget List of all members.

Detailed Description

Definition at line 30 of file stringedit.h.


Public Member Functions

 StringEdit (Property *property, QWidget *parent=0, const char *name=0)
virtual ~StringEdit ()
virtual QVariant value () const
virtual void setValue (const QVariant &value, bool emitChange=true)

Protected Slots

void slotValueChanged (const QString &)

Protected Member Functions

virtual void setReadOnlyInternal (bool readOnly)

Protected Attributes

QLineEdit * m_edit

Member Function Documentation

void StringEdit::setReadOnlyInternal ( bool  readOnly  )  [protected, virtual]

Called by setReadOnly(bool). For implementation: for read-only you should disable editing in the appropriate widget(s).

Implements KoProperty::Widget.

Definition at line 69 of file stringedit.cpp.

void StringEdit::setValue ( const QVariant &  value,
bool  emitChange = true 
) [virtual]

Sets the value shown in the item editor widget. Set emitChange to false if you don't want to emit propertyChanged signal.

Implements KoProperty::Widget.

Definition at line 53 of file stringedit.cpp.

QVariant StringEdit::value (  )  const [virtual]

Returns:
the value currently entered in the item editor widget.

Implements KoProperty::Widget.

Definition at line 47 of file stringedit.cpp.


The documentation for this class was generated from the following files:
KDE Home | KDE Accessibility Home | Description of Access Keys