diff options
Diffstat (limited to 'tdescreensaver')
-rw-r--r-- | tdescreensaver/kdesavers/banner.cpp | 4 | ||||
-rw-r--r-- | tdescreensaver/kdesavers/kclock.cpp | 4 | ||||
-rw-r--r-- | tdescreensaver/kdesavers/kvm.cpp | 4 | ||||
-rw-r--r-- | tdescreensaver/kdesavers/lines.cpp | 4 | ||||
-rw-r--r-- | tdescreensaver/kdesavers/lorenz.cpp | 12 | ||||
-rw-r--r-- | tdescreensaver/kdesavers/polygon.cpp | 6 | ||||
-rw-r--r-- | tdescreensaver/kdesavers/science.cpp | 10 | ||||
-rw-r--r-- | tdescreensaver/kxsconfig/kxscontrol.cpp | 8 | ||||
-rw-r--r-- | tdescreensaver/xsavers/space.cpp | 4 | ||||
-rw-r--r-- | tdescreensaver/xsavers/swarm.cpp | 4 |
10 files changed, 30 insertions, 30 deletions
diff --git a/tdescreensaver/kdesavers/banner.cpp b/tdescreensaver/kdesavers/banner.cpp index 9004bdd5..a51579ba 100644 --- a/tdescreensaver/kdesavers/banner.cpp +++ b/tdescreensaver/kdesavers/banner.cpp @@ -74,7 +74,7 @@ KBannerSetup::KBannerSetup( TQWidget *parent, const char *name ) TQVBoxLayout *tl11 = new TQVBoxLayout( 0, 0, spacingHint() ); tl1->addLayout(tl11); - TQGroupBox *group = new TQGroupBox( 0,Qt::Vertical, i18n("Font"), main ); + TQGroupBox *group = new TQGroupBox( 0,TQt::Vertical, i18n("Font"), main ); TQGridLayout *gl = new TQGridLayout(group->layout(), 6, 2, spacingHint() ); label = new TQLabel( i18n("Family:"), group ); @@ -134,7 +134,7 @@ KBannerSetup::KBannerSetup( TQWidget *parent, const char *name ) tl11->addStretch(1); tl11->addWidget(label); - TQSlider *sb = new TQSlider(0, 100, 10, speed, Qt::Horizontal, main ); + TQSlider *sb = new TQSlider(0, 100, 10, speed, TQt::Horizontal, main ); sb->setMinimumWidth( 180); sb->setFixedHeight(20); sb->setTickmarks(TQSlider::Below); diff --git a/tdescreensaver/kdesavers/kclock.cpp b/tdescreensaver/kdesavers/kclock.cpp index 7de25947..c3983bff 100644 --- a/tdescreensaver/kdesavers/kclock.cpp +++ b/tdescreensaver/kdesavers/kclock.cpp @@ -84,7 +84,7 @@ KClockSetup::KClockSetup(TQWidget *parent, const char *name) top->addLayout( hbox ); TQGroupBox *colgroup = new TQGroupBox(i18n("Colors"), main); - colgroup->setColumnLayout( 0,Qt::Horizontal ); + colgroup->setColumnLayout( 0,TQt::Horizontal ); TQGridLayout *grid = new TQGridLayout( colgroup->layout(), 5, 2, spacingHint() ); @@ -143,7 +143,7 @@ KClockSetup::KClockSetup(TQWidget *parent, const char *name) label = new TQLabel( i18n( "Si&ze:" ), main ); top->addWidget( label ); - TQSlider *qs = new TQSlider(0, MAX_CLOCK_SIZE, 1, m_size,Qt::Horizontal, main); + TQSlider *qs = new TQSlider(0, MAX_CLOCK_SIZE, 1, m_size,TQt::Horizontal, main); label->setBuddy( qs ); qs->setTickInterval(1); qs->setTickmarks(TQSlider::Below); diff --git a/tdescreensaver/kdesavers/kvm.cpp b/tdescreensaver/kdesavers/kvm.cpp index afc132ed..9464e2ef 100644 --- a/tdescreensaver/kdesavers/kvm.cpp +++ b/tdescreensaver/kdesavers/kvm.cpp @@ -289,7 +289,7 @@ kVmSetup::kVmSetup( TQWidget *parent, const char *name ) TQLabel *label = new TQLabel( i18n("Virtual machine speed:"), main ); tl1->addWidget(label); - TQSlider *slider = new TQSlider( Qt::Horizontal, main ); + TQSlider *slider = new TQSlider( TQt::Horizontal, main ); slider->setMinimumSize( 120, 20 ); slider->setRange( 0, 100 ); slider->setSteps( 10, 20 ); @@ -303,7 +303,7 @@ kVmSetup::kVmSetup( TQWidget *parent, const char *name ) label = new TQLabel( i18n("Display update speed:"), main ); tl1->addWidget(label); - slider = new TQSlider( Qt::Horizontal, main ); + slider = new TQSlider( TQt::Horizontal, main ); slider->setMinimumSize( 120, 20 ); slider->setRange( 0, MAX_REFRESH_TIMEOUT ); slider->setSteps( MAX_REFRESH_TIMEOUT/10, MAX_REFRESH_TIMEOUT/5 ); diff --git a/tdescreensaver/kdesavers/lines.cpp b/tdescreensaver/kdesavers/lines.cpp index b7c5bdd9..e80d85c6 100644 --- a/tdescreensaver/kdesavers/lines.cpp +++ b/tdescreensaver/kdesavers/lines.cpp @@ -128,7 +128,7 @@ kLinesSetup::kLinesSetup(TQWidget *parent, const char *name) TQLabel *label=new TQLabel(i18n("Length:"), main); tl1->addWidget(label); - TQSlider *sb= new TQSlider(1, MAXLENGTH+1, 16, length, Qt::Horizontal, + TQSlider *sb= new TQSlider(1, MAXLENGTH+1, 16, length, TQt::Horizontal, main); sb->setMinimumSize(120, 20); sb->setTickmarks(TQSlider::Below); @@ -139,7 +139,7 @@ kLinesSetup::kLinesSetup(TQWidget *parent, const char *name) label=new TQLabel(i18n("Speed:"), main); tl1->addWidget(label); - sb = new TQSlider(0, 100, 10, speed, Qt::Horizontal, main); + sb = new TQSlider(0, 100, 10, speed, TQt::Horizontal, main); sb->setMinimumSize(120, 20); sb->setTickmarks(TQSlider::Below); sb->setTickInterval(10); diff --git a/tdescreensaver/kdesavers/lorenz.cpp b/tdescreensaver/kdesavers/lorenz.cpp index 2d521583..50ac9b5c 100644 --- a/tdescreensaver/kdesavers/lorenz.cpp +++ b/tdescreensaver/kdesavers/lorenz.cpp @@ -82,7 +82,7 @@ KLorenzSetup::KLorenzSetup( TQWidget *parent, const char *name ) TQLabel *label = new TQLabel( i18n("Speed:"), main ); tl1->addWidget(label); - sps = new TQSlider(MINSPEED, MAXSPEED, 10, speed, Qt::Horizontal, main); + sps = new TQSlider(MINSPEED, MAXSPEED, 10, speed, TQt::Horizontal, main); sps->setMinimumSize( 120, 20 ); sps->setTickmarks(TQSlider::Below); sps->setTickInterval(150); @@ -92,7 +92,7 @@ KLorenzSetup::KLorenzSetup( TQWidget *parent, const char *name ) label = new TQLabel( i18n("Epoch:"), main ); tl1->addWidget(label); - eps = new TQSlider(MINEPOCH, MAXEPOCH, 100, epoch, Qt::Horizontal, main); + eps = new TQSlider(MINEPOCH, MAXEPOCH, 100, epoch, TQt::Horizontal, main); eps->setMinimumSize( 120, 20 ); eps->setTickmarks(TQSlider::Below); eps->setTickInterval(3000); @@ -102,7 +102,7 @@ KLorenzSetup::KLorenzSetup( TQWidget *parent, const char *name ) label = new TQLabel( i18n("Color rate:"), main ); tl1->addWidget(label); - crs = new TQSlider(MINCOLOR, MAXCOLOR, 5, crate, Qt::Horizontal, main); + crs = new TQSlider(MINCOLOR, MAXCOLOR, 5, crate, TQt::Horizontal, main); crs->setMinimumSize( 120, 20 ); crs->setTickmarks(TQSlider::Below); crs->setTickInterval(10); @@ -112,7 +112,7 @@ KLorenzSetup::KLorenzSetup( TQWidget *parent, const char *name ) label = new TQLabel( i18n("Rotation Z:"), main ); tl1->addWidget(label); - zrs = new TQSlider(MINZROT, MAXZROT, 18, zrot, Qt::Horizontal, main); + zrs = new TQSlider(MINZROT, MAXZROT, 18, zrot, TQt::Horizontal, main); zrs->setMinimumSize( 120, 20 ); zrs->setTickmarks(TQSlider::Below); zrs->setTickInterval(36); @@ -122,7 +122,7 @@ KLorenzSetup::KLorenzSetup( TQWidget *parent, const char *name ) label = new TQLabel( i18n("Rotation Y:"), main ); tl1->addWidget(label); - yrs = new TQSlider(MINYROT, MAXYROT, 18, yrot, Qt::Horizontal, main); + yrs = new TQSlider(MINYROT, MAXYROT, 18, yrot, TQt::Horizontal, main); yrs->setMinimumSize( 120, 20 ); yrs->setTickmarks(TQSlider::Below); yrs->setTickInterval(36); @@ -132,7 +132,7 @@ KLorenzSetup::KLorenzSetup( TQWidget *parent, const char *name ) label = new TQLabel( i18n("Rotation X:"), main ); tl1->addWidget(label); - xrs = new TQSlider(MINXROT, MAXXROT, 18, xrot, Qt::Horizontal, main); + xrs = new TQSlider(MINXROT, MAXXROT, 18, xrot, TQt::Horizontal, main); xrs->setMinimumSize( 120, 20 ); xrs->setTickmarks(TQSlider::Below); xrs->setTickInterval(36); diff --git a/tdescreensaver/kdesavers/polygon.cpp b/tdescreensaver/kdesavers/polygon.cpp index 1979dfe8..46c7c94a 100644 --- a/tdescreensaver/kdesavers/polygon.cpp +++ b/tdescreensaver/kdesavers/polygon.cpp @@ -66,7 +66,7 @@ kPolygonSetup::kPolygonSetup( TQWidget *parent, const char *name ) TQLabel *label = new TQLabel( i18n("Length:"), main ); tl1->addWidget(label); - TQSlider *sb = new TQSlider(1, MAXLENGTH, 10, length, Qt::Horizontal, + TQSlider *sb = new TQSlider(1, MAXLENGTH, 10, length, TQt::Horizontal, main ); sb->setMinimumSize( 90, 20 ); sb->setTickmarks(TQSlider::Below); @@ -77,7 +77,7 @@ kPolygonSetup::kPolygonSetup( TQWidget *parent, const char *name ) label = new TQLabel( i18n("Vertices:"), main ); tl1->addWidget(label); - sb = new TQSlider(3, MAXVERTICES, 2, vertices, Qt::Horizontal, main); + sb = new TQSlider(3, MAXVERTICES, 2, vertices, TQt::Horizontal, main); sb->setMinimumSize( 90, 20 ); sb->setTickmarks(TQSlider::Below); sb->setTickInterval(2); @@ -87,7 +87,7 @@ kPolygonSetup::kPolygonSetup( TQWidget *parent, const char *name ) label = new TQLabel( i18n("Speed:"), main ); tl1->addWidget(label); - sb = new TQSlider(0, 100, 10, speed, Qt::Horizontal, main); + sb = new TQSlider(0, 100, 10, speed, TQt::Horizontal, main); sb->setMinimumSize( 90, 20 ); sb->setTickmarks(TQSlider::Below); sb->setTickInterval(10); diff --git a/tdescreensaver/kdesavers/science.cpp b/tdescreensaver/kdesavers/science.cpp index bd3ee4ad..2f1534bc 100644 --- a/tdescreensaver/kdesavers/science.cpp +++ b/tdescreensaver/kdesavers/science.cpp @@ -897,7 +897,7 @@ KScienceSetup::KScienceSetup( TQWidget *parent, const char *name ) label = new TQLabel( i18n("Size:"), main ); ltc->addWidget( label ); - slideSize = new TQSlider(9, 50, 5, size[mode], Qt::Horizontal, + slideSize = new TQSlider(9, 50, 5, size[mode], TQt::Horizontal, main ); slideSize->setMinimumSize( 90, 20 ); slideSize->setTickmarks(TQSlider::Below); @@ -916,7 +916,7 @@ KScienceSetup::KScienceSetup( TQWidget *parent, const char *name ) ltc->addWidget( label ); slideIntensity = new TQSlider(0, 10, 1, intensity[mode], - Qt::Horizontal, main ); + TQt::Horizontal, main ); slideIntensity->setMinimumSize( 90, 20 ); slideIntensity->setTickmarks(TQSlider::Below); slideIntensity->setTickInterval(1); @@ -933,7 +933,7 @@ KScienceSetup::KScienceSetup( TQWidget *parent, const char *name ) ltc->addWidget( label ); slideSpeed = new TQSlider(0, SCI_MAX_SPEED, 10, speed[mode], - Qt::Horizontal, main ); + TQt::Horizontal, main ); slideSpeed->setMinimumSize( 90, 20 ); slideSpeed->setTickmarks(TQSlider::Below); slideSpeed->setTickInterval(10); @@ -949,7 +949,7 @@ KScienceSetup::KScienceSetup( TQWidget *parent, const char *name ) ltc->addLayout( ltcm ); slideMoveX = new TQSlider(0, SCI_MAX_MOVE, 5, moveX[mode], - Qt::Horizontal, main ); + TQt::Horizontal, main ); slideMoveX->setMinimumSize( 40, 20 ); slideMoveX->setTickmarks(TQSlider::Below); slideMoveX->setTickInterval(5); @@ -958,7 +958,7 @@ KScienceSetup::KScienceSetup( TQWidget *parent, const char *name ) ltcm->addWidget( slideMoveX ); slideMoveY = new TQSlider(0, SCI_MAX_MOVE, 5, moveY[mode], - Qt::Horizontal, main ); + TQt::Horizontal, main ); slideMoveY->setMinimumSize( 40, 20 ); slideMoveY->setTickmarks(TQSlider::Below); slideMoveY->setTickInterval(5); diff --git a/tdescreensaver/kxsconfig/kxscontrol.cpp b/tdescreensaver/kxsconfig/kxscontrol.cpp index c1e8ad46..26e7ad6f 100644 --- a/tdescreensaver/kxsconfig/kxscontrol.cpp +++ b/tdescreensaver/kxsconfig/kxscontrol.cpp @@ -39,7 +39,7 @@ KXSRangeControl::KXSRangeControl(TQWidget *parent, const TQString &name, TQVBoxLayout *l = new TQVBoxLayout(this); TQLabel *label = new TQLabel(mLabel, this); l->add(label); - mSlider = new TQSlider(mMinimum, mMaximum, 10, mValue, Qt::Horizontal, this); + mSlider = new TQSlider(mMinimum, mMaximum, 10, mValue, TQt::Horizontal, this); connect(mSlider, TQT_SIGNAL(valueChanged(int)), TQT_SLOT(slotValueChanged(int))); l->add(mSlider); } @@ -71,7 +71,7 @@ KXSRangeControl::KXSRangeControl(TQWidget *parent, const TQString &name, TQLabel *l = new TQLabel(i18n(lowLabel.utf8()), this); hb->addWidget(l); } - mSlider = new TQSlider(mMinimum, mMaximum, 10, mValue, Qt::Horizontal, this); + mSlider = new TQSlider(mMinimum, mMaximum, 10, mValue, TQt::Horizontal, this); connect(mSlider, TQT_SIGNAL(valueChanged(int)), TQT_SLOT(slotValueChanged(int))); hb->add(mSlider); if (!highLabel.isEmpty()){ @@ -107,7 +107,7 @@ KXSDoubleRangeControl::KXSDoubleRangeControl(TQWidget *parent, int value = int((mValue - mMinimum) * 100 / (mMaximum - mMinimum)); - mSlider = new TQSlider(0, 100, 10, value, Qt::Horizontal, this); + mSlider = new TQSlider(0, 100, 10, value, TQt::Horizontal, this); connect(mSlider, TQT_SIGNAL(valueChanged(int)), TQT_SLOT(slotValueChanged(int))); l->add(mSlider); } @@ -129,7 +129,7 @@ KXSDoubleRangeControl::KXSDoubleRangeControl(TQWidget *parent, hb->addWidget(l); } int value = int((mValue - mMinimum) * 100 / (mMaximum - mMinimum)); - mSlider = new TQSlider(0, 100, 10, value, Qt::Horizontal, this); + mSlider = new TQSlider(0, 100, 10, value, TQt::Horizontal, this); connect(mSlider, TQT_SIGNAL(valueChanged(int)), TQT_SLOT(slotValueChanged(int))); hb->add(mSlider); if (!highLabel.isEmpty()){ diff --git a/tdescreensaver/xsavers/space.cpp b/tdescreensaver/xsavers/space.cpp index cf3ebbc6..4660d79a 100644 --- a/tdescreensaver/xsavers/space.cpp +++ b/tdescreensaver/xsavers/space.cpp @@ -592,7 +592,7 @@ kSpaceSetup::kSpaceSetup( TQWidget *parent, const char *name ) label = new TQLabel( i18n("Speed:"), page ); vb->addWidget( label ); - slider = new TQSlider(MINSPEED, MAXSPEED, 10, speed, Qt::Horizontal, + slider = new TQSlider(MINSPEED, MAXSPEED, 10, speed, TQt::Horizontal, page ); vb->addWidget( slider ); slider->setTickmarks(TQSlider::Below); @@ -602,7 +602,7 @@ kSpaceSetup::kSpaceSetup( TQWidget *parent, const char *name ) label = new TQLabel( i18n("Warp interval:"), page ); vb->addWidget( label ); - slider = new TQSlider(MINWARP, MAXWARP, 3, warpinterval,Qt::Horizontal, page ); + slider = new TQSlider(MINWARP, MAXWARP, 3, warpinterval,TQt::Horizontal, page ); vb->addWidget( slider ); slider->setTickmarks(TQSlider::Below); slider->setTickInterval(3); diff --git a/tdescreensaver/xsavers/swarm.cpp b/tdescreensaver/xsavers/swarm.cpp index c813d809..72c0d2d1 100644 --- a/tdescreensaver/xsavers/swarm.cpp +++ b/tdescreensaver/xsavers/swarm.cpp @@ -330,7 +330,7 @@ kSwarmSetup::kSwarmSetup( TQWidget *parent, const char *name ) left->addWidget(label); TQSlider *slider = new TQSlider(MINSPEED, MAXSPEED, 10, speed, - Qt::Horizontal, main ); + TQt::Horizontal, main ); slider->setMinimumSize( 120, 20 ); slider->setTickmarks(TQSlider::Below); slider->setTickInterval(10); @@ -342,7 +342,7 @@ kSwarmSetup::kSwarmSetup( TQWidget *parent, const char *name ) min_size(label); left->addWidget(label); - slider = new TQSlider(MINBATCH, MAXBATCH, 20, maxLevels,Qt::Horizontal, main ); + slider = new TQSlider(MINBATCH, MAXBATCH, 20, maxLevels,TQt::Horizontal, main ); slider->setMinimumSize( 120, 20 ); slider->setTickmarks(TQSlider::Below); slider->setTickInterval(20); |