diff options
author | Michele Calgaro <[email protected]> | 2023-11-13 21:03:36 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2023-11-14 12:59:42 +0900 |
commit | a49b0e2c531c81e420dc103b5130e2fa8643f46d (patch) | |
tree | 42ee6213b300c2366208f6c122bee39845b5a89c /kcontrol/background | |
parent | 36eda89f538b610db9dbda129d7c8e81089caf1a (diff) | |
download | tdebase-a49b0e2c531c81e420dc103b5130e2fa8643f46d.tar.gz tdebase-a49b0e2c531c81e420dc103b5130e2fa8643f46d.zip |
Replace Qt with TQt
Signed-off-by: Michele Calgaro <[email protected]>
(cherry picked from commit b965cbac5b21345e9dfc768a7e4f660ffa4aa72f)
Diffstat (limited to 'kcontrol/background')
-rw-r--r-- | kcontrol/background/bgadvanced.cpp | 4 | ||||
-rw-r--r-- | kcontrol/background/bgdialog.cpp | 2 | ||||
-rw-r--r-- | kcontrol/background/bgrender.cpp | 8 |
3 files changed, 7 insertions, 7 deletions
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); |