summaryrefslogtreecommitdiffstats
path: root/kchart/kchartDataEditor.cc
diff options
context:
space:
mode:
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 b89f5256..db1ce1f3 100644
--- a/kchart/kchartDataEditor.cc
+++ b/kchart/kchartDataEditor.cc
@@ -1,7 +1,7 @@
#include <tqcheckbox.h>
#include <tqlabel.h>
#include <tqspinbox.h>
-#include <layout.h>
+#include <tqlayout.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->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"