From e4e0479220e9e9616b68b2a11e42cff7a8af7b3d Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Sun, 20 Jan 2013 00:17:06 -0600 Subject: Rename KApplication to TDEApplication to avoid conflicts with KDE4 --- twin/geometry.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'twin/geometry.cpp') diff --git a/twin/geometry.cpp b/twin/geometry.cpp index 4215ec38f..9e99bb749 100644 --- a/twin/geometry.cpp +++ b/twin/geometry.cpp @@ -42,7 +42,7 @@ namespace KWinInternal void Workspace::desktopResized() { //printf("Workspace::desktopResized()\n\r"); - TQRect geom = KApplication::desktop()->geometry(); + TQRect geom = TDEApplication::desktop()->geometry(); NETSize desktop_geometry; desktop_geometry.width = geom.width(); desktop_geometry.height = geom.height(); @@ -58,7 +58,7 @@ void Workspace::desktopResized() void Workspace::kDestopResized() { //printf("Workspace::kDesktopResized()\n\r"); - TQRect geom = KApplication::desktop()->geometry(); + TQRect geom = TDEApplication::desktop()->geometry(); NETSize desktop_geometry; desktop_geometry.width = geom.width(); desktop_geometry.height = geom.height(); @@ -82,7 +82,7 @@ void Workspace::kDestopResized() void Workspace::updateClientArea( bool force ) { - TQDesktopWidget *desktopwidget = KApplication::desktop(); + TQDesktopWidget *desktopwidget = TDEApplication::desktop(); int nscreens = desktopwidget -> numScreens (); // kdDebug () << "screens: " << nscreens << endl; TQRect* new_wareas = new TQRect[ numberOfDesktops() + 1 ]; @@ -295,7 +295,7 @@ TQRect Workspace::clientArea( clientAreaOption opt, int screen, int desktop ) co TQRect Workspace::clientArea( clientAreaOption opt, const TQPoint& p, int desktop ) const { - TQDesktopWidget *desktopwidget = KApplication::desktop(); + TQDesktopWidget *desktopwidget = TDEApplication::desktop(); int screen = desktopwidget->screenNumber( p ); if( screen < 0 ) screen = desktopwidget->primaryScreen(); -- cgit v1.2.1