diff options
Diffstat (limited to 'kchart/kchartDataConfigPage.cc')
-rw-r--r-- | kchart/kchartDataConfigPage.cc | 60 |
1 files changed, 30 insertions, 30 deletions
diff --git a/kchart/kchartDataConfigPage.cc b/kchart/kchartDataConfigPage.cc index 63ad84f6..ff4de5c7 100644 --- a/kchart/kchartDataConfigPage.cc +++ b/kchart/kchartDataConfigPage.cc @@ -26,18 +26,18 @@ #include <kcolorbutton.h> #include <kdebug.h> -#include <qhbox.h> -#include <qlayout.h> -#include <qlabel.h> -#include <qlineedit.h> -#include <qlistbox.h> -#include <qbuttongroup.h> -#include <qvbuttongroup.h> -#include <qpushbutton.h> -#include <qradiobutton.h> -#include <qcheckbox.h> -#include <qpainter.h> -#include <qwhatsthis.h> +#include <tqhbox.h> +#include <tqlayout.h> +#include <tqlabel.h> +#include <tqlineedit.h> +#include <tqlistbox.h> +#include <tqbuttongroup.h> +#include <tqvbuttongroup.h> +#include <tqpushbutton.h> +#include <tqradiobutton.h> +#include <tqcheckbox.h> +#include <tqpainter.h> +#include <tqwhatsthis.h> #include <kfontdialog.h> @@ -53,47 +53,47 @@ namespace KChart { KChartDataConfigPage::KChartDataConfigPage( KChartParams* params, - QWidget* parent, + TQWidget* tqparent, KDChartTableData *dat) - : QWidget( parent ), m_params( params ), data(dat), + : TQWidget( tqparent ), m_params( params ), data(dat), m_firstRowAsLabel(0), m_firstColAsLabel(0) { - QGridLayout *grid1 = new QGridLayout(this, 4, 1, KDialog::marginHint(), + TQGridLayout *grid1 = new TQGridLayout(this, 4, 1, KDialog::marginHint(), KDialog::spacingHint()); // The Data Area if ( !m_params->part()->canChangeValue() ) { - QButtonGroup *gb1 = new QVButtonGroup( i18n( "Data Area" ), this ); + TQButtonGroup *gb1 = new TQVButtonGroup( i18n( "Data Area" ), this ); // ================================================================ // This code is copied from kchartWizardSelectDataFormatPage.cc - QHBox *hbox = new QHBox( gb1 ); - (void) new QLabel( i18n("Area: "), hbox); - m_dataArea = new QLineEdit( hbox ); + TQHBox *hbox = new TQHBox( gb1 ); + (void) new TQLabel( i18n("Area: "), hbox); + m_dataArea = new TQLineEdit( hbox ); // The row/column as label checkboxes. - m_firstRowAsLabel = new QCheckBox( i18n( "First row as label" ), gb1); - m_firstColAsLabel = new QCheckBox( i18n( "First column as label" ), gb1); + m_firstRowAsLabel = new TQCheckBox( i18n( "First row as label" ), gb1); + m_firstColAsLabel = new TQCheckBox( i18n( "First column as label" ), gb1); grid1->addWidget(gb1, 0, 0); } // The Data Format button group - QButtonGroup *gb = new QVButtonGroup( i18n( "Data Format" ), this ); + TQButtonGroup *gb = new TQVButtonGroup( i18n( "Data Format" ), this ); - m_rowMajor = new QRadioButton( i18n( "Data in rows" ), gb ); - m_rowMajor->resize( m_rowMajor->sizeHint() ); + m_rowMajor = new TQRadioButton( i18n( "Data in rows" ), gb ); + m_rowMajor->resize( m_rowMajor->tqsizeHint() ); - m_colMajor = new QRadioButton( i18n( "Data in columns" ), gb ); - m_colMajor->resize( m_colMajor->sizeHint() ); + m_colMajor = new TQRadioButton( i18n( "Data in columns" ), gb ); + m_colMajor->resize( m_colMajor->tqsizeHint() ); grid1->addWidget(gb, 2, 0); - QWhatsThis::add(this, i18n("This configuration page can be used to swap the interpretation of rows and columns.")); - QWhatsThis::add(m_rowMajor, i18n("By default one row is considered to be a data set and each column holds the individual values of the data series. This sets the data in rows on your chart.")); + TQWhatsThis::add(this, i18n("This configuration page can be used to swap the interpretation of rows and columns.")); + TQWhatsThis::add(m_rowMajor, i18n("By default one row is considered to be a data set and each column holds the individual values of the data series. This sets the data in rows on your chart.")); - QWhatsThis::add(m_colMajor, i18n("Here you can choose to have each column hold one data set. Note that the values are not really swapped but only their interpretation.")); - m_colMajor->resize( m_colMajor->sizeHint() ); + TQWhatsThis::add(m_colMajor, i18n("Here you can choose to have each column hold one data set. Note that the values are not really swapped but only their interpretation.")); + m_colMajor->resize( m_colMajor->tqsizeHint() ); grid1->addWidget(gb, 1, 0); grid1->setColStretch(3, 0); |