00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020 #ifndef BUTTONGROUP_H
00021 #define BUTTONGROUP_H
00022
00023 #include <tqbuttongroup.h>
00024
00025
00038 class ButtonGroup : public TQButtonGroup
00039 {
00040 Q_OBJECT
00041
00042 public:
00047 explicit ButtonGroup(TQWidget* parent, const char* name = 0);
00053 ButtonGroup(const TQString& title, TQWidget* parent, const char* name = 0);
00060 ButtonGroup(int strips, Qt::Orientation orient, TQWidget* parent, const char* name = 0);
00068 ButtonGroup(int strips, Qt::Orientation orient, const TQString& title, TQWidget* parent, const char* name = 0);
00075 int insert(TQButton* button, int id = -1);
00080 virtual void setButton(int id) { TQButtonGroup::setButton(id); emit buttonSet(id); }
00081 private slots:
00082 void slotButtonToggled(bool);
00083 signals:
00088 void buttonSet(int id);
00089 };
00090
00091 #endif // BUTTONGROUP_H