diff options
Diffstat (limited to 'kchart/kchartParameterPieConfigPage.cc')
-rw-r--r-- | kchart/kchartParameterPieConfigPage.cc | 56 |
1 files changed, 28 insertions, 28 deletions
diff --git a/kchart/kchartParameterPieConfigPage.cc b/kchart/kchartParameterPieConfigPage.cc index c494c98b..b516c980 100644 --- a/kchart/kchartParameterPieConfigPage.cc +++ b/kchart/kchartParameterPieConfigPage.cc @@ -26,15 +26,15 @@ #include <kdebug.h> #include <kdialog.h> -#include <qlayout.h> -#include <qlabel.h> -#include <qbuttongroup.h> -#include <qcheckbox.h> -#include <qlineedit.h> -#include <qradiobutton.h> -#include <qspinbox.h> -#include <qvbuttongroup.h> -#include <qwhatsthis.h> +#include <tqlayout.h> +#include <tqlabel.h> +#include <tqbuttongroup.h> +#include <tqcheckbox.h> +#include <tqlineedit.h> +#include <tqradiobutton.h> +#include <tqspinbox.h> +#include <tqvbuttongroup.h> +#include <tqwhatsthis.h> #include "kchart_params.h" @@ -42,36 +42,36 @@ namespace KChart { KChartParameterPieConfigPage::KChartParameterPieConfigPage( KChartParams* params, - QWidget* parent ) : - QWidget( parent ),_params( params ) + TQWidget* tqparent ) : + TQWidget( tqparent ),_params( params ) { - QVBoxLayout *toplevel = new QVBoxLayout( this, 10 ); - QVBoxLayout *grid1 = new QVBoxLayout(this); + TQVBoxLayout *toplevel = new TQVBoxLayout( this, 10 ); + TQVBoxLayout *grid1 = new TQVBoxLayout(this); toplevel->addLayout( grid1 ); - QVButtonGroup* gb = new QVButtonGroup( i18n( "Parameter" ), this ); + TQVButtonGroup* gb = new TQVButtonGroup( i18n( "Parameter" ), this ); grid1->addWidget(gb); - pie3d = new QCheckBox(i18n("Pie 3D"), gb); - QWhatsThis::add(pie3d, i18n("Uncheck this option if you do not want a 3D effect for your pie.")); - drawShadowColor=new QCheckBox(i18n("Draw shadow color"), gb); - QWhatsThis::add(drawShadowColor, i18n("Uncheck this option if you do not want a shadow color on a 3D pie.")); + pie3d = new TQCheckBox(i18n("Pie 3D"), gb); + TQWhatsThis::add(pie3d, i18n("Uncheck this option if you do not want a 3D effect for your pie.")); + drawShadowColor=new TQCheckBox(i18n("Draw shadow color"), gb); + TQWhatsThis::add(drawShadowColor, i18n("Uncheck this option if you do not want a shadow color on a 3D pie.")); - QLabel *label = new QLabel( i18n( "Explode factor (%):" ), gb ); - explode = new QSpinBox(0, 100, 1, gb); - QWhatsThis::add(explode, i18n("This will place gaps between the segments of your pie. Default is 0 which means the pie is a whole.")); + TQLabel *label = new TQLabel( i18n( "Explode factor (%):" ), gb ); + explode = new TQSpinBox(0, 100, 1, gb); + TQWhatsThis::add(explode, i18n("This will place gaps between the segments of your pie. Default is 0 which means the pie is a whole.")); - label = new QLabel( i18n( "Start angle:" ), gb ); - angle = new QSpinBox(0, 90, 1, gb); - QWhatsThis::add(angle, i18n("This will set the orientation of your pie. Default is 0.")); + label = new TQLabel( i18n( "Start angle:" ), gb ); + angle = new TQSpinBox(0, 90, 1, gb); + TQWhatsThis::add(angle, i18n("This will set the orientation of your pie. Default is 0.")); - label = new QLabel( i18n( "3D-depth:" ), gb ); - depth = new QSpinBox(0, 40, 1, gb); - QWhatsThis::add(depth, i18n("Set the depth from 0 to 40 of the 3D effect, if you have checked Pie 3D. Default is 20.")); + label = new TQLabel( i18n( "3D-depth:" ), gb ); + depth = new TQSpinBox(0, 40, 1, gb); + TQWhatsThis::add(depth, i18n("Set the depth from 0 to 40 of the 3D effect, if you have checked Pie 3D. Default is 20.")); grid1->activate(); - connect(pie3d,SIGNAL(toggled ( bool )),this, SLOT(active3DPie(bool))); + connect(pie3d,TQT_SIGNAL(toggled ( bool )),this, TQT_SLOT(active3DPie(bool))); } void KChartParameterPieConfigPage::active3DPie(bool b) |