KDevelop API Documentation

InputBool Class Reference

#include <input.h>

Inheritance diagram for InputBool:

Inheritance graph
[legend]
Collaboration diagram for InputBool:

Collaboration graph
[legend]
List of all members.

Signals

void changed ()
void toggle (const QString &, bool)

Public Member Functions

 InputBool (const QCString &key, const QString &text, QWidget *parent, bool &flag)
 ~InputBool ()
void init ()
virtual void setEnabled (bool b)
virtual QObject * qobject ()
virtual bool getState () const

Private Slots

void valueChanged (bool)

Private Attributes

bool & state
QCString key
QCheckBox * cb

Constructor & Destructor Documentation

InputBool::InputBool (  const QCString &  key,
const QString &  text,
QWidget *  parent,
bool &  flag
) 
 

Definition at line 113 of file input.cpp.

References cb, init(), text(), and valueChanged().

InputBool::~InputBool (   ) 
 

Definition at line 128 of file input.cpp.


Member Function Documentation

void InputBool::changed (   )  [signal]
 

Referenced by valueChanged().

virtual bool InputBool::getState (   )  const [inline, virtual]
 

Definition at line 47 of file input.h.

void InputBool::init (   )  [virtual]
 

Implements IInput.

Definition at line 132 of file input.cpp.

References cb, and state.

Referenced by InputBool().

virtual QObject* InputBool::qobject (   )  [inline, virtual]
 

Implements IInput.

Definition at line 46 of file input.h.

void InputBool::setEnabled (  bool  b  )  [virtual]
 

Implements IInput.

Definition at line 148 of file input.cpp.

References cb.

void InputBool::toggle (  const QString &  ,
bool 
)  [signal]
 

Referenced by valueChanged().

void InputBool::valueChanged (  bool   )  [private, slot]
 

Definition at line 138 of file input.cpp.

References changed(), state, and toggle().

Referenced by InputBool().


Member Data Documentation

QCheckBox* InputBool::cb [private]
 

Definition at line 59 of file input.h.

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

QCString InputBool::key [private]
 

Definition at line 58 of file input.h.

bool& InputBool::state [private]
 

Definition at line 57 of file input.h.

Referenced by init(), and valueChanged().


The documentation for this class was generated from the following files:
KDE Logo
This file is part of the documentation for KDevelop Version 3.1.2.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Tue Feb 22 09:43:39 2005 by doxygen 1.3.9.1 written by Dimitri van Heesch, © 1997-2003