This is the verbatim text of the qchkbox.h include file. It is is provided only for illustration; the copyright remains with Troll Tech.
/****************************************************************************
** $Id: qchkbox.h,v 1.5 1995/05/13 14:54:35 hanord Exp $
**
** Definition of QCheckBox class
**
** Author : Haavard Nord
** Created : 940222
**
** Copyright (C) 1994,1995 by Troll Tech AS. All rights reserved.
**
*****************************************************************************/
#ifndef QCHKBOX_H
#define QCHKBOX_H
#include "qbutton.h"
class QCheckBox : public QButton
{
Q_OBJECT
public:
QCheckBox( QWidget *parent=0, const char *name=0 );
QCheckBox( const char *text, QWidget *parent, const char *name=0 );
bool isChecked() const { return isOn(); }
void setChecked( bool check );
void adjustSize();
protected:
void drawButton( QPainter * );
};
#endif // QCHKBOX_H