From c9cb4f487428aad5d8cda5e3a4b9ad87390d7e54 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Fri, 16 Dec 2011 09:56:31 -0600 Subject: Revert "Rename a number of old tq methods that are no longer tq specific" This reverts commit 94844816550ad672ccfcdc25659c625546239998. --- kchart/kchartDataEditor.cc | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'kchart/kchartDataEditor.cc') diff --git a/kchart/kchartDataEditor.cc b/kchart/kchartDataEditor.cc index b89f5256..db1ce1f3 100644 --- a/kchart/kchartDataEditor.cc +++ b/kchart/kchartDataEditor.cc @@ -1,7 +1,7 @@ #include #include #include -#include +#include #include #include #include @@ -183,16 +183,16 @@ kchartDataEditor::kchartDataEditor(TQWidget* parent) : // Create the Rows setting m_rowsLA = new TQLabel( i18n("# Rows:" ), page ); - m_rowsLA->resize( m_rowsLA->sizeHint() ); + m_rowsLA->resize( m_rowsLA->tqsizeHint() ); m_rowsSB = new kchartDataSpinBox( page ); - m_rowsSB->resize( m_rowsSB->sizeHint() ); + m_rowsSB->resize( m_rowsSB->tqsizeHint() ); m_rowsSB->setMinValue(1); // Create the columns setting m_colsLA = new TQLabel( i18n("# Columns:" ), page ); - m_colsLA->resize( m_colsLA->sizeHint() ); + m_colsLA->resize( m_colsLA->tqsizeHint() ); m_colsSB = new kchartDataSpinBox( page ); - m_colsSB->resize( m_colsSB->sizeHint() ); + m_colsSB->resize( m_colsSB->tqsizeHint() ); m_colsSB->setMinValue(1); #if 0 @@ -240,7 +240,7 @@ kchartDataEditor::kchartDataEditor(TQWidget* parent) : connect( m_removeColButton, TQT_SIGNAL( clicked() ), this, TQT_SLOT( removeCurrentColumn() ) ); - // Start the layout. The buttons are at the top. + // Start the tqlayout. The buttons are at the top. TQVBoxLayout *topLayout = new TQVBoxLayout( page ); TQHBoxLayout* insertRemoveLayout = new TQHBoxLayout( ); @@ -429,7 +429,7 @@ void kchartDataEditor::setData( KChartParams *params, KDChartTableData *dat ) if (t.isValid()) { if ( t.type() == TQVariant::Double ) { m_table->setText(row, col, - TQString("%1").arg(t.toDouble())); + TQString("%1").tqarg(t.toDouble())); } else if ( t.type() == TQVariant::String ) kdDebug(35001) << "I cannot handle strings in the table yet" -- cgit v1.2.1