diff options
| author | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-11-26 15:11:22 +0900 |
|---|---|---|
| committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-11-26 15:11:22 +0900 |
| commit | b87533f9904c10f24d6b2e8177c00944e3efe15b (patch) | |
| tree | c1106a381c851b51e86004698457aef1211b77be /doc/html/chart-chartform-cpp.html | |
| parent | 894037c3e68e1573a34183d936171f8cda5085f3 (diff) | |
| download | tqt-r14.1.x.tar.gz tqt-r14.1.x.zip | |
Replace TRUE/FALSE with boolean values true/false - part 4r14.1.x
Manually cherry-picked from commit 4d495175
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'doc/html/chart-chartform-cpp.html')
| -rw-r--r-- | doc/html/chart-chartform-cpp.html | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/doc/html/chart-chartform-cpp.html b/doc/html/chart-chartform-cpp.html index 881f791bb..13ca3a92d 100644 --- a/doc/html/chart-chartform-cpp.html +++ b/doc/html/chart-chartform-cpp.html @@ -129,23 +129,23 @@ const <a href="ntqstring.html">TQString</a> APP_KEY = "/Chart/"; <a href="qactiongroup.html">TQActionGroup</a> *chartGroup = new <a href="qactiongroup.html">TQActionGroup</a>( this ); // Connected later -<a name="x2874"></a> chartGroup-><a href="qactiongroup.html#setExclusive">setExclusive</a>( TRUE ); +<a name="x2874"></a> chartGroup-><a href="qactiongroup.html#setExclusive">setExclusive</a>( true ); optionsPieChartAction = new <a href="ntqaction.html">TQAction</a>( "Pie Chart", TQPixmap( options_piechart ), "&Pie Chart", CTRL+Key_I, chartGroup, "pie chart" ); -<a name="x2872"></a> optionsPieChartAction-><a href="ntqaction.html#setToggleAction">setToggleAction</a>( TRUE ); +<a name="x2872"></a> optionsPieChartAction-><a href="ntqaction.html#setToggleAction">setToggleAction</a>( true ); optionsHorizontalBarChartAction = new <a href="ntqaction.html">TQAction</a>( "Horizontal Bar Chart", TQPixmap( options_horizontalbarchart ), "&Horizontal Bar Chart", CTRL+Key_H, chartGroup, "horizontal bar chart" ); - optionsHorizontalBarChartAction-><a href="ntqaction.html#setToggleAction">setToggleAction</a>( TRUE ); + optionsHorizontalBarChartAction-><a href="ntqaction.html#setToggleAction">setToggleAction</a>( true ); optionsVerticalBarChartAction = new <a href="ntqaction.html">TQAction</a>( "Vertical Bar Chart", TQPixmap( options_verticalbarchart ), "&Vertical Bar Chart", CTRL+Key_V, chartGroup, "Vertical bar chart" ); - optionsVerticalBarChartAction-><a href="ntqaction.html#setToggleAction">setToggleAction</a>( TRUE ); + optionsVerticalBarChartAction-><a href="ntqaction.html#setToggleAction">setToggleAction</a>( true ); optionsSetFontAction = new <a href="ntqaction.html">TQAction</a>( @@ -286,7 +286,7 @@ void <a name="f149"></a>ChartForm::init() { <a href="ntqwidget.html#setCaption">setCaption</a>( "Chart" ); m_filename = TQString::null; - m_changed = FALSE; + m_changed = false; m_elements[0] = Element( Element::INVALID, red ); m_elements[1] = Element( Element::INVALID, cyan ); @@ -426,13 +426,13 @@ bool <a name="f157"></a>ChartForm::okToClear() break; case 1: // Cancel default: - return FALSE; + return false; case 2: // Abandon break; } } - return TRUE; + return true; } @@ -458,7 +458,7 @@ void <a name="f159"></a>ChartForm::optionsSetData() { SetDataForm *setDataForm = new SetDataForm( &m_elements, m_decimalPlaces, this ); <a name="x2877"></a> if ( setDataForm-><a href="ntqdialog.html#exec">exec</a>() ) { - m_changed = TRUE; + m_changed = true; drawElements(); } delete setDataForm; @@ -470,13 +470,13 @@ void <a name="f160"></a>ChartForm::setChartType( ChartType chartType ) m_chartType = chartType; switch ( m_chartType ) { case PIE: -<a name="x2871"></a> optionsPieChartAction-><a href="ntqaction.html#setOn">setOn</a>( TRUE ); +<a name="x2871"></a> optionsPieChartAction-><a href="ntqaction.html#setOn">setOn</a>( true ); break; case VERTICAL_BAR: - optionsVerticalBarChartAction-><a href="ntqaction.html#setOn">setOn</a>( TRUE ); + optionsVerticalBarChartAction-><a href="ntqaction.html#setOn">setOn</a>( true ); break; case HORIZONTAL_BAR: - optionsHorizontalBarChartAction-><a href="ntqaction.html#setOn">setOn</a>( TRUE ); + optionsHorizontalBarChartAction-><a href="ntqaction.html#setOn">setOn</a>( true ); break; } } @@ -516,13 +516,13 @@ void <a name="f163"></a>ChartForm::optionsSetOptions() optionsForm-><a href="ntqwidget.html#setFont">setFont</a>( m_font ); switch ( m_addValues ) { case NO: - optionsForm->noRadioButton->setChecked( TRUE ); + optionsForm->noRadioButton->setChecked( true ); break; case YES: - optionsForm->yesRadioButton->setChecked( TRUE ); + optionsForm->yesRadioButton->setChecked( true ); break; case AS_PERCENTAGE: - optionsForm->asPercentageRadioButton->setChecked( TRUE ); + optionsForm->asPercentageRadioButton->setChecked( true ); break; } optionsForm->decimalPlacesSpinBox->setValue( m_decimalPlaces ); |
