KIntegerLine Class Reference

[kio Index] [kio Hierarchy] [Headers]


IntegerEditline: Editline for Integers More...

#include <kintegerline.h>

Inherits: KRestrictedLine (kdeui)

Public Members

Protected Members

Signals


Detailed Description

IntegerEditline: Editline for Integers. Only octal, decimal or hexadecimal characters are valid input characters for this sort

of edit lines.

A few special keys are supported by this class:


KIntegerLine() [public]

Default - empty - constructor

KIntegerLine( QWidget *parent=0, const char *name=0, KEditLineType t=KEditTypeDec) [public]

Contructor: This constructor takes three - optional - arguments.The first two parameters are simply passed to KRestrictedLine.

Parameters:
name pointer to the name of this widget
parent pointer to the parent widget
t type of this integer line (defaults to KEditTypeDec)

~KIntegerLine() [public]

Destructor

KEditLineType getType() [public]

Get the type of this Line

int value( void ) [public]

Get the current value in the lined

void setValue( int value ) [public]

Set the current value in the lined

void keyPressEvent( QKeyEvent *e ) [protected]

Key press event handler. Handles the following special keys:


  • Author: Michael Wiedmann <mw@miwie.in-berlin.de>
  • Version: 0.0.1
  • Documentation generated by tasin@cd1 on Die Nov 30 17:32:00 CET 1999
Kdoc