KDevelop API Documentation

InputInt Class Reference

#include <input.h>

Inheritance diagram for InputInt:

QWidget IInput List of all members.

Signals

void changed ()

Public Member Functions

 InputInt (const QString &text, QWidget *parent, int &val, int minVal, int maxVal)
 ~InputInt ()
void init ()
virtual void setEnabled (bool)
QObjectqobject ()

Private Slots

void valueChanged (int val)

Private Attributes

QLabellab
QSpinBoxsp
int & m_val
int m_minVal
int m_maxVal

Constructor & Destructor Documentation

InputInt::InputInt const QString text,
QWidget parent,
int &  val,
int  minVal,
int  maxVal
 

Definition at line 154 of file input.cpp.

References init(), InputInt(), lab, sp, and valueChanged().

Referenced by InputInt().

InputInt::~InputInt  ) 
 

Definition at line 172 of file input.cpp.


Member Function Documentation

void InputInt::changed  )  [signal]
 

Referenced by valueChanged().

void InputInt::init  )  [virtual]
 

Implements IInput.

Definition at line 176 of file input.cpp.

References m_maxVal, m_minVal, m_val, and sp.

Referenced by InputInt().

QObject* InputInt::qobject  )  [inline, virtual]
 

Implements IInput.

Definition at line 74 of file input.h.

void InputInt::setEnabled bool   )  [virtual]
 

Implements IInput.

Definition at line 192 of file input.cpp.

References lab, setEnabled(), and sp.

Referenced by setEnabled().

void InputInt::valueChanged int  val  )  [private, slot]
 

Definition at line 184 of file input.cpp.

References changed(), m_val, and valueChanged().

Referenced by InputInt(), and valueChanged().


Member Data Documentation

QLabel* InputInt::lab [private]
 

Definition at line 83 of file input.h.

Referenced by InputInt(), and setEnabled().

int InputInt::m_maxVal [private]
 

Definition at line 87 of file input.h.

Referenced by init().

int InputInt::m_minVal [private]
 

Definition at line 86 of file input.h.

Referenced by init().

int& InputInt::m_val [private]
 

Definition at line 85 of file input.h.

Referenced by init(), and valueChanged().

QSpinBox* InputInt::sp [private]
 

Definition at line 84 of file input.h.

Referenced by init(), InputInt(), and setEnabled().


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 Wed Oct 6 17:39:25 2004 by doxygen 1.3.7 written by Dimitri van Heesch, © 1997-2003