diff options
| author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-01-04 10:30:32 +0900 |
|---|---|---|
| committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-01-13 20:22:52 +0900 |
| commit | e1b37ac1936f81994a2c1aa2778298fbc757531f (patch) | |
| tree | 2e2df5ea5786d581b10e51e0cbde9f4921697b2f /kchart/kchart_view.cpp | |
| parent | d08f80f854355e446d1c6be0eb50166646f7f291 (diff) | |
| download | koffice-e1b37ac1.tar.gz koffice-e1b37ac1.zip | |
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit c0332621bc998c9786f4841e86a62b7711fe4abf)
Diffstat (limited to 'kchart/kchart_view.cpp')
| -rw-r--r-- | kchart/kchart_view.cpp | 54 |
1 files changed, 27 insertions, 27 deletions
diff --git a/kchart/kchart_view.cpp b/kchart/kchart_view.cpp index b7b7fba82..4b5e511df 100644 --- a/kchart/kchart_view.cpp +++ b/kchart/kchart_view.cpp @@ -65,100 +65,100 @@ KChartView::KChartView( KChartPart* part, TQWidget* parent, const char* name ) dcopObject(); // build it m_importData = new TDEAction( i18n( "Import Data..." ), 0, - this, TQT_SLOT( importData() ), + this, TQ_SLOT( importData() ), actionCollection(), "import_data" ); #if 0 TDEAction * actionExtraCreateTemplate = #endif new TDEAction( i18n( "&Create Template From Document..." ), 0, - this, TQT_SLOT( extraCreateTemplate() ), + this, TQ_SLOT( extraCreateTemplate() ), actionCollection(), "extra_template" ); m_wizard = new TDEAction( i18n("Customize with &Wizard..."), "wizard", 0, - this, TQT_SLOT( wizard() ), + this, TQ_SLOT( wizard() ), actionCollection(), "wizard"); m_edit = new TDEAction( i18n("Edit &Data..."), "edit", 0, - this, TQT_SLOT( editData() ), + this, TQ_SLOT( editData() ), actionCollection(), "editdata"); m_config = new TDEAction( i18n( "&Chart..." ), "configure", 0, - this, TQT_SLOT( slotConfig() ), + this, TQ_SLOT( slotConfig() ), actionCollection(), "config" ); // One TDEToggleAction per chart type m_chartbars = new TDEToggleAction( i18n("&Bar"), "chart_bar_3d", 0, this, - TQT_SLOT( barsChart() ), actionCollection(), + TQ_SLOT( barsChart() ), actionCollection(), "barschart"); m_chartbars->setExclusiveGroup( "charttypes" ); m_chartbars->setChecked( true ); m_chartline = new TDEToggleAction( i18n("&Line"), "chart_line", 0, this, - TQT_SLOT( lineChart() ), actionCollection(), + TQ_SLOT( lineChart() ), actionCollection(), "linechart"); m_chartline->setExclusiveGroup( "charttypes" ); m_chartareas = new TDEToggleAction( i18n("&Area"), "chart_area", 0, this, - TQT_SLOT( areasChart() ), actionCollection(), + TQ_SLOT( areasChart() ), actionCollection(), "areaschart"); m_chartareas->setExclusiveGroup( "charttypes" ); m_charthilo = new TDEToggleAction( i18n("&HiLo"), "chart_hilo", 0, this, - TQT_SLOT( hiLoChart() ), actionCollection(), + TQ_SLOT( hiLoChart() ), actionCollection(), "hilochart"); m_charthilo->setExclusiveGroup( "charttypes" ); m_chartbw = new TDEToggleAction( i18n("Bo&x && Whiskers"), "chart_boxwhisker", 0, this, - TQT_SLOT( bwChart() ), actionCollection(), + TQ_SLOT( bwChart() ), actionCollection(), "bwchart"); m_chartbw->setExclusiveGroup( "charttypes" ); m_chartpie = new TDEToggleAction( i18n("&Pie"), "chart_pie", 0, this, - TQT_SLOT( pieChart() ), actionCollection(), + TQ_SLOT( pieChart() ), actionCollection(), "piechart"); m_chartpie->setExclusiveGroup( "charttypes" ); m_chartring = new TDEToggleAction( i18n("&Ring"), "chart_ring", 0, this, - TQT_SLOT( ringChart() ), actionCollection(), + TQ_SLOT( ringChart() ), actionCollection(), "ringchart"); m_chartring->setExclusiveGroup( "charttypes" ); m_chartpolar = new TDEToggleAction( i18n("&Polar"), "chart_polar", 0, this, - TQT_SLOT( polarChart() ), actionCollection(), + TQ_SLOT( polarChart() ), actionCollection(), "polarchart"); m_chartpolar->setExclusiveGroup( "charttypes" ); // Configuration TDEActions m_colorConfig = new TDEAction( i18n( "&Colors..." ), 0, - this, TQT_SLOT( slotConfigColor() ), + this, TQ_SLOT( slotConfigColor() ), actionCollection(), "color_config" ); m_fontConfig = new TDEAction( i18n( "&Font..." ), 0, - this, TQT_SLOT( slotConfigFont() ), + this, TQ_SLOT( slotConfigFont() ), actionCollection(), "font_config" ); m_backConfig = new TDEAction( i18n( "&Background..." ), 0, - this, TQT_SLOT( slotConfigBack() ), + this, TQ_SLOT( slotConfigBack() ), actionCollection(), "back_config" ); m_legendConfig = new TDEAction( i18n( "&Legend..." ), 0, - this, TQT_SLOT( slotConfigLegend() ), + this, TQ_SLOT( slotConfigLegend() ), actionCollection(), "legend_config" ); m_subTypeChartConfig = new TDEAction( i18n( "Chart &Sub-type..." ), 0, - this, TQT_SLOT( slotConfigSubTypeChart() ), + this, TQ_SLOT( slotConfigSubTypeChart() ), actionCollection(), "legend_subtype" ); m_dataFormatConfig = new TDEAction( i18n( "&Data Format..." ), 0, - this, TQT_SLOT( slotConfigDataFormat() ), + this, TQ_SLOT( slotConfigDataFormat() ), actionCollection(), "data_format" ); m_headerFooterConfig = new TDEAction( i18n( "&Header && Footer..." ), 0, - this, TQT_SLOT( slotConfigHeaderFooterChart() ), + this, TQ_SLOT( slotConfigHeaderFooterChart() ), actionCollection(), "headerfooter_subtype" ); m_pageLayoutConfig = new TDEAction( i18n( "Page Layout..." ), 0, - this, TQT_SLOT( slotConfigPageLayout() ), + this, TQ_SLOT( slotConfigPageLayout() ), actionCollection(), "page_layout" ); // initialize the configuration @@ -230,8 +230,8 @@ void KChartView::editData() ed.setColLabels(((KChartPart*)koDocument())->colLabelTexts()); // Activate the Apply button in the editor. - connect(&ed, TQT_SIGNAL(applyClicked(kchartDataEditor *)), - this, TQT_SLOT(applyEdit(kchartDataEditor *))); + connect(&ed, TQ_SIGNAL(applyClicked(kchartDataEditor *)), + this, TQ_SLOT(applyEdit(kchartDataEditor *))); // Execute the data editor. if ( ed.exec() != TQDialog::Accepted ) { @@ -339,8 +339,8 @@ void KChartView::config(int flags) KChartConfigDialog *d = new KChartConfigDialog( params, this, flags, dat ); - connect( d, TQT_SIGNAL( dataChanged() ), - this, TQT_SLOT( slotRepaint() ) ); + connect( d, TQ_SIGNAL( dataChanged() ), + this, TQ_SLOT( slotRepaint() ) ); d->exec(); delete d; } @@ -611,8 +611,8 @@ void KChartView::slotConfigPageLayout() KChartPageLayout *dialog = new KChartPageLayout(params, this, "Page Layout"); - connect( dialog, TQT_SIGNAL( dataChanged() ), - this, TQT_SLOT( slotRepaint() ) ); + connect( dialog, TQ_SIGNAL( dataChanged() ), + this, TQ_SLOT( slotRepaint() ) ); dialog->exec(); delete dialog; |
