KDevelop API Documentation

PStringListEdit Class Reference

#include <pstringlistedit.h>

Inheritance diagram for PStringListEdit:

QWidget PropertyWidget List of all members.

Signals

void propertyChanged (QString name, QVariant newValue)

Public Member Functions

 PStringListEdit (const PropertyEditor *editor, const QString pname, const QVariant value, QWidget *parent=0, const char *name=0)
virtual QVariant value () const
virtual void setValue (const QVariant value, bool emitChange)

Private Slots

void showEditor ()

Private Attributes

QLineEditedit
QPushButtonpbSelect
QHBoxLayoutl
QStringList m_list

Constructor & Destructor Documentation

PStringListEdit::PStringListEdit const PropertyEditor editor,
const QString  pname,
const QVariant  value,
QWidget parent = 0,
const char *  name = 0
 

Definition at line 32 of file pstringlistedit.cpp.

References edit, l, pbSelect, propertyChanged(), PStringListEdit(), setValue(), and showEditor().

Referenced by PStringListEdit().


Member Function Documentation

void PStringListEdit::propertyChanged QString  name,
QVariant  newValue
[signal]
 

Referenced by PStringListEdit(), setValue(), and showEditor().

void PStringListEdit::setValue const QVariant  value,
bool  emitChange
[virtual]
 

Implements PropertyWidget.

Definition at line 54 of file pstringlistedit.cpp.

References m_list, PropertyWidget::pname(), propertyChanged(), and setValue().

Referenced by PStringListEdit(), and setValue().

void PStringListEdit::showEditor  )  [private, slot]
 

Definition at line 61 of file pstringlistedit.cpp.

References KEditListBox::insertStringList(), KEditListBox::items(), KEditListBox, m_list, PropertyWidget::pname(), and propertyChanged().

Referenced by PStringListEdit().

QVariant PStringListEdit::value  )  const [virtual]
 

Implements PropertyWidget.

Definition at line 49 of file pstringlistedit.cpp.

References m_list.


Member Data Documentation

QLineEdit* PStringListEdit::edit [private]
 

Definition at line 37 of file pstringlistedit.h.

Referenced by PStringListEdit().

QHBoxLayout* PStringListEdit::l [private]
 

Definition at line 39 of file pstringlistedit.h.

Referenced by PStringListEdit().

QStringList PStringListEdit::m_list [private]
 

Definition at line 41 of file pstringlistedit.h.

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

QPushButton* PStringListEdit::pbSelect [private]
 

Definition at line 38 of file pstringlistedit.h.

Referenced by PStringListEdit().


The documentation for this class was generated from the following files:
KDE Logo
This file is part of the documentation for KDevelop Version 3.0.4.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Tue Oct 19 08:02:06 2004 by doxygen 1.3.7 written by Dimitri van Heesch, © 1997-2003