diff options
Diffstat (limited to 'kchart/kchartParameter3dConfigPage.cc')
-rw-r--r-- | kchart/kchartParameter3dConfigPage.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/kchart/kchartParameter3dConfigPage.cc b/kchart/kchartParameter3dConfigPage.cc index 760c9786..b1a0b199 100644 --- a/kchart/kchartParameter3dConfigPage.cc +++ b/kchart/kchartParameter3dConfigPage.cc @@ -64,7 +64,7 @@ KChartParameter3dConfigPage::KChartParameter3dConfigPage( KChartParams* params, grid1->addWidget(drawShadowColor,1,0); TQLabel *tmpLabel = new TQLabel( i18n( "Angle:" ), gb ); - tmpLabel->resize( tmpLabel->tqsizeHint() ); + tmpLabel->resize( tmpLabel->sizeHint() ); grid1->addWidget(tmpLabel,2,0); angle3d=new KIntNumInput(0, gb, 10); @@ -73,16 +73,16 @@ KChartParameter3dConfigPage::KChartParameter3dConfigPage( KChartParams* params, angle3d->setRange(0, 90, 1); tmpLabel = new TQLabel( i18n( "Depth:" ), gb ); - tmpLabel->resize( tmpLabel->tqsizeHint() ); + tmpLabel->resize( tmpLabel->sizeHint() ); grid1->addWidget(tmpLabel,3,0); depth=new KDoubleNumInput(0, gb); TQWhatsThis::add(depth, i18n("You can set here the depth of the 3D effect from 0 to 2. 0 will give you no depth at all.\nDefault is 1.")); - depth->resize(100,depth->tqsizeHint().height()); + depth->resize(100,depth->sizeHint().height()); grid1->addWidget(depth,3,1); depth->setRange(0, 2.0, 0.1); - gb->tqsetAlignment(TQt::AlignLeft); + gb->setAlignment(TQt::AlignLeft); grid1->addColSpacing(0,depth->width()); grid1->addColSpacing(0,angle3d->width()); grid1->setColStretch(2,1); |