summaryrefslogtreecommitdiffstats
path: root/tdeui/krootpixmap.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-18 18:32:40 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-18 18:32:40 -0600
commit984c25aa6969e55896e9a13c8e7f7b8a58991a4e (patch)
tree3653d4ee49b0adf405ff17e0ecdc99bc6f10c1bf /tdeui/krootpixmap.cpp
parent56160bf4dfe503631ef6373367b281f081bab2b4 (diff)
downloadtdelibs-984c25aa6969e55896e9a13c8e7f7b8a58991a4e.tar.gz
tdelibs-984c25aa6969e55896e9a13c8e7f7b8a58991a4e.zip
Rename old tq methods that no longer need a unique name
Diffstat (limited to 'tdeui/krootpixmap.cpp')
-rw-r--r--tdeui/krootpixmap.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/tdeui/krootpixmap.cpp b/tdeui/krootpixmap.cpp
index b87e887d7..8bcd7827b 100644
--- a/tdeui/krootpixmap.cpp
+++ b/tdeui/krootpixmap.cpp
@@ -77,7 +77,7 @@ void KRootPixmap::init()
connect(d->twin, TQT_SIGNAL(currentDesktopChanged(int)), TQT_SLOT(desktopChanged(int)));
#endif
- d->toplevel = m_pWidget->tqtopLevelWidget();
+ d->toplevel = m_pWidget->topLevelWidget();
d->toplevel->installEventFilter(this);
m_pWidget->installEventFilter(this);
}
@@ -170,7 +170,7 @@ bool KRootPixmap::eventFilter(TQObject *, TQEvent *event)
case TQEvent::Reparent:
d->toplevel->removeEventFilter(this);
- d->toplevel = m_pWidget->tqtopLevelWidget();
+ d->toplevel = m_pWidget->topLevelWidget();
d->toplevel->installEventFilter(this);
break;
@@ -188,7 +188,7 @@ void KRootPixmap::desktopChanged(int desktop)
return;
#ifdef Q_WS_X11
- if (KWin::windowInfo(m_pWidget->tqtopLevelWidget()->winId()).desktop() == NET::OnAllDesktops &&
+ if (KWin::windowInfo(m_pWidget->topLevelWidget()->winId()).desktop() == NET::OnAllDesktops &&
pixmapName(m_Desk) != pixmapName(desktop))
#endif
tqrepaint(true);
@@ -198,7 +198,7 @@ void KRootPixmap::desktopChanged( WId window, unsigned int properties )
{
#ifdef Q_WS_X11
if( !(properties & NET::WMDesktop) ||
- (window != m_pWidget->tqtopLevelWidget()->winId()))
+ (window != m_pWidget->topLevelWidget()->winId()))
return;
#endif
@@ -233,7 +233,7 @@ void KRootPixmap::tqrepaint(bool force)
}
m_Rect = TQRect(p1, p2);
#ifdef Q_WS_X11
- m_Desk = KWin::windowInfo(m_pWidget->tqtopLevelWidget()->winId()).desktop();
+ m_Desk = KWin::windowInfo(m_pWidget->topLevelWidget()->winId()).desktop();
if (m_Desk == NET::OnAllDesktops)
m_Desk = currentDesktop();