KPropertyUrlDelegate

Search for usage in LXR

KPropertyUrlDelegate Class Reference

#include <KPropertyUrlEditor.h>

Inheritance diagram for KPropertyUrlDelegate:

Public Member Functions

QWidgetcreateEditor (int type, QWidget *parent, const QStyleOptionViewItem &option, const QModelIndex &index) const override
 
QString valueToString (const QVariant &value, const QLocale &locale) const override
 
- Public Member Functions inherited from KPropertyEditorCreatorInterface
KPropertyEditorCreatorOptionsoptions ()
 
const KPropertyEditorCreatorOptionsoptions () const
 
- Public Member Functions inherited from KPropertyValueDisplayInterface
virtual QString propertyValueToString (const KProperty *property, const QLocale &locale) const
 

Additional Inherited Members

- Static Public Member Functions inherited from KPropertyValueDisplayInterface
static int maxStringValueLength ()
 
static QString valueToLocalizedString (const QVariant &value)
 

Detailed Description

Delegate for Url and ComposedUrl types.

Definition at line 65 of file KPropertyUrlEditor.h.

Constructor & Destructor Documentation

◆ KPropertyUrlDelegate()

KPropertyUrlDelegate::KPropertyUrlDelegate ( )

Definition at line 74 of file KPropertyUrlEditor.cpp.

Member Function Documentation

◆ createEditor()

QWidget * KPropertyUrlDelegate::createEditor ( int type,
QWidget * parent,
const QStyleOptionViewItem & option,
const QModelIndex & index ) const
overridevirtual

Reimplemented from KPropertyEditorCreatorInterface.

Definition at line 76 of file KPropertyUrlEditor.cpp.

◆ valueToString()

QString KPropertyUrlDelegate::valueToString ( const QVariant & value,
const QLocale & locale ) const
overridevirtual

Implements KPropertyValueDisplayInterface.

Definition at line 93 of file KPropertyUrlEditor.cpp.


The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri May 24 2024 12:02:10 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.