From a49b0e2c531c81e420dc103b5130e2fa8643f46d Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Mon, 13 Nov 2023 21:03:36 +0900 Subject: Replace Qt with TQt Signed-off-by: Michele Calgaro (cherry picked from commit b965cbac5b21345e9dfc768a7e4f660ffa4aa72f) --- kcontrol/background/bgadvanced.cpp | 4 ++-- kcontrol/background/bgdialog.cpp | 2 +- kcontrol/background/bgrender.cpp | 8 ++++---- 3 files changed, 7 insertions(+), 7 deletions(-) (limited to 'kcontrol/background') diff --git a/kcontrol/background/bgadvanced.cpp b/kcontrol/background/bgadvanced.cpp index 2a80db02d..3194c2859 100644 --- a/kcontrol/background/bgadvanced.cpp +++ b/kcontrol/background/bgadvanced.cpp @@ -175,7 +175,7 @@ void BGAdvancedDialog::setTextBackgroundColor(const TQColor &color) else { dlg->m_cbSolidTextBackground->setChecked(false); - dlg->m_colorTextBackground->setColor(Qt::white); + dlg->m_colorTextBackground->setColor(TQt::white); dlg->m_colorTextBackground->setEnabled(false); } dlg->m_colorTextBackground->blockSignals(false); @@ -434,7 +434,7 @@ KProgramEditDialog::KProgramEditDialog(const TQString &program, TQWidget *parent m_RefreshEdit->setSuffix(i18n(" min")); m_RefreshEdit->setFixedSize(m_RefreshEdit->sizeHint()); lbl->setBuddy(m_RefreshEdit); - grid->addWidget(m_RefreshEdit, 5, 1, Qt::AlignLeft); + grid->addWidget(m_RefreshEdit, 5, 1, TQt::AlignLeft); m_Program = program; if (m_Program.isEmpty()) { diff --git a/kcontrol/background/bgdialog.cpp b/kcontrol/background/bgdialog.cpp index aaa6f3260..89847c9b2 100644 --- a/kcontrol/background/bgdialog.cpp +++ b/kcontrol/background/bgdialog.cpp @@ -443,7 +443,7 @@ void BGDialog::slotIdentifyScreens() screenLabel->setFrameStyle(TQFrame::Panel); screenLabel->setFrameShadow(TQFrame::Plain); - screenLabel->setAlignment(Qt::AlignCenter); + screenLabel->setAlignment(TQt::AlignCenter); screenLabel->setNum(int(s + 1)); // BUGLET: we should not allow the identification to be entered again // until the timer fires. diff --git a/kcontrol/background/bgrender.cpp b/kcontrol/background/bgrender.cpp index e6c8fcccd..ee67beb66 100644 --- a/kcontrol/background/bgrender.cpp +++ b/kcontrol/background/bgrender.cpp @@ -384,7 +384,7 @@ wp_load: wpmode = NoWallpaper; goto wp_out; } - m_Wallpaper = m_Wallpaper.convertDepth(32, Qt::DiffuseAlphaDither); + m_Wallpaper = m_Wallpaper.convertDepth(32, TQt::DiffuseAlphaDither); // If we're previewing, scale the wallpaper down to make the preview // look more like the real desktop. @@ -628,7 +628,7 @@ void KBackgroundRenderer::fullWallpaperBlend() m_Image = m_Background.copy(); if (m_Image.depth() < 32) - m_Image = m_Image.convertDepth(32, Qt::DiffuseAlphaDither); + m_Image = m_Image.convertDepth(32, TQt::DiffuseAlphaDither); } else { m_Image.create(w, h, 32); @@ -1160,7 +1160,7 @@ void KVirtualBGRenderer::desktopResized() { delete m_pPixmap; m_pPixmap = new TQPixmap(m_size); - m_pPixmap->fill(Qt::black); + m_pPixmap->fill(TQt::black); } initRenderers(); @@ -1317,7 +1317,7 @@ void KVirtualBGRenderer::start() // If are screen sizes do not properly tile the overall virtual screen // size, then we want the untiled parts to be black for use in desktop // previews, etc - m_pPixmap->fill(Qt::black); + m_pPixmap->fill(TQt::black); } m_bFinished.fill(false); -- cgit v1.2.1