From fd3a982e26813f5bcc82c7e89ce6fa2ad44432bf Mon Sep 17 00:00:00 2001 From: tpearson Date: Fri, 7 Jan 2011 04:10:07 +0000 Subject: Revert automated changes Sorry guys, they are just not ready for prime time Work will continue as always git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1212480 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kdesktop/bgmanager.cc | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'kdesktop/bgmanager.cc') diff --git a/kdesktop/bgmanager.cc b/kdesktop/bgmanager.cc index 3c81e26db..6d106a484 100644 --- a/kdesktop/bgmanager.cc +++ b/kdesktop/bgmanager.cc @@ -334,7 +334,7 @@ void KBackgroundManager::slotChangeNumberOfDesktops(int num) /* * Call this when the desktop has been changed. * Desk is in KWin convention: [1..desks], instead of [0..desks-1]. - * 0 tqrepaints the current desktop. + * 0 repaints the current desktop. */ void KBackgroundManager::slotChangeDesktop(int desk) { @@ -394,7 +394,7 @@ void KBackgroundManager::slotChangeDesktop(int desk) /* * Call this when the viewport has been changed. * Desk is in KWin convention: [1..desks], instead of [0..desks-1]. - * 0 tqrepaints the current viewport. + * 0 repaints the current viewport. */ void KBackgroundManager::slotChangeViewport(int desk, const TQPoint& viewport) { @@ -518,11 +518,11 @@ void KBackgroundManager::setPixmap(KPixmap *pm, int hash, int desk) { TQScrollView* sv = dynamic_cast( m_pDesktop ); if ( sv ) { - // Qt eats tqrepaint events in this case :-(( + // Qt eats repaint events in this case :-(( sv->viewport()->update(); } m_pDesktop->setErasePixmap(*ep); - m_pDesktop->tqrepaint(); + m_pDesktop->repaint(); static bool root_cleared = false; if( !root_cleared ) { // clear the root window pixmap set by kdm @@ -920,10 +920,10 @@ void KBackgroundManager::setWallpaper(int desk, TQString wallpaper, int mode) slotChangeDesktop(sdesk); } -void KBackgroundManager::tqrepaintBackground() +void KBackgroundManager::repaintBackground() { if (m_pDesktop) - m_pDesktop->tqrepaint(); + m_pDesktop->repaint(); else KApplication::desktop()->screen()->erase(); } @@ -952,10 +952,10 @@ void KBackgroundManager::desktopResized() m_Hash = 0; if( m_pDesktop ) - m_pDesktop->resize( kapp->desktop()->tqgeometry().size()); + m_pDesktop->resize( kapp->desktop()->geometry().size()); // Repaint desktop slotChangeDesktop(0); - tqrepaintBackground(); + repaintBackground(); // Redraw all desktops so that applications relying on exported data, e.g. kpager, continue to work properly TQSize s(m_pKwinmodule->numberOfViewports(m_pKwinmodule->currentDesktop())); -- cgit v1.2.3