summaryrefslogtreecommitdiffstats
path: root/twin/kcmtwin/twinoptions
diff options
context:
space:
mode:
authorMavridis Philippe <[email protected]>2023-08-05 15:50:55 +0300
committerMichele Calgaro <[email protected]>2023-08-12 14:04:38 +0900
commit7c193f33d78ab79d2811a60c5190abdc1fa95c03 (patch)
treef15093c66ef5e1802772891b74ee7f9c3479e54a /twin/kcmtwin/twinoptions
parent8a662b46fa97c2686b639ed9429e1850dcb91c9c (diff)
downloadtdebase-7c193f33d78ab79d2811a60c5190abdc1fa95c03.tar.gz
tdebase-7c193f33d78ab79d2811a60c5190abdc1fa95c03.zip
twin: update Qt:: -> TQt::
Signed-off-by: Mavridis Philippe <[email protected]> (cherry picked from commit 83e74d1e550db6a814ec252968b601f6a9b14f9b)
Diffstat (limited to 'twin/kcmtwin/twinoptions')
-rw-r--r--twin/kcmtwin/twinoptions/mouse.cpp6
-rw-r--r--twin/kcmtwin/twinoptions/windows.cpp28
2 files changed, 17 insertions, 17 deletions
diff --git a/twin/kcmtwin/twinoptions/mouse.cpp b/twin/kcmtwin/twinoptions/mouse.cpp
index 4fa3dd866..3314604e7 100644
--- a/twin/kcmtwin/twinoptions/mouse.cpp
+++ b/twin/kcmtwin/twinoptions/mouse.cpp
@@ -209,7 +209,7 @@ KTitleBarActionsConfig::KTitleBarActionsConfig (bool _standAlone, TDEConfig *_co
TQWhatsThis::add( box, i18n("Here you can customize mouse click behavior when clicking on the"
" titlebar or the frame of a window.") );
- grid = new TQGrid(4, Qt::Vertical, box);
+ grid = new TQGrid(4, TQt::Vertical, box);
new TQLabel(grid); // dummy
@@ -611,7 +611,7 @@ KWindowActionsConfig::KWindowActionsConfig (bool _standAlone, TDEConfig *_config
TQWhatsThis::add( box, i18n("Here you can customize mouse click behavior when clicking on an inactive"
" inner window ('inner' means: not titlebar, not frame).") );
- grid = new TQGrid(3, Qt::Vertical, box);
+ grid = new TQGrid(3, TQt::Vertical, box);
strMouseButton1 = i18n("Left button:");
txtButton1 = i18n("In this row you can customize left click behavior when clicking into"
@@ -681,7 +681,7 @@ KWindowActionsConfig::KWindowActionsConfig (bool _standAlone, TDEConfig *_config
TQWhatsThis::add( box, i18n("Here you can customize TDE's behavior when clicking somewhere into"
" a window while pressing a modifier key."));
- grid = new TQGrid(6, Qt::Vertical, box);
+ grid = new TQGrid(6, TQt::Vertical, box);
// Labels
label = new TQLabel(i18n("Modifier key:"), grid);
diff --git a/twin/kcmtwin/twinoptions/windows.cpp b/twin/kcmtwin/twinoptions/windows.cpp
index 4731f43d9..1a2286878 100644
--- a/twin/kcmtwin/twinoptions/windows.cpp
+++ b/twin/kcmtwin/twinoptions/windows.cpp
@@ -130,7 +130,7 @@ KFocusConfig::KFocusConfig (bool _standAlone, TDEConfig *_config, TQWidget * par
// focus policy
fcsBox = new TQButtonGroup(i18n("Focus"),this);
- fcsBox->setColumnLayout( 0, Qt::Horizontal );
+ fcsBox->setColumnLayout( 0, TQt::Horizontal );
TQBoxLayout *fLay = new TQVBoxLayout(fcsBox->layout(),
KDialog::spacingHint());
@@ -143,7 +143,7 @@ KFocusConfig::KFocusConfig (bool _standAlone, TDEConfig *_config, TQWidget * par
focusCombo->insertItem(i18n("Focus Follows Mouse"), FOCUS_FOLLOWS_MOUSE);
focusCombo->insertItem(i18n("Focus Under Mouse"), FOCUS_UNDER_MOUSE);
focusCombo->insertItem(i18n("Focus Strictly Under Mouse"), FOCUS_STRICTLY_UNDER_MOUSE);
- cLay->addWidget(focusCombo,1 ,Qt::AlignLeft);
+ cLay->addWidget(focusCombo,1 ,TQt::AlignLeft);
fLabel->setBuddy(focusCombo);
// FIXME, when more policies have been added to TWin
@@ -177,7 +177,7 @@ KFocusConfig::KFocusConfig (bool _standAlone, TDEConfig *_config, TQWidget * par
connect(autoRaiseOn,TQT_SIGNAL(toggled(bool)), this, TQT_SLOT(autoRaiseOnTog(bool)));
autoRaise = new KIntNumInput(500, fcsBox);
- autoRaise->setLabel(i18n("Dela&y:"), Qt::AlignVCenter|Qt::AlignLeft);
+ autoRaise->setLabel(i18n("Dela&y:"), TQt::AlignVCenter|TQt::AlignLeft);
autoRaise->setRange(0, 3000, 100, true);
autoRaise->setSteps(100,100);
autoRaise->setSuffix(i18n(" msec"));
@@ -190,7 +190,7 @@ KFocusConfig::KFocusConfig (bool _standAlone, TDEConfig *_config, TQWidget * par
connect(delayFocusOn,TQT_SIGNAL(toggled(bool)), this, TQT_SLOT(delayFocusOnTog(bool)));
delayFocus = new KIntNumInput(500, fcsBox);
- delayFocus->setLabel(i18n("Dela&y:"), Qt::AlignVCenter|Qt::AlignLeft);
+ delayFocus->setLabel(i18n("Dela&y:"), TQt::AlignVCenter|TQt::AlignLeft);
delayFocus->setRange(0, 3000, 100, true);
delayFocus->setSteps(100,100);
delayFocus->setSuffix(i18n(" msec"));
@@ -212,7 +212,7 @@ KFocusConfig::KFocusConfig (bool _standAlone, TDEConfig *_config, TQWidget * par
focusStealing->insertItem( i18n( "Focus Stealing Prevention Level", "High" ));
focusStealing->insertItem( i18n( "Focus Stealing Prevention Level", "Extreme" ));
focusStealingLabel->setBuddy( focusStealing );
- cLay->addWidget(focusStealing,2 ,Qt::AlignLeft);
+ cLay->addWidget(focusStealing,2 ,TQt::AlignLeft);
wtstr = i18n( "<p>This option specifies how much TWin will try to prevent unwanted focus stealing "
"caused by unexpected activation of new windows. (Note: This feature does not "
"work with the Focus Under Mouse or Focus Strictly Under Mouse focus policies.)"
@@ -275,7 +275,7 @@ KFocusConfig::KFocusConfig (bool _standAlone, TDEConfig *_config, TQWidget * par
lay->addWidget(fcsBox);
kbdBox = new TQButtonGroup(i18n("Navigation"), this);
- kbdBox->setColumnLayout( 0, Qt::Horizontal );
+ kbdBox->setColumnLayout( 0, TQt::Horizontal );
TQVBoxLayout *kLay = new TQVBoxLayout(kbdBox->layout(), KDialog::spacingHint());
altTabPopup = new TQCheckBox( i18n("Show window list while switching windows"), kbdBox );
@@ -863,7 +863,7 @@ KAdvancedConfig::KAdvancedConfig (bool _standAlone, TDEConfig *_config, TQWidget
connect(shadeHoverOn, TQT_SIGNAL(toggled(bool)), this, TQT_SLOT(shadeHoverChanged(bool)));
shadeHover = new KIntNumInput(500, shBox);
- shadeHover->setLabel(i18n("Dela&y:"), Qt::AlignVCenter|Qt::AlignLeft);
+ shadeHover->setLabel(i18n("Dela&y:"), TQt::AlignVCenter|TQt::AlignLeft);
shadeHover->setRange(0, 3000, 100, true);
shadeHover->setSteps(100, 100);
shadeHover->setSuffix(i18n(" msec"));
@@ -983,7 +983,7 @@ KMovingConfig::KMovingConfig (bool _standAlone, TDEConfig *_config, TQWidget *pa
TQBoxLayout *lay = new TQVBoxLayout (this, 0, KDialog::spacingHint());
windowsBox = new TQButtonGroup(i18n("Windows"), this);
- windowsBox->setColumnLayout( 0, Qt::Horizontal );
+ windowsBox->setColumnLayout( 0, TQt::Horizontal );
TQBoxLayout *wLay = new TQVBoxLayout (windowsBox->layout(), KDialog::spacingHint());
@@ -1031,11 +1031,11 @@ KMovingConfig::KMovingConfig (bool _standAlone, TDEConfig *_config, TQWidget *pa
connect(minimizeAnimSlider, TQT_SIGNAL(valueChanged(int)), this, TQT_SLOT(setMinimizeAnimSpeed(int)));
minimizeAnimSlowLabel= new TQLabel(i18n("Slow"),windowsBox);
- minimizeAnimSlowLabel->setAlignment(Qt::AlignTop|Qt::AlignLeft);
+ minimizeAnimSlowLabel->setAlignment(TQt::AlignTop|TQt::AlignLeft);
rLay->addWidget(minimizeAnimSlowLabel,1,1);
minimizeAnimFastLabel= new TQLabel(i18n("Fast"),windowsBox);
- minimizeAnimFastLabel->setAlignment(Qt::AlignTop|Qt::AlignRight);
+ minimizeAnimFastLabel->setAlignment(TQt::AlignTop|TQt::AlignRight);
rLay->addWidget(minimizeAnimFastLabel,1,2);
wtstr = i18n("Here you can set the speed of the animation shown when windows are"
@@ -1090,7 +1090,7 @@ KMovingConfig::KMovingConfig (bool _standAlone, TDEConfig *_config, TQWidget *pa
plcLabel->setBuddy(placementCombo);
vLay->addWidget(plcLabel, 0);
- vLay->addWidget(placementCombo, 1, Qt::AlignLeft);
+ vLay->addWidget(placementCombo, 1, TQt::AlignLeft);
bLay->addSpacing(10);
@@ -1602,7 +1602,7 @@ KTranslucencyConfig::KTranslucencyConfig (bool _standAlone, TDEConfig *_config,
TQLabel *label6 = new TQLabel(i18n("Shadow color:"),sGroup);
gLay2->addWidget(label6,7,0);
- shadowColor = new KColorButton(Qt::black,sGroup);
+ shadowColor = new KColorButton(TQt::black,sGroup);
gLay2->addWidget(shadowColor,7,1);
gLay2->setColStretch(1,1);
vLay2->addSpacing(11);
@@ -1804,7 +1804,7 @@ void KTranslucencyConfig::load( void )
r = g = b = 256;
if (sscanf(hex.latin1(), "0x%02x%02x%02x", &r, &g, &b)!=3 || r > 255 || g > 255 || b > 255)
- shadowColor->setColor(Qt::black);
+ shadowColor->setColor(TQt::black);
else
shadowColor->setColor(TQColor(r,g,b));
@@ -2012,7 +2012,7 @@ void KTranslucencyConfig::defaults()
useShadowsOnDockWindows->setChecked(FALSE);
removeShadowsOnMove->setChecked(FALSE);
removeShadowsOnResize->setChecked(FALSE);
- shadowColor->setColor(Qt::black);
+ shadowColor->setColor(TQt::black);
fadeInWindows->setChecked(FALSE);
fadeInMenuWindows->setChecked(TRUE);
fadeInToolTipWindows->setChecked(TRUE);