summaryrefslogtreecommitdiffstats
path: root/krootbacking
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-19 11:53:50 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-19 11:53:50 -0600
commitf64397c82fa94371ab4a64af28c4d0029f4cd93f (patch)
treecdb72f3faadbcebe60088800f27df1ec23ad15d8 /krootbacking
parent628043be55ddd2f534411d028e4f68c8fe4eaabb (diff)
downloadtdebase-f64397c82fa94371ab4a64af28c4d0029f4cd93f.tar.gz
tdebase-f64397c82fa94371ab4a64af28c4d0029f4cd93f.zip
Remove additional unneeded tq method conversions
Diffstat (limited to 'krootbacking')
-rw-r--r--krootbacking/krootbacking.cpp14
-rw-r--r--krootbacking/krootbacking.h8
2 files changed, 11 insertions, 11 deletions
diff --git a/krootbacking/krootbacking.cpp b/krootbacking/krootbacking.cpp
index abc7df4c..22c7bfc7 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(tqrepaint()));
+ connect(m_pTimer, TQT_SIGNAL(timeout()), TQT_SLOT(repaint()));
#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) {
- tqrepaint(true);
+ repaint(true);
}
}
@@ -133,16 +133,16 @@ void KRootBacking::setFadeEffect(double fade, const TQColor &color)
m_Fade = fade;
m_FadeColor = color;
- if ( m_bActive && m_bInit ) tqrepaint(true);
+ if ( m_bActive && m_bInit ) repaint(true);
}
-void KRootBacking::tqrepaint()
+void KRootBacking::repaint()
{
- tqrepaint(false);
+ repaint(false);
}
-void KRootBacking::tqrepaint(bool force)
+void KRootBacking::repaint(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)
- tqrepaint(true);
+ repaint(true);
}
#include "krootbacking.moc"
diff --git a/krootbacking/krootbacking.h b/krootbacking/krootbacking.h
index 72f7d79c..fd470704 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 tqrepaint, even if the contents did not change.
+ * @param force Force a repaint, even if the contents did not change.
*/
- void tqrepaint( bool force );
+ void repaint( bool force );
/**
* Repaints the widget background. Normally, you shouldn't need this
* as it is handled automatically. This is equivalent to calling
- * tqrepaint( false ).
+ * repaint( false ).
*/
- void tqrepaint();
+ void repaint();
/**
* Asks KDesktop to export the desktop background as a KSharedPixmap.