diff options
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 66618d380..a0cf35d01 100644 --- a/doc/html/chart-chartform-cpp.html +++ b/doc/html/chart-chartform-cpp.html @@ -128,23 +128,23 @@ const <a href="tqstring.html">TQString</a> APP_KEY = "/Chart/"; <a href="tqactiongroup.html">TQActionGroup</a> *chartGroup = new <a href="tqactiongroup.html">TQActionGroup</a>( this ); // Connected later -<a name="x2874"></a> chartGroup-><a href="tqactiongroup.html#setExclusive">setExclusive</a>( TRUE ); +<a name="x2874"></a> chartGroup-><a href="tqactiongroup.html#setExclusive">setExclusive</a>( true ); optionsPieChartAction = new <a href="tqaction.html">TQAction</a>( "Pie Chart", TQPixmap( options_piechart ), "&Pie Chart", CTRL+Key_I, chartGroup, "pie chart" ); -<a name="x2872"></a> optionsPieChartAction-><a href="tqaction.html#setToggleAction">setToggleAction</a>( TRUE ); +<a name="x2872"></a> optionsPieChartAction-><a href="tqaction.html#setToggleAction">setToggleAction</a>( true ); optionsHorizontalBarChartAction = new <a href="tqaction.html">TQAction</a>( "Horizontal Bar Chart", TQPixmap( options_horizontalbarchart ), "&Horizontal Bar Chart", CTRL+Key_H, chartGroup, "horizontal bar chart" ); - optionsHorizontalBarChartAction-><a href="tqaction.html#setToggleAction">setToggleAction</a>( TRUE ); + optionsHorizontalBarChartAction-><a href="tqaction.html#setToggleAction">setToggleAction</a>( true ); optionsVerticalBarChartAction = new <a href="tqaction.html">TQAction</a>( "Vertical Bar Chart", TQPixmap( options_verticalbarchart ), "&Vertical Bar Chart", CTRL+Key_V, chartGroup, "Vertical bar chart" ); - optionsVerticalBarChartAction-><a href="tqaction.html#setToggleAction">setToggleAction</a>( TRUE ); + optionsVerticalBarChartAction-><a href="tqaction.html#setToggleAction">setToggleAction</a>( true ); optionsSetFontAction = new <a href="tqaction.html">TQAction</a>( @@ -285,7 +285,7 @@ void <a name="f149"></a>ChartForm::init() { <a href="tqwidget.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 ); @@ -425,13 +425,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; } @@ -457,7 +457,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="tqdialog.html#exec">exec</a>() ) { - m_changed = TRUE; + m_changed = true; drawElements(); } delete setDataForm; @@ -469,13 +469,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="tqaction.html#setOn">setOn</a>( TRUE ); +<a name="x2871"></a> optionsPieChartAction-><a href="tqaction.html#setOn">setOn</a>( true ); break; case VERTICAL_BAR: - optionsVerticalBarChartAction-><a href="tqaction.html#setOn">setOn</a>( TRUE ); + optionsVerticalBarChartAction-><a href="tqaction.html#setOn">setOn</a>( true ); break; case HORIZONTAL_BAR: - optionsHorizontalBarChartAction-><a href="tqaction.html#setOn">setOn</a>( TRUE ); + optionsHorizontalBarChartAction-><a href="tqaction.html#setOn">setOn</a>( true ); break; } } @@ -515,13 +515,13 @@ void <a name="f163"></a>ChartForm::optionsSetOptions() optionsForm-><a href="tqwidget.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 ); |