diff options
Diffstat (limited to 'kchart/kchartWizardSetupDataPage.cc')
-rw-r--r-- | kchart/kchartWizardSetupDataPage.cc | 96 |
1 files changed, 48 insertions, 48 deletions
diff --git a/kchart/kchartWizardSetupDataPage.cc b/kchart/kchartWizardSetupDataPage.cc index 897ee69c..61a0745a 100644 --- a/kchart/kchartWizardSetupDataPage.cc +++ b/kchart/kchartWizardSetupDataPage.cc @@ -4,87 +4,87 @@ #include "kchart_view.h" #include "kchartWizard.h" -#include <qradiobutton.h> -#include <qcheckbox.h> -#include <qbuttongroup.h> -#include <qlabel.h> +#include <tqradiobutton.h> +#include <tqcheckbox.h> +#include <tqbuttongroup.h> +#include <tqlabel.h> namespace KChart { -KChartWizardSetupDataPage::KChartWizardSetupDataPage( QWidget* parent, +KChartWizardSetupDataPage::KChartWizardSetupDataPage( TQWidget* tqparent, KChartPart* chart) : - QWidget( parent ), + TQWidget( tqparent ), _chart( chart ), - _parent( (KChartWizard*)parent ) + _parent( (KChartWizard*)tqparent ) { - QButtonGroup* tmpQGroupBox; - tmpQGroupBox = new QButtonGroup( this, "GroupBox_1" ); - tmpQGroupBox->setGeometry( 260, 10, 130, 80 ); - tmpQGroupBox->setFrameStyle( 49 ); - tmpQGroupBox->setAlignment( 1 ); + TQButtonGroup* tmpTQGroupBox; + tmpTQGroupBox = new TQButtonGroup( this, "GroupBox_1" ); + tmpTQGroupBox->setGeometry( 260, 10, 130, 80 ); + tmpTQGroupBox->setFrameStyle( 49 ); + tmpTQGroupBox->tqsetAlignment( 1 ); - datarow = new QRadioButton( this, "RadioButton_1" ); + datarow = new TQRadioButton( this, "RadioButton_1" ); datarow->setGeometry( 270, 40, 100, 20 ); datarow->setText( i18n("Rows") ); - connect( datarow, SIGNAL( clicked() ), - this, SLOT( dataInRowsClicked() ) ); - tmpQGroupBox->insert( datarow ); + connect( datarow, TQT_SIGNAL( clicked() ), + this, TQT_SLOT( dataInRowsClicked() ) ); + tmpTQGroupBox->insert( datarow ); - datacol = new QRadioButton( this, "RadioButton_2" ); + datacol = new TQRadioButton( this, "RadioButton_2" ); datacol->setGeometry( 270, 60, 100, 20 ); datacol->setText( i18n("Columns") ); datacol->setChecked( true ); - connect( datarow, SIGNAL( clicked() ), - this, SLOT( dataInColsClicked() ) ); - tmpQGroupBox->insert( datacol ); + connect( datarow, TQT_SIGNAL( clicked() ), + this, TQT_SLOT( dataInColsClicked() ) ); + tmpTQGroupBox->insert( datacol ); - QLabel* tmpQLabel; - tmpQLabel = new QLabel( this, "Label_3" ); - tmpQLabel->setGeometry( 270, 20, 100, 20 ); - tmpQLabel->setText( i18n("Data is in:") ); + TQLabel* tmpTQLabel; + tmpTQLabel = new TQLabel( this, "Label_3" ); + tmpTQLabel->setGeometry( 270, 20, 100, 20 ); + tmpTQLabel->setText( i18n("Data is in:") ); - QButtonGroup* descrBG = new QButtonGroup( this ); + TQButtonGroup* descrBG = new TQButtonGroup( this ); descrBG->hide(); - coldescript = new QCheckBox( this, "CheckBox_3" ); + coldescript = new TQCheckBox( this, "CheckBox_3" ); coldescript->setGeometry( 260, 110, 20, 30 ); coldescript->setChecked( true ); - connect( coldescript, SIGNAL( toggled( bool ) ), - this, SLOT( firstColumnIsDescriptionToggled( bool ) ) ); + connect( coldescript, TQT_SIGNAL( toggled( bool ) ), + this, TQT_SLOT( firstColumnIsDescriptionToggled( bool ) ) ); coldescript->setText( "" ); descrBG->insert( coldescript ); - tmpQLabel = new QLabel( this, "Label_4" ); - tmpQLabel->setGeometry( 280, 110, 100, 30 ); - tmpQLabel->setText( i18n("Use first row as description") ); - tmpQLabel->setAlignment( 1313 ); + tmpTQLabel = new TQLabel( this, "Label_4" ); + tmpTQLabel->setGeometry( 280, 110, 100, 30 ); + tmpTQLabel->setText( i18n("Use first row as description") ); + tmpTQLabel->tqsetAlignment( 1313 ); - rowdescript = new QCheckBox( this, "CheckBox_4" ); + rowdescript = new TQCheckBox( this, "CheckBox_4" ); rowdescript->setGeometry( 260, 150, 20, 30 ); - connect( rowdescript, SIGNAL( toggled( bool ) ), - this, SLOT( firstRowIsDescriptionToggled( bool ) ) ); + connect( rowdescript, TQT_SIGNAL( toggled( bool ) ), + this, TQT_SLOT( firstRowIsDescriptionToggled( bool ) ) ); rowdescript->setText( "" ); descrBG->insert( rowdescript ); - tmpQLabel = new QLabel( this, "Label_5" ); - tmpQLabel->setGeometry( 280, 150, 100, 30 ); - tmpQLabel->setText( i18n("Use first column as description") ); - tmpQLabel->setAlignment( 1313 ); + tmpTQLabel = new TQLabel( this, "Label_5" ); + tmpTQLabel->setGeometry( 280, 150, 100, 30 ); + tmpTQLabel->setText( i18n("Use first column as description") ); + tmpTQLabel->tqsetAlignment( 1313 ); - QFrame* tmpQFrame; - tmpQFrame = new QFrame( this, "Frame_1" ); - tmpQFrame->setGeometry( 10, 10, 240, 220 ); - tmpQFrame->setFrameStyle( QFrame::Panel | QFrame::Sunken ); - tmpQFrame->setLineWidth( 2 ); + TQFrame* tmpTQFrame; + tmpTQFrame = new TQFrame( this, "Frame_1" ); + tmpTQFrame->setGeometry( 10, 10, 240, 220 ); + tmpTQFrame->setFrameStyle( TQFrame::Panel | TQFrame::Sunken ); + tmpTQFrame->setLineWidth( 2 ); /* - preview = new kchartWidget( _chart, tmpQFrame ); + preview = new kchartWidget( _chart, tmpTQFrame ); preview->show(); _chart->addAutoUpdate( preview ); - preview->resize( tmpQFrame->contentsRect().width(), - tmpQFrame->contentsRect().height() ); + preview->resize( tmpTQFrame->contentsRect().width(), + tmpTQFrame->contentsRect().height() ); */ - //parent->resize( 400, 350 ); + //tqparent->resize( 400, 350 ); } |