KDevelop API Documentation

PSpinBox Class Reference

#include <pspinbox.h>

Inheritance diagram for PSpinBox:

QSpinBox PropertyWidget List of all members.

Signals

void propertyChanged (QString name, QVariant newValue)

Public Member Functions

 PSpinBox (const PropertyEditor *editor, const QString name, const QVariant value, QWidget *parent=0, const char *name=0)
 PSpinBox (const PropertyEditor *editor, const QString name, const QVariant value, int minValue, int maxValue, int step=1, QWidget *parent=0, const char *name=0)
virtual QVariant value () const
virtual void setValue (const QVariant value, bool emitChange=true)

Private Slots

void updateProperty (int val)

Constructor & Destructor Documentation

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

Definition at line 22 of file pspinbox.cpp.

References propertyChanged(), PSpinBox(), setValue(), and updateProperty().

Referenced by PSpinBox().

PSpinBox::PSpinBox const PropertyEditor editor,
const QString  name,
const QVariant  value,
int  minValue,
int  maxValue,
int  step = 1,
QWidget parent = 0,
const char *  name = 0
 

Definition at line 31 of file pspinbox.cpp.

References propertyChanged(), PSpinBox(), setValue(), and updateProperty().


Member Function Documentation

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

Referenced by PSpinBox(), setValue(), and updateProperty().

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

Implements PropertyWidget.

Definition at line 45 of file pspinbox.cpp.

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

Referenced by PSpinBox(), and setValue().

void PSpinBox::updateProperty int  val  )  [private, slot]
 

Definition at line 52 of file pspinbox.cpp.

References PropertyWidget::pname(), propertyChanged(), and updateProperty().

Referenced by PSpinBox(), and updateProperty().

QVariant PSpinBox::value  )  const [virtual]
 

Implements PropertyWidget.

Definition at line 40 of file pspinbox.cpp.


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