KDevelop API Documentation

PropertyLib::PUrlEdit Class Reference

Property editor with an url editor to choose the location of file or directory. More...

#include <purledit.h>

Inheritance diagram for PropertyLib::PUrlEdit:

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

Collaboration graph
[legend]
List of all members.

Public Member Functions

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

Private Slots

void updateProperty (const QString &val)

Private Attributes

KURLRequesterm_edit

Detailed Description

Property editor with an url editor to choose the location of file or directory.

Definition at line 34 of file purledit.h.


Constructor & Destructor Documentation

PropertyLib::PUrlEdit::PUrlEdit KFile::Mode  mode,
MultiProperty property,
QWidget parent = 0,
const char *  name = 0
 

Definition at line 27 of file purledit.cpp.

References m_edit, KURLRequester::setMode(), and updateProperty().


Member Function Documentation

void PropertyLib::PUrlEdit::setValue const QVariant value,
bool  emitChange
[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 44 of file purledit.cpp.

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

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

Definition at line 53 of file purledit.cpp.

References PropertyLib::PropertyWidget::propertyChanged().

Referenced by PUrlEdit(), and setValue().

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

Returns:
the value currently entered in the editor widget.

Implements PropertyLib::PropertyWidget.

Definition at line 39 of file purledit.cpp.

References m_edit, and KURLRequester::url.


Member Data Documentation

KURLRequester* PropertyLib::PUrlEdit::m_edit [private]
 

Definition at line 47 of file purledit.h.

Referenced by PUrlEdit(), 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:35 2005 by doxygen 1.3.9.1 written by Dimitri van Heesch, © 1997-2003