summaryrefslogtreecommitdiffstats
path: root/kpager
diff options
context:
space:
mode:
Diffstat (limited to 'kpager')
-rw-r--r--kpager/kpager.cpp30
1 files changed, 15 insertions, 15 deletions
diff --git a/kpager/kpager.cpp b/kpager/kpager.cpp
index 077500710..3d17ffaaf 100644
--- a/kpager/kpager.cpp
+++ b/kpager/kpager.cpp
@@ -374,7 +374,7 @@ void KPager::configureDialog()
updateLayout();
for( TQValueList <Desktop *>::Iterator it = m_desktops.begin(); it != m_desktops.end(); ++it )
- (*it)->tqrepaint();
+ (*it)->repaint();
}
}
@@ -409,7 +409,7 @@ void KPager::slotActiveWindowChanged( WId win )
{
if ( (inf1 && inf1->isOnDesktop(i))
|| (inf2 && inf2->isOnDesktop(i) ) )
- m_desktops[i-1]->tqrepaint(false);
+ m_desktops[i-1]->repaint(false);
}
}
@@ -422,7 +422,7 @@ void KPager::slotWindowAdded( WId win)
for ( int i=1; i <= (int) m_desktops.count(); ++i)
{
if ( inf->isOnDesktop( i ))
- m_desktops[i-1]->tqrepaint(false);
+ m_desktops[i-1]->repaint(false);
}
}
@@ -438,14 +438,14 @@ void KPager::slotWindowRemoved( WId win )
for (int i = 1; i <= (int) m_desktops.count(); ++i)
{
if (onAllDesktops || desktop == i)
- m_desktops[i-1]->tqrepaint(false);
+ m_desktops[i-1]->repaint(false);
}
}
}
void KPager::slotWindowChanged( WId win , unsigned int prop)
{
- bool tqrepaint=false;
+ bool repaint=false;
KWin::WindowInfo* inf = m_windows[win];
if (!inf)
@@ -453,7 +453,7 @@ void KPager::slotWindowChanged( WId win , unsigned int prop)
inf=info(win);
prop=0; // info already calls KWin::info, so there's no need
// to update anything else.
- tqrepaint=true;
+ repaint=true;
};
bool onAllDesktops = inf ? inf->onAllDesktops() : false;
@@ -466,15 +466,15 @@ void KPager::slotWindowChanged( WId win , unsigned int prop)
}
if((prop & ~( NET::WMName | NET::WMVisibleName )) != 0 )
- tqrepaint = true;
+ repaint = true;
- if (tqrepaint)
+ if (repaint)
for ( int i=1; i <= (int) m_desktops.count(); ++i)
{
if ((inf && (inf->isOnDesktop(i)))
|| onAllDesktops || desktop == i )
{
- m_desktops[i-1]->tqrepaint(false);
+ m_desktops[i-1]->repaint(false);
}
}
// redrawDesktops();
@@ -485,9 +485,9 @@ void KPager::slotStackingOrderChanged()
m_desktops[m_currentDesktop-1]->m_grabWindows=true;
for ( int i=1; i <= (int) m_desktops.count(); ++i)
{
- m_desktops[i-1]->tqrepaint(false);
+ m_desktops[i-1]->repaint(false);
}
-// tqrepaint(true);
+// repaint(true);
}
void KPager::slotDesktopNamesChanged()
@@ -547,8 +547,8 @@ void KPager::slotCurrentDesktopChanged(int desk)
m_desktops[m_currentDesktop-1]->update();
m_desktops[desk-1]->paintFrame( true );
m_desktops[desk-1]->update();
-// m_desktops[m_currentDesktop-1]->tqrepaint();
-// m_desktops[desk-1]->tqrepaint();
+// m_desktops[m_currentDesktop-1]->repaint();
+// m_desktops[desk-1]->repaint();
m_currentDesktop=desk;
@@ -643,13 +643,13 @@ void KPager::redrawDesktops()
{
TQValueList <Desktop *>::Iterator it;
for( it = m_desktops.begin(); it != m_desktops.end(); ++it )
- (*it)->tqrepaint();
+ (*it)->repaint();
}
void KPager::slotGrabWindows()
{
m_desktops[m_currentDesktop-1]->m_grabWindows=true;
- m_desktops[m_currentDesktop-1]->tqrepaint();
+ m_desktops[m_currentDesktop-1]->repaint();
}
TQSize KPager::sizeHint() const