/***************************************************************************
                            qt_QButton.h -  description
                             -------------------
    begin                : Tue Nov 20 20:51:20 2001
    copyright            : (C) 2000-2001 Lost Highway Ltd. All rights reserved.
    email                : Lost_Highway@tipitina.demon.co.uk
    generated by         : duke@tipitina on Tue Nov 20 20:51:20 2001, 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 QT_QBUTTON
#define QT_QBUTTON

#include <qtc/qtc_types.h>

/**

* $Id: qt_QButton.h,v 1.2 2001/11/21 23:26:16 rdale Exp $
*
* Definition of QButtonGroup class
*
* Created : 950130
*
* Copyright (C) 1992-2000 Trolltech AS.  All rights reserved.
*
* This file is part of the widgets module of the Qt GUI Toolkit.
*
* This file may be distributed under the terms of the Q Public License
* as defined by Trolltech AS of Norway and appearing in the file
* LICENSE.QPL included in the packaging of this file.
*
* This file may be distributed and/or modified under the terms of the
* GNU General Public License version 2 as published by the Free Software
* Foundation and appearing in the file LICENSE.GPL included in the
* packaging of this file.
*
* Licensees holding valid Qt Enterprise Edition or Qt Professional Edition
* licenses may use this file in accordance with the Qt Commercial License
* Agreement provided with the Software.
*
* This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
* WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
*
* See http://www.trolltech.com/pricing.html or email sales@trolltech.com for
*   information about Qt Commercial License Agreements.
* See http://www.trolltech.com/qpl/ for QPL licensing information.
* See http://www.trolltech.com/gpl/ for GPL licensing information.
*
* Contact info@trolltech.com if any conditions of this licensing are
* not clear to you.
*
********************************************************************
 @short 
* $Id:  qt/qbuttongroup.
*/
#define QBUTTON_SingleShot	0
#define QBUTTON_Toggle	1
#define QBUTTON_Tristate	2
#define QBUTTON_Off	0
#define QBUTTON_NoChange	1
#define QBUTTON_On	2
qt_QButton * qt_new_QButton(qt_QWidget * parent, char* name, int f);
void qt_del_QButton( qt_QButton* p );
qt_QString * qt_QButton_text(qt_QButton* instPointer);
void qt_QButton_setText(qt_QButton* instPointer,qt_QString * arg1);
qt_QPixmap * qt_QButton_pixmap(qt_QButton* instPointer);
void qt_QButton_setPixmap(qt_QButton* instPointer,qt_QPixmap * arg1);
qt_QKeySequence* qt_QButton_accel(qt_QButton* instPointer);
void qt_QButton_setAccel(qt_QButton* instPointer,qt_QKeySequence* arg1);
int qt_QButton_isToggleButton(qt_QButton* instPointer);
int qt_QButton_toggleType(qt_QButton* instPointer);
void qt_QButton_setDown(qt_QButton* instPointer,int arg1);
int qt_QButton_isDown(qt_QButton* instPointer);
int qt_QButton_isOn(qt_QButton* instPointer);
int qt_QButton_state(qt_QButton* instPointer);
int qt_QButton_autoResize(qt_QButton* instPointer);
void qt_QButton_setAutoResize(qt_QButton* instPointer,int arg1);
int qt_QButton_autoRepeat(qt_QButton* instPointer);
void qt_QButton_setAutoRepeat(qt_QButton* instPointer,int arg1);
int qt_QButton_isExclusiveToggle(qt_QButton* instPointer);
qt_QButtonGroup* qt_QButton_group(qt_QButton* instPointer);
void qt_QButton_animateClick(qt_QButton* instPointer);
void qt_QButton_toggle(qt_QButton* instPointer);
void qt_QButton_setToggleButton(qt_QButton* instPointer,int arg1);
void qt_QButton_setToggleType(qt_QButton* instPointer,int arg1);
void qt_QButton_setOn(qt_QButton* instPointer,int arg1);
void qt_QButton_setState(qt_QButton* instPointer,int arg1);
int qt_QButton_hitButton(qt_QButton* instPointer,qt_QPoint* pos);
void qt_QButton_drawButton(qt_QButton* instPointer,qt_QPainter * arg1);
void qt_QButton_drawButtonLabel(qt_QButton* instPointer,qt_QPainter * arg1);
void qt_QButton_enabledChange(qt_QButton* instPointer,int arg1);

#endif
