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 --- kdialog/widgets.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'kdialog/widgets.cpp') diff --git a/kdialog/widgets.cpp b/kdialog/widgets.cpp index d663d1bc3..536ffadce 100644 --- a/kdialog/widgets.cpp +++ b/kdialog/widgets.cpp @@ -47,9 +47,9 @@ void Widgets::handleXGeometry(TQWidget * dlg) int w, h; int m = XParseGeometry( kapp->geometryArgument().latin1(), &x, &y, (unsigned int*)&w, (unsigned int*)&h); if ( (m & XNegative) ) - x = KApplication::desktop()->width() + x - w; + x = TDEApplication::desktop()->width() + x - w; if ( (m & YNegative) ) - y = KApplication::desktop()->height() + y - h; + y = TDEApplication::desktop()->height() + y - h; dlg->setGeometry(x, y, w, h); // kdDebug() << "x: " << x << " y: " << y << " w: " << w << " h: " << h << endl; } -- cgit v1.2.3