summaryrefslogtreecommitdiffstats
path: root/kchart/kchartDataEditor.cc
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2011-12-15 15:32:11 -0600
committerTimothy Pearson <[email protected]>2011-12-15 15:32:11 -0600
commit94844816550ad672ccfcdc25659c625546239998 (patch)
treee35fc60fd736c645d59f6408af032774ad8023d3 /kchart/kchartDataEditor.cc
parent2a811c38c74c03648ecf857e566c44483cbad706 (diff)
downloadkoffice-94844816550ad672ccfcdc25659c625546239998.tar.gz
koffice-94844816550ad672ccfcdc25659c625546239998.zip
Rename a number of old tq methods that are no longer tq specific
Diffstat (limited to 'kchart/kchartDataEditor.cc')
-rw-r--r--kchart/kchartDataEditor.cc14
1 files changed, 7 insertions, 7 deletions
diff --git a/kchart/kchartDataEditor.cc b/kchart/kchartDataEditor.cc
index db1ce1f3..b89f5256 100644
--- a/kchart/kchartDataEditor.cc
+++ b/kchart/kchartDataEditor.cc
@@ -1,7 +1,7 @@
#include <tqcheckbox.h>
#include <tqlabel.h>
#include <tqspinbox.h>
-#include <tqlayout.h>
+#include <layout.h>
#include <tqlineedit.h>
#include <tqregexp.h>
#include <tqwhatsthis.h>
@@ -183,16 +183,16 @@ kchartDataEditor::kchartDataEditor(TQWidget* parent) :
// Create the Rows setting
m_rowsLA = new TQLabel( i18n("# Rows:" ), page );
- m_rowsLA->resize( m_rowsLA->tqsizeHint() );
+ m_rowsLA->resize( m_rowsLA->sizeHint() );
m_rowsSB = new kchartDataSpinBox( page );
- m_rowsSB->resize( m_rowsSB->tqsizeHint() );
+ m_rowsSB->resize( m_rowsSB->sizeHint() );
m_rowsSB->setMinValue(1);
// Create the columns setting
m_colsLA = new TQLabel( i18n("# Columns:" ), page );
- m_colsLA->resize( m_colsLA->tqsizeHint() );
+ m_colsLA->resize( m_colsLA->sizeHint() );
m_colsSB = new kchartDataSpinBox( page );
- m_colsSB->resize( m_colsSB->tqsizeHint() );
+ m_colsSB->resize( m_colsSB->sizeHint() );
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 tqlayout. The buttons are at the top.
+ // Start the layout. 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").tqarg(t.toDouble()));
+ TQString("%1").arg(t.toDouble()));
}
else if ( t.type() == TQVariant::String )
kdDebug(35001) << "I cannot handle strings in the table yet"