summaryrefslogtreecommitdiffstats
path: root/twin/kcmtwin/twindecoration
diff options
context:
space:
mode:
authorMavridis Philippe <mavridisf@gmail.com>2023-08-05 15:50:55 +0300
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-08-12 14:01:03 +0900
commit83e74d1e550db6a814ec252968b601f6a9b14f9b (patch)
treef5b58985811f820f89cdb2564711ce04a744af37 /twin/kcmtwin/twindecoration
parent42f97b681bd0a2bab49875cbcae5cacef4dfa7c2 (diff)
downloadtdebase-83e74d1e550db6a814ec252968b601f6a9b14f9b.tar.gz
tdebase-83e74d1e550db6a814ec252968b601f6a9b14f9b.zip
twin: update Qt:: -> TQt::
Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
Diffstat (limited to 'twin/kcmtwin/twindecoration')
-rw-r--r--twin/kcmtwin/twindecoration/buttons.cpp2
-rw-r--r--twin/kcmtwin/twindecoration/preview.h2
-rw-r--r--twin/kcmtwin/twindecoration/twindecoration.cpp16
3 files changed, 10 insertions, 10 deletions
diff --git a/twin/kcmtwin/twindecoration/buttons.cpp b/twin/kcmtwin/twindecoration/buttons.cpp
index 17381247a..40f63d981 100644
--- a/twin/kcmtwin/twindecoration/buttons.cpp
+++ b/twin/kcmtwin/twindecoration/buttons.cpp
@@ -606,7 +606,7 @@ void ButtonDropSite::drawContents( TQPainter* p )
TQColor c1( 0x0A, 0x5F, 0x89 ); // KDE 2 titlebar default colour
p->fillRect( r, c1 );
- p->setPen( Qt::white );
+ p->setPen( TQt::white );
p->setFont( TQFont( TDEGlobalSettings::generalFont().family(), 12, TQFont::Bold) );
p->drawText( r, AlignLeft | AlignVCenter, i18n("TDE") );
diff --git a/twin/kcmtwin/twindecoration/preview.h b/twin/kcmtwin/twindecoration/preview.h
index 8a7827d96..9d9f09402 100644
--- a/twin/kcmtwin/twindecoration/preview.h
+++ b/twin/kcmtwin/twindecoration/preview.h
@@ -106,7 +106,7 @@ class KDecorationPreviewBridge
virtual void setKeepBelow( bool );
virtual int currentDesktop() const;
virtual TQWidget* initialParentWidget() const;
- virtual Qt::WFlags initialWFlags() const;
+ virtual TQt::WFlags initialWFlags() const;
virtual void helperShowHide( bool show );
virtual void grabXServer( bool grab );
private:
diff --git a/twin/kcmtwin/twindecoration/twindecoration.cpp b/twin/kcmtwin/twindecoration/twindecoration.cpp
index 0564d380e..ef152c0aa 100644
--- a/twin/kcmtwin/twindecoration/twindecoration.cpp
+++ b/twin/kcmtwin/twindecoration/twindecoration.cpp
@@ -98,7 +98,7 @@ KWinDecorationModule::KWinDecorationModule(TQWidget* parent, const char* name, c
pluginLayout->addWidget(decorationList);
TQGroupBox *pluginSettingsGrp = new TQGroupBox( i18n("Decoration Options"), pluginPage );
- pluginSettingsGrp->setColumnLayout( 0, Qt::Vertical );
+ pluginSettingsGrp->setColumnLayout( 0, TQt::Vertical );
pluginSettingsGrp->setFlat( true );
pluginSettingsGrp->layout()->setMargin( 0 );
pluginSettingsGrp->layout()->setSpacing( KDialog::spacingHint() );
@@ -184,11 +184,11 @@ KWinDecorationModule::KWinDecorationModule(TQWidget* parent, const char* name, c
i18n("Enabling this checkbox will allow you to choose a kind of "
"drop shadow to draw under each window."));
- activeShadowSettings = new TQGroupBox(1, Qt::Horizontal,
+ activeShadowSettings = new TQGroupBox(1, TQt::Horizontal,
i18n("Active Window Shadow"), shadowPage);
- inactiveShadowSettings = new TQGroupBox(1, Qt::Horizontal,
+ inactiveShadowSettings = new TQGroupBox(1, TQt::Horizontal,
i18n("Inactive Window Shadows"), shadowPage);
- whichShadowSettings = new TQGroupBox(3, Qt::Horizontal,
+ whichShadowSettings = new TQGroupBox(3, TQt::Horizontal,
i18n("Draw Shadow Under Normal Windows And..."), shadowPage);
cbShadowDocks = new TQCheckBox(i18n("Docks and &panels"),
@@ -223,7 +223,7 @@ KWinDecorationModule::KWinDecorationModule(TQWidget* parent, const char* name, c
shadowOpacityHBox = new TQHBox(activeShadowSettings);
shadowOpacityHBox->setSpacing(KDialog::spacingHint());
shadowOpacityLabel = new TQLabel(i18n("Maximum opacity:"), shadowOpacityHBox);
- shadowOpacitySlider = new TQSlider(1, 100, 10, 50, Qt::Horizontal,
+ shadowOpacitySlider = new TQSlider(1, 100, 10, 50, TQt::Horizontal,
shadowOpacityHBox);
shadowOpacitySlider->setTickmarks(TQSlider::Below);
shadowOpacitySlider->setTickInterval(10);
@@ -240,7 +240,7 @@ KWinDecorationModule::KWinDecorationModule(TQWidget* parent, const char* name, c
inactiveShadowOpacityHBox->setSpacing(KDialog::spacingHint());
inactiveShadowOpacityLabel = new TQLabel(i18n("Maximum opacity:"),
inactiveShadowOpacityHBox);
- inactiveShadowOpacitySlider = new TQSlider(1, 100, 10, 50, Qt::Horizontal,
+ inactiveShadowOpacitySlider = new TQSlider(1, 100, 10, 50, TQt::Horizontal,
inactiveShadowOpacityHBox);
inactiveShadowOpacitySlider->setTickmarks(TQSlider::Below);
inactiveShadowOpacitySlider->setTickInterval(10);
@@ -895,7 +895,7 @@ void KWinDecorationModule::defaults()
border_size = BorderNormal;
checkSupportedBorderSizes();
- shadowColourButton->setColor(Qt::black);
+ shadowColourButton->setColor(TQt::black);
shadowOpacitySlider->setValue(70);
shadowXOffsetSpinBox->setValue(0);
shadowYOffsetSpinBox->setValue(10);
@@ -904,7 +904,7 @@ void KWinDecorationModule::defaults()
cbShadowOverrides->setChecked(false);
cbShadowTopMenus->setChecked(false);
cbInactiveShadow->setChecked(false);
- inactiveShadowColourButton->setColor(Qt::black);
+ inactiveShadowColourButton->setColor(TQt::black);
inactiveShadowOpacitySlider->setValue(70);
inactiveShadowXOffsetSpinBox->setValue(0);
inactiveShadowYOffsetSpinBox->setValue(5);