summaryrefslogtreecommitdiffstats
path: root/kchart/kchartDataEditor.cc
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2011-12-16 09:56:31 -0600
committerTimothy Pearson <[email protected]>2011-12-16 09:56:31 -0600
commitc9cb4f487428aad5d8cda5e3a4b9ad87390d7e54 (patch)
tree1ee1912ac4bb966475f0db0f2a78678661b4b4a5 /kchart/kchartDataEditor.cc
parent94844816550ad672ccfcdc25659c625546239998 (diff)
downloadkoffice-c9cb4f487428aad5d8cda5e3a4b9ad87390d7e54.tar.gz
koffice-c9cb4f487428aad5d8cda5e3a4b9ad87390d7e54.zip
Revert "Rename a number of old tq methods that are no longer tq specific"
This reverts commit 94844816550ad672ccfcdc25659c625546239998.
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"