summaryrefslogtreecommitdiffstats
path: root/tdescreensaver/kdesavers
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2023-11-06 11:29:31 +0900
committerMichele Calgaro <[email protected]>2023-11-07 09:58:54 +0900
commit185ed081e216488c0e5dc3e64219cbaac6a5b471 (patch)
tree959c25b171b9eb8783ef7c1159eee67b21ca7e17 /tdescreensaver/kdesavers
parentb371ec89eb49b1a15fb97fef46c0ab1e88af9b01 (diff)
downloadtdeartwork-185ed081e216488c0e5dc3e64219cbaac6a5b471.tar.gz
tdeartwork-185ed081e216488c0e5dc3e64219cbaac6a5b471.zip
Replace Qt with TQt
Signed-off-by: Michele Calgaro <[email protected]> (cherry picked from commit 96f53316c2d7b72477825b53206998efc9bfd315)
Diffstat (limited to 'tdescreensaver/kdesavers')
-rw-r--r--tdescreensaver/kdesavers/banner.cpp4
-rw-r--r--tdescreensaver/kdesavers/kclock.cpp4
-rw-r--r--tdescreensaver/kdesavers/kvm.cpp4
-rw-r--r--tdescreensaver/kdesavers/lines.cpp4
-rw-r--r--tdescreensaver/kdesavers/lorenz.cpp12
-rw-r--r--tdescreensaver/kdesavers/polygon.cpp6
-rw-r--r--tdescreensaver/kdesavers/science.cpp10
7 files changed, 22 insertions, 22 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);