summaryrefslogtreecommitdiffstats
path: root/ksplashml/themeengine
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-11-13 21:03:36 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-11-13 21:03:36 +0900
commitb965cbac5b21345e9dfc768a7e4f660ffa4aa72f (patch)
tree7fcff5d301752cbdcdfff64d8791aff1369b803f /ksplashml/themeengine
parent7d6d35b42e00d6b6658951871b29489bdec80714 (diff)
downloadtdebase-b965cbac5b21345e9dfc768a7e4f660ffa4aa72f.tar.gz
tdebase-b965cbac5b21345e9dfc768a7e4f660ffa4aa72f.zip
Replace Qt with TQt
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'ksplashml/themeengine')
-rw-r--r--ksplashml/themeengine/default/themelegacy.cpp10
-rw-r--r--ksplashml/themeengine/redmond/previewredmond.cpp10
-rw-r--r--ksplashml/themeengine/redmond/themeredmond.cpp4
-rw-r--r--ksplashml/themeengine/unified/themeunified.cpp2
4 files changed, 13 insertions, 13 deletions
diff --git a/ksplashml/themeengine/default/themelegacy.cpp b/ksplashml/themeengine/default/themelegacy.cpp
index 0e1242120..c3a0285a8 100644
--- a/ksplashml/themeengine/default/themelegacy.cpp
+++ b/ksplashml/themeengine/default/themelegacy.cpp
@@ -120,19 +120,19 @@ void ThemeDefault::_initUi()
if (mActivePixmap->isNull())
{
mActivePixmap->resize(200,100);
- mActivePixmap->fill(Qt::blue);
+ mActivePixmap->fill(TQt::blue);
}
if (mInactivePixmap->isNull())
{
mInactivePixmap->resize(200,100);
- mInactivePixmap->fill(Qt::black);
+ mInactivePixmap->fill(TQt::black);
}
TQPixmap tlimage( _findPicture(TQString("splash_top.png")) );
if (tlimage.isNull())
{
tlimage.resize(200,100);
- tlimage.fill(Qt::blue);
+ tlimage.fill(TQt::blue);
}
TQLabel *top_label = new TQLabel( vbox );
top_label->setPixmap( tlimage );
@@ -147,7 +147,7 @@ void ThemeDefault::_initUi()
if (blimage.isNull())
{
blimage.resize(200,100);
- blimage.fill(Qt::black);
+ blimage.fill(TQt::black);
}
TQLabel *bottom_label = new TQLabel( vbox );
bottom_label->setPaletteBackgroundPixmap( blimage );
@@ -212,7 +212,7 @@ void ThemeDefault::_readSettings()
cfg->setGroup( TQString("KSplash Theme: %1").arg(mTheme->theme()) );
mIconsFlashing = cfg->readBoolEntry( "Icons Flashing", true );
- TQColor df(Qt::white);
+ TQColor df(TQt::white);
mLabelForeground = cfg->readColorEntry( "Label Foreground", &df );
TQValueList<int> io_list=cfg->readIntListEntry("Icon Offsets");
if (io_list.size() == MAX_ICONS)
diff --git a/ksplashml/themeengine/redmond/previewredmond.cpp b/ksplashml/themeengine/redmond/previewredmond.cpp
index 29bfa4b66..5f759686c 100644
--- a/ksplashml/themeengine/redmond/previewredmond.cpp
+++ b/ksplashml/themeengine/redmond/previewredmond.cpp
@@ -33,10 +33,10 @@ PreviewRedmond::PreviewRedmond( TQWidget* parent )
m_userFont (TQFont( "Arial", 16 )),
m_statusFont (TQFont( "Arial", 12, TQFont::Bold )),
- m_welcomeColor (Qt::white),
- m_welcomeShadowColor (Qt::darkGray),
- m_userColor (Qt::darkGray),
- m_statusColor (Qt::white),
+ m_welcomeColor (TQt::white),
+ m_welcomeShadowColor (TQt::darkGray),
+ m_userColor (TQt::darkGray),
+ m_statusColor (TQt::white),
m_icon (DesktopIcon("kmenu")),
@@ -71,7 +71,7 @@ void PreviewRedmond::_updateCache()
TQPainter p;
p.begin( &m_cache );
- p.fillRect( rect(), Qt::gray );
+ p.fillRect( rect(), TQt::gray );
m_welcomeFont.setItalic( true );
p.setFont( m_welcomeFont );
diff --git a/ksplashml/themeengine/redmond/themeredmond.cpp b/ksplashml/themeengine/redmond/themeredmond.cpp
index b0e81ba72..3792d6057 100644
--- a/ksplashml/themeengine/redmond/themeredmond.cpp
+++ b/ksplashml/themeengine/redmond/themeredmond.cpp
@@ -52,7 +52,7 @@ CfgRedmond::CfgRedmond( TQWidget *p, TDEConfig *c )
TQFont defaultUsernameFont( "Arial", 16, TQFont::Bold );
TQFont defaultActionFont( "Arial", 12, TQFont::Bold );
TQColor defaultDarkColor( 3, 47, 156 );
- TQColor defaultWhiteColor( Qt::white );
+ TQColor defaultWhiteColor( TQt::white );
TQHBox *hbox = new TQHBox( vbox );
hbox->setFrameStyle( TQFrame::WinPanel );
@@ -356,7 +356,7 @@ void ThemeRedmond::_readSettings()
mActionFont = cfg->readFontEntry( "Action Font", &defaultActionFont );
TQColor defaultDarkColor( 3, 47, 156 );
- TQColor defaultWhiteColor( Qt::white );
+ TQColor defaultWhiteColor( TQt::white );
mWelcomeTextColor = cfg->readColorEntry( "Welcome Text Color", &defaultWhiteColor );
mWelcomeTextShadowColor = cfg->readColorEntry( "Welcome Shadow Color", &defaultDarkColor );
diff --git a/ksplashml/themeengine/unified/themeunified.cpp b/ksplashml/themeengine/unified/themeunified.cpp
index 0a2eb6343..e0ba8fb9e 100644
--- a/ksplashml/themeengine/unified/themeunified.cpp
+++ b/ksplashml/themeengine/unified/themeunified.cpp
@@ -97,7 +97,7 @@ void ThemeUnified::_readSettings()
cfg->setGroup( TQString("KSplash Theme: %1").arg(mTheme->theme()) );
- TQColor df(Qt::white);
+ TQColor df(TQt::white);
mLabelForeground = cfg->readColorEntry( "Label Foreground", &df );
}