summaryrefslogtreecommitdiffstats
path: root/kchart/kchartLine3dConfigPage.cc
diff options
context:
space:
mode:
Diffstat (limited to 'kchart/kchartLine3dConfigPage.cc')
-rw-r--r--kchart/kchartLine3dConfigPage.cc48
1 files changed, 24 insertions, 24 deletions
diff --git a/kchart/kchartLine3dConfigPage.cc b/kchart/kchartLine3dConfigPage.cc
index 0ed00bca..f1d57971 100644
--- a/kchart/kchartLine3dConfigPage.cc
+++ b/kchart/kchartLine3dConfigPage.cc
@@ -23,11 +23,11 @@
#include <kapplication.h>
#include <klocale.h>
#include <kdialog.h>
-#include <qlayout.h>
-#include <qlabel.h>
-#include <qcheckbox.h>
-#include <qbuttongroup.h>
-#include <qwhatsthis.h>
+#include <tqlayout.h>
+#include <tqlabel.h>
+#include <tqcheckbox.h>
+#include <tqbuttongroup.h>
+#include <tqwhatsthis.h>
#include "kchart_params.h"
@@ -35,47 +35,47 @@ namespace KChart
{
KChartLine3dConfigPage::KChartLine3dConfigPage( KChartParams* params,
- QWidget* parent ) :
- QWidget( parent ),_params( params )
+ TQWidget* tqparent ) :
+ TQWidget( tqparent ),_params( params )
{
- QGridLayout *grid1 = new QGridLayout(this,8,3,KDialog::marginHint(), KDialog::spacingHint());
+ TQGridLayout *grid1 = new TQGridLayout(this,8,3,KDialog::marginHint(), KDialog::spacingHint());
#if 0
// The 3D line on/off button.
- line3d=new QCheckBox(i18n("3D lines"),this);
+ line3d=new TQCheckBox(i18n("3D lines"),this);
grid1->addWidget(line3d,1,0);
- connect(line3d, SIGNAL(toggled ( bool )),
- this, SLOT(slotChange3DParameter(bool)));
+ connect(line3d, TQT_SIGNAL(toggled ( bool )),
+ this, TQT_SLOT(slotChange3DParameter(bool)));
#endif
// The line width label and input.
- QLabel *tmpLabel = new QLabel( i18n( "Line width:" ), this );
+ TQLabel *tmpLabel = new TQLabel( i18n( "Line width:" ), this );
grid1->addWidget(tmpLabel,2,0);
lineWidth=new KIntNumInput(0, this, 10);
- QWhatsThis::add(lineWidth, i18n("You can set here the line width for your chart. Default is 1."));
+ TQWhatsThis::add(lineWidth, i18n("You can set here the line width for your chart. Default is 1."));
grid1->addWidget(lineWidth,2,1);
- lineMarkers = new QCheckBox( i18n( "Line markers" ), this );
- QWhatsThis::add(lineMarkers, i18n("Check this option if you want to add dots on your chart as markers."));
+ lineMarkers = new TQCheckBox( i18n( "Line markers" ), this );
+ TQWhatsThis::add(lineMarkers, i18n("Check this option if you want to add dots on your chart as markers."));
grid1->addWidget(lineMarkers, 3, 0);
#if 0
// The "Draw shadow color" checkbox
- drawShadowColor=new QCheckBox(i18n("Draw shadow color"),this);
+ drawShadowColor=new TQCheckBox(i18n("Draw shadow color"),this);
grid1->addWidget(drawShadowColor,3,0);
- tmpLabel = new QLabel( i18n( "Rotation around the X-axis in degrees:" ),
+ tmpLabel = new TQLabel( i18n( "Rotation around the X-axis in degrees:" ),
this );
- tmpLabel->resize( tmpLabel->sizeHint() );
+ tmpLabel->resize( tmpLabel->tqsizeHint() );
grid1->addWidget(tmpLabel,4,0);
angle3dX=new KIntNumInput(0, this, 10);
grid1->addWidget(angle3dX,4,1);
angle3dX->setRange(0, 90, 1);
- tmpLabel = new QLabel( i18n( "Rotation around the Y-axis in degrees:" ), this );
- tmpLabel->resize( tmpLabel->sizeHint() );
+ tmpLabel = new TQLabel( i18n( "Rotation around the Y-axis in degrees:" ), this );
+ tmpLabel->resize( tmpLabel->tqsizeHint() );
grid1->addWidget(tmpLabel,5,0);
angle3dY=new KIntNumInput(0, this, 10);
@@ -83,12 +83,12 @@ KChartLine3dConfigPage::KChartLine3dConfigPage( KChartParams* params,
angle3dY->setRange(0, 90, 1);
- tmpLabel = new QLabel( i18n( "Depth:" ), this );
- tmpLabel->resize( tmpLabel->sizeHint() );
+ tmpLabel = new TQLabel( i18n( "Depth:" ), this );
+ tmpLabel->resize( tmpLabel->tqsizeHint() );
grid1->addWidget(tmpLabel,6,0);
depth=new KDoubleNumInput(0, this);
- depth->resize(100,depth->sizeHint().height());
+ depth->resize(100,depth->tqsizeHint().height());
grid1->addWidget(depth,6,1);
depth->setRange(0,40, 0.1);
#endif
@@ -101,7 +101,7 @@ KChartLine3dConfigPage::KChartLine3dConfigPage( KChartParams* params,
grid1->activate();
//it's not good but I don't know how
//to reduce space
- //layout->addColSpacing(1,300);
+ //tqlayout->addColSpacing(1,300);
}
void KChartLine3dConfigPage::slotChange3DParameter(bool b)