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