summaryrefslogtreecommitdiffstats
path: root/ksplashml
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
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')
-rw-r--r--ksplashml/kcmksplash/installer.cpp6
-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
5 files changed, 16 insertions, 16 deletions
diff --git a/ksplashml/kcmksplash/installer.cpp b/ksplashml/kcmksplash/installer.cpp
index 7ee681907..66b6eb83b 100644
--- a/ksplashml/kcmksplash/installer.cpp
+++ b/ksplashml/kcmksplash/installer.cpp
@@ -56,7 +56,7 @@ void ThemeListBox::dropEvent(TQDropEvent* event)
void ThemeListBox::slotMouseButtonPressed(int button, TQListBoxItem *item, const TQPoint &p)
{
- if ((button & Qt::LeftButton) == 0) return;
+ if ((button & TQt::LeftButton) == 0) return;
mOldPos = p;
mDragFile = TQString::null;
int cur = index(item);
@@ -66,7 +66,7 @@ void ThemeListBox::slotMouseButtonPressed(int button, TQListBoxItem *item, const
void ThemeListBox::mouseMoveEvent(TQMouseEvent *e)
{
- if (((e->state() & Qt::LeftButton) != 0) && !mDragFile.isEmpty())
+ if (((e->state() & TQt::LeftButton) != 0) && !mDragFile.isEmpty())
{
int delay = TDEGlobalSettings::dndEventDelay();
TQPoint newPos = e->globalPos();
@@ -123,7 +123,7 @@ SplashInstaller::SplashInstaller (TQWidget *aParent, const char *aName, bool aIn
mPreview->setSizePolicy( TQSizePolicy::Expanding, TQSizePolicy::Expanding );
mPreview->setFrameStyle(TQFrame::Panel|TQFrame::Sunken);
mPreview->setMinimumSize(TQSize(320,240));
- mPreview->setAlignment(Qt::AlignHCenter|Qt::AlignVCenter);
+ mPreview->setAlignment(TQt::AlignHCenter|TQt::AlignVCenter);
rightbox->addWidget(mPreview);
rightbox->setStretchFactor( mPreview, 3 );
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 );
}