summaryrefslogtreecommitdiffstats
path: root/kalzium/src/elementdataviewer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kalzium/src/elementdataviewer.cpp')
-rw-r--r--kalzium/src/elementdataviewer.cpp19
1 files changed, 9 insertions, 10 deletions
diff --git a/kalzium/src/elementdataviewer.cpp b/kalzium/src/elementdataviewer.cpp
index 500f9354..e3897d2b 100644
--- a/kalzium/src/elementdataviewer.cpp
+++ b/kalzium/src/elementdataviewer.cpp
@@ -69,15 +69,15 @@ ElementDataViewer::ElementDataViewer( TQWidget *parent, const char* name )
setButtonText( User1, i18n("&Plot") );
m_actionCollection = new TDEActionCollection(this);
- KStdAction::quit(TQT_TQOBJECT(this), TQT_SLOT(slotClose()), m_actionCollection);
+ KStdAction::quit(this, TQ_SLOT(slotClose()), m_actionCollection);
- connect ( m_pPlotSetupWidget->KCB_y, TQT_SIGNAL( activated(int) ),
- this, TQT_SLOT( drawPlot()) );
+ connect ( m_pPlotSetupWidget->KCB_y, TQ_SIGNAL( activated(int) ),
+ this, TQ_SLOT( drawPlot()) );
- connect ( m_pPlotSetupWidget->connectPoints, TQT_SIGNAL( toggled(bool) ),
- this, TQT_SLOT( drawPlot()) );
- connect ( m_pPlotSetupWidget->showNames, TQT_SIGNAL( toggled(bool) ),
- this, TQT_SLOT( drawPlot()) );
+ connect ( m_pPlotSetupWidget->connectPoints, TQ_SIGNAL( toggled(bool) ),
+ this, TQ_SLOT( drawPlot()) );
+ connect ( m_pPlotSetupWidget->showNames, TQ_SIGNAL( toggled(bool) ),
+ this, TQ_SLOT( drawPlot()) );
// Draw the plot so that the user doesn't have to press the "Plot"
// button to seee anything.
@@ -87,8 +87,8 @@ ElementDataViewer::ElementDataViewer( TQWidget *parent, const char* name )
void ElementDataViewer::slotHelp()
{
emit helpClicked();
- if ( kapp )
- kapp->invokeHelp ( "plot_data", "kalzium" );
+ if ( tdeApp )
+ tdeApp->invokeHelp ( "plot_data", "kalzium" );
}
// Reimplement slotUser1 from KDialogBase
@@ -294,7 +294,6 @@ void ElementDataViewer::drawPlot()
/*
* reserve the memory for the KPlotObjects
*/
- //TODO QT4 replace TQMemArray with TQVector
TQMemArray<KPlotObject*> dataPoint(num);
TQMemArray<KPlotObject*> dataPointLabel(num);