diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-16 09:58:25 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-16 09:58:25 -0600 |
commit | 2c01fd64ddde84a6d78b632f7f3b7c3560dc288c (patch) | |
tree | 65f4f4370cf4269757d7fa4d0f4d15996a1bf68f /krootbacking | |
parent | 73c08b592db45af554b9f21029bc549d70f683ab (diff) | |
download | tdebase-2c01fd64ddde84a6d78b632f7f3b7c3560dc288c.tar.gz tdebase-2c01fd64ddde84a6d78b632f7f3b7c3560dc288c.zip |
Revert "Rename a number of old tq methods that are no longer tq specific"
This reverts commit 73c08b592db45af554b9f21029bc549d70f683ab.
Diffstat (limited to 'krootbacking')
-rw-r--r-- | krootbacking/krootbacking.cpp | 14 | ||||
-rw-r--r-- | krootbacking/krootbacking.h | 8 |
2 files changed, 11 insertions, 11 deletions
diff --git a/krootbacking/krootbacking.cpp b/krootbacking/krootbacking.cpp index 22c7bfc72..abc7df4cc 100644 --- a/krootbacking/krootbacking.cpp +++ b/krootbacking/krootbacking.cpp @@ -67,7 +67,7 @@ void KRootBacking::init() m_bActive = false; connect(kapp, TQT_SIGNAL(backgroundChanged(int)), TQT_SLOT(slotBackgroundChanged(int))); - connect(m_pTimer, TQT_SIGNAL(timeout()), TQT_SLOT(repaint())); + connect(m_pTimer, TQT_SIGNAL(timeout()), TQT_SLOT(tqrepaint())); #ifdef Q_WS_X11 connect(m_pPixmap, TQT_SIGNAL(done(bool)), TQT_SLOT(slotDone(bool))); @@ -111,7 +111,7 @@ void KRootBacking::start() } } if (m_bInit) { - repaint(true); + tqrepaint(true); } } @@ -133,16 +133,16 @@ void KRootBacking::setFadeEffect(double fade, const TQColor &color) m_Fade = fade; m_FadeColor = color; - if ( m_bActive && m_bInit ) repaint(true); + if ( m_bActive && m_bInit ) tqrepaint(true); } -void KRootBacking::repaint() +void KRootBacking::tqrepaint() { - repaint(false); + tqrepaint(false); } -void KRootBacking::repaint(bool force) +void KRootBacking::tqrepaint(bool force) { TQWidget* desktopWidget = KApplication::desktop(); TQPoint p1 = desktopWidget->mapToGlobal(desktopWidget->rect().topLeft()); @@ -255,7 +255,7 @@ void KRootBacking::slotBackgroundChanged(int desk) return; if (desk == m_Desk) - repaint(true); + tqrepaint(true); } #include "krootbacking.moc" diff --git a/krootbacking/krootbacking.h b/krootbacking/krootbacking.h index fd4707047..72f7d79c0 100644 --- a/krootbacking/krootbacking.h +++ b/krootbacking/krootbacking.h @@ -116,16 +116,16 @@ public slots: * Repaints the widget background. Normally, you shouldn't need this * as it is handled automatically. * - * @param force Force a repaint, even if the contents did not change. + * @param force Force a tqrepaint, even if the contents did not change. */ - void repaint( bool force ); + void tqrepaint( bool force ); /** * Repaints the widget background. Normally, you shouldn't need this * as it is handled automatically. This is equivalent to calling - * repaint( false ). + * tqrepaint( false ). */ - void repaint(); + void tqrepaint(); /** * Asks KDesktop to export the desktop background as a KSharedPixmap. |