summaryrefslogtreecommitdiffstats
path: root/doc/html/buttongroups-example.html
diff options
context:
space:
mode:
Diffstat (limited to 'doc/html/buttongroups-example.html')
-rw-r--r--doc/html/buttongroups-example.html64
1 files changed, 32 insertions, 32 deletions
diff --git a/doc/html/buttongroups-example.html b/doc/html/buttongroups-example.html
index c9b50d912..5f9937544 100644
--- a/doc/html/buttongroups-example.html
+++ b/doc/html/buttongroups-example.html
@@ -63,8 +63,8 @@ public:
ButtonsGroups( <a href="tqwidget.html">TQWidget</a> *parent = 0, const char *name = 0 );
protected:
- <a href="ntqcheckbox.html">TQCheckBox</a> *state;
- <a href="ntqradiobutton.html">TQRadioButton</a> *rb21, *rb22, *rb23;
+ <a href="tqcheckbox.html">TQCheckBox</a> *state;
+ <a href="tqradiobutton.html">TQRadioButton</a> *rb21, *rb22, *rb23;
protected slots:
void slotChangeGrp3State();
@@ -91,10 +91,10 @@ protected slots:
#include &lt;<a href="tqpopupmenu-h.html">tqpopupmenu.h</a>&gt;
#include &lt;<a href="qbuttongroup-h.html">ntqbuttongroup.h</a>&gt;
#include &lt;<a href="qlayout-h.html">ntqlayout.h</a>&gt;
-#include &lt;<a href="qradiobutton-h.html">ntqradiobutton.h</a>&gt;
-#include &lt;<a href="qcheckbox-h.html">ntqcheckbox.h</a>&gt;
+#include &lt;<a href="tqradiobutton-h.html">tqradiobutton.h</a>&gt;
+#include &lt;<a href="tqcheckbox-h.html">tqcheckbox.h</a>&gt;
#include &lt;<a href="qgroupbox-h.html">ntqgroupbox.h</a>&gt;
-#include &lt;<a href="qpushbutton-h.html">ntqpushbutton.h</a>&gt;
+#include &lt;<a href="tqpushbutton-h.html">tqpushbutton.h</a>&gt;
/*
* Constructor
@@ -118,10 +118,10 @@ protected slots:
<a name="x549"></a> bgrp1-&gt;<a href="ntqbuttongroup.html#setExclusive">setExclusive</a>( TRUE );
// insert 3 radiobuttons
- <a href="ntqradiobutton.html">TQRadioButton</a> *rb11 = new <a href="ntqradiobutton.html">TQRadioButton</a>( "&amp;Radiobutton 1", bgrp1 );
-<a name="x559"></a> rb11-&gt;<a href="ntqradiobutton.html#setChecked">setChecked</a>( TRUE );
- (void)new <a href="ntqradiobutton.html">TQRadioButton</a>( "R&amp;adiobutton 2", bgrp1 );
- (void)new <a href="ntqradiobutton.html">TQRadioButton</a>( "Ra&amp;diobutton 3", bgrp1 );
+ <a href="tqradiobutton.html">TQRadioButton</a> *rb11 = new <a href="tqradiobutton.html">TQRadioButton</a>( "&amp;Radiobutton 1", bgrp1 );
+<a name="x559"></a> rb11-&gt;<a href="tqradiobutton.html#setChecked">setChecked</a>( TRUE );
+ (void)new <a href="tqradiobutton.html">TQRadioButton</a>( "R&amp;adiobutton 2", bgrp1 );
+ (void)new <a href="tqradiobutton.html">TQRadioButton</a>( "Ra&amp;diobutton 3", bgrp1 );
// ------- second group
@@ -131,12 +131,12 @@ protected slots:
bgrp2-&gt;<a href="ntqbuttongroup.html#setExclusive">setExclusive</a>( FALSE );
// insert 3 checkboxes
- (void)new <a href="ntqcheckbox.html">TQCheckBox</a>( "&amp;Checkbox 1", bgrp2 );
- <a href="ntqcheckbox.html">TQCheckBox</a> *cb12 = new <a href="ntqcheckbox.html">TQCheckBox</a>( "C&amp;heckbox 2", bgrp2 );
-<a name="x552"></a> cb12-&gt;<a href="ntqcheckbox.html#setChecked">setChecked</a>( TRUE );
- <a href="ntqcheckbox.html">TQCheckBox</a> *cb13 = new <a href="ntqcheckbox.html">TQCheckBox</a>( "Triple &amp;State Button", bgrp2 );
-<a name="x553"></a> cb13-&gt;<a href="ntqcheckbox.html#setTristate">setTristate</a>( TRUE );
- cb13-&gt;<a href="ntqcheckbox.html#setChecked">setChecked</a>( TRUE );
+ (void)new <a href="tqcheckbox.html">TQCheckBox</a>( "&amp;Checkbox 1", bgrp2 );
+ <a href="tqcheckbox.html">TQCheckBox</a> *cb12 = new <a href="tqcheckbox.html">TQCheckBox</a>( "C&amp;heckbox 2", bgrp2 );
+<a name="x552"></a> cb12-&gt;<a href="tqcheckbox.html#setChecked">setChecked</a>( TRUE );
+ <a href="tqcheckbox.html">TQCheckBox</a> *cb13 = new <a href="tqcheckbox.html">TQCheckBox</a>( "Triple &amp;State Button", bgrp2 );
+<a name="x553"></a> cb13-&gt;<a href="tqcheckbox.html#setTristate">setTristate</a>( TRUE );
+ cb13-&gt;<a href="tqcheckbox.html#setChecked">setChecked</a>( TRUE );
// ------------ third group
@@ -146,14 +146,14 @@ protected slots:
<a name="x550"></a> bgrp3-&gt;<a href="ntqbuttongroup.html#setRadioButtonExclusive">setRadioButtonExclusive</a>( TRUE );
// insert three radiobuttons
- rb21 = new <a href="ntqradiobutton.html">TQRadioButton</a>( "Rad&amp;iobutton 1", bgrp3 );
- rb22 = new <a href="ntqradiobutton.html">TQRadioButton</a>( "Radi&amp;obutton 2", bgrp3 );
- rb23 = new <a href="ntqradiobutton.html">TQRadioButton</a>( "Radio&amp;button 3", bgrp3 );
- rb23-&gt;<a href="ntqradiobutton.html#setChecked">setChecked</a>( TRUE );
+ rb21 = new <a href="tqradiobutton.html">TQRadioButton</a>( "Rad&amp;iobutton 1", bgrp3 );
+ rb22 = new <a href="tqradiobutton.html">TQRadioButton</a>( "Radi&amp;obutton 2", bgrp3 );
+ rb23 = new <a href="tqradiobutton.html">TQRadioButton</a>( "Radio&amp;button 3", bgrp3 );
+ rb23-&gt;<a href="tqradiobutton.html#setChecked">setChecked</a>( TRUE );
// insert a checkbox...
- state = new <a href="ntqcheckbox.html">TQCheckBox</a>( "E&amp;nable Radiobuttons", bgrp3 );
- state-&gt;<a href="ntqcheckbox.html#setChecked">setChecked</a>( TRUE );
+ state = new <a href="tqcheckbox.html">TQCheckBox</a>( "E&amp;nable Radiobuttons", bgrp3 );
+ state-&gt;<a href="tqcheckbox.html#setChecked">setChecked</a>( TRUE );
// ...and connect its TQ_SIGNAL clicked() with the TQ_SLOT slotChangeGrp3State()
<a href="tqobject.html#connect">connect</a>( state, TQ_SIGNAL( <a href="ntqbutton.html#clicked">clicked</a>() ), this, TQ_SLOT( slotChangeGrp3State() ) );
@@ -164,25 +164,25 @@ protected slots:
box2-&gt;<a href="qboxlayout.html#addWidget">addWidget</a>( bgrp4 );
// insert four pushbuttons...
- (void)new <a href="ntqpushbutton.html">TQPushButton</a>( "&amp;Push Button", bgrp4, "push" );
+ (void)new <a href="tqpushbutton.html">TQPushButton</a>( "&amp;Push Button", bgrp4, "push" );
// now make the second one a toggle button
- <a href="ntqpushbutton.html">TQPushButton</a> *tb2 = new <a href="ntqpushbutton.html">TQPushButton</a>( "&amp;Toggle Button", bgrp4, "toggle" );
-<a name="x558"></a> tb2-&gt;<a href="ntqpushbutton.html#setToggleButton">setToggleButton</a>( TRUE );
-<a name="x556"></a> tb2-&gt;<a href="ntqpushbutton.html#setOn">setOn</a>( TRUE );
+ <a href="tqpushbutton.html">TQPushButton</a> *tb2 = new <a href="tqpushbutton.html">TQPushButton</a>( "&amp;Toggle Button", bgrp4, "toggle" );
+<a name="x558"></a> tb2-&gt;<a href="tqpushbutton.html#setToggleButton">setToggleButton</a>( TRUE );
+<a name="x556"></a> tb2-&gt;<a href="tqpushbutton.html#setOn">setOn</a>( TRUE );
// ... and make the third one a flat button
- <a href="ntqpushbutton.html">TQPushButton</a> *tb3 = new <a href="ntqpushbutton.html">TQPushButton</a>( "&amp;Flat Button", bgrp4, "flat" );
-<a name="x555"></a> tb3-&gt;<a href="ntqpushbutton.html#setFlat">setFlat</a>(TRUE);
+ <a href="tqpushbutton.html">TQPushButton</a> *tb3 = new <a href="tqpushbutton.html">TQPushButton</a>( "&amp;Flat Button", bgrp4, "flat" );
+<a name="x555"></a> tb3-&gt;<a href="tqpushbutton.html#setFlat">setFlat</a>(TRUE);
// .. and the fourth a button with a menu
- <a href="ntqpushbutton.html">TQPushButton</a> *tb4 = new <a href="ntqpushbutton.html">TQPushButton</a>( "Popup Button", bgrp4, "popup" );
+ <a href="tqpushbutton.html">TQPushButton</a> *tb4 = new <a href="tqpushbutton.html">TQPushButton</a>( "Popup Button", bgrp4, "popup" );
<a href="tqpopupmenu.html">TQPopupMenu</a> *menu = new <a href="tqpopupmenu.html">TQPopupMenu</a>(tb4);
menu-&gt;<a href="tqmenudata.html#insertItem">insertItem</a>("Item1", 0);
menu-&gt;<a href="tqmenudata.html#insertItem">insertItem</a>("Item2", 1);
menu-&gt;<a href="tqmenudata.html#insertItem">insertItem</a>("Item3", 2);
menu-&gt;<a href="tqmenudata.html#insertItem">insertItem</a>("Item4", 3);
-<a name="x557"></a> tb4-&gt;<a href="ntqpushbutton.html#setPopup">setPopup</a>(menu);
+<a name="x557"></a> tb4-&gt;<a href="tqpushbutton.html#setPopup">setPopup</a>(menu);
}
/*
@@ -193,9 +193,9 @@ protected slots:
void <a name="f262"></a>ButtonsGroups::slotChangeGrp3State()
{
-<a name="x560"></a><a name="x551"></a> rb21-&gt;<a href="tqwidget.html#setEnabled">setEnabled</a>( state-&gt;<a href="ntqcheckbox.html#isChecked">isChecked</a>() );
- rb22-&gt;<a href="tqwidget.html#setEnabled">setEnabled</a>( state-&gt;<a href="ntqcheckbox.html#isChecked">isChecked</a>() );
- rb23-&gt;<a href="tqwidget.html#setEnabled">setEnabled</a>( state-&gt;<a href="ntqcheckbox.html#isChecked">isChecked</a>() );
+<a name="x560"></a><a name="x551"></a> rb21-&gt;<a href="tqwidget.html#setEnabled">setEnabled</a>( state-&gt;<a href="tqcheckbox.html#isChecked">isChecked</a>() );
+ rb22-&gt;<a href="tqwidget.html#setEnabled">setEnabled</a>( state-&gt;<a href="tqcheckbox.html#isChecked">isChecked</a>() );
+ rb23-&gt;<a href="tqwidget.html#setEnabled">setEnabled</a>( state-&gt;<a href="tqcheckbox.html#isChecked">isChecked</a>() );
}
</pre>