lib/widgets/propeditor/pspinbox.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
#ifndef PSPINBOX_H
00020
#define PSPINBOX_H
00021
00022
#include <qspinbox.h>
00023
#include "propertywidget.h"
00024
00025
class PropertyEditor;
00026
00027 class PSpinBox:
public QSpinBox,
PropertyWidget{
00028 Q_OBJECT
00029
public:
00030
PSpinBox (
const PropertyEditor *editor,
const QString name,
const QVariant value,
QWidget * parent = 0,
const char * name = 0 );
00031
PSpinBox (
const PropertyEditor *editor,
const QString name,
const QVariant value,
int minValue,
int maxValue,
int step = 1,
QWidget * parent = 0,
const char * name = 0 );
00032
00033
virtual QVariant value()
const;
00034
virtual void setValue(
const QVariant value,
bool emitChange=
true);
00035 signals:
00036
void propertyChanged(
QString name,
QVariant newValue);
00037
private slots:
00038
void updateProperty(
int val);
00039 };
00040
00041
#endif
This file is part of the documentation for KDevelop Version 3.0.4.