/***************************************************************************
                            kde_KNumInput.h -  description
                             -------------------
    begin                : Wed Feb  6 15:12:26 2002
    copyright            : (C) 2000-2001 Lost Highway Ltd. All rights reserved.
    email                : Lost_Highway@tipitina.demon.co.uk
    generated by         : duke@tipitina on Wed Feb  6 15:12:26 2002, using kalyptus 0.9.
 ***************************************************************************/

/***************************************************************************
 *                                                                         *
 *   This library is free software; you can redistribute it and/or modify  *
 *   it under the terms of the GNU Library General Public License as       *
 *   published by the Free Software Foundation; either version 2 of the    *
 *   License, or (at your option) any later version.                       *
 *                                                                         *
 ***************************************************************************/

#ifndef KDE_KNUMINPUT
#define KDE_KNUMINPUT

#include <qtc/qtc_types.h>

#include <kdec/kde_types.h>

/**

 You need to inherit from this class if you want to implement K*NumInput
 for a different variable type

 
 @short 
 You need to inherit from this class if you want to implement K*NumInput
 for a different variable type

*/
void kde_del_KNumInput( kde_KNumInput* p );

/** 
 Sets the text and alignment of the main description label.

 The vertical alignment flags have special meaning with this
 widget:

     
*/
void kde_KNumInput_setLabel(kde_KNumInput* instPointer,qt_QString * label, int a);

/** 
 Sets the spacing of tickmarks for the slider.

*/
void kde_KNumInput_setSteps(kde_KNumInput* instPointer,int minor, int major);

/** 
 Specifies that this widget may stretch horizontally, but is
 fixed vertically (like @ref QSpinBox itself).
     
*/
qt_QSizePolicy* kde_KNumInput_sizePolicy(kde_KNumInput* instPointer);

/** 
 Returns a size which fits the contents of the control.

*/
qt_QSize * kde_KNumInput_sizeHint(kde_KNumInput* instPointer);

#endif
