Use tdeApp

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
master
Michele Calgaro 1 month ago
parent 51c9320086
commit d27e729109
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -45,7 +45,7 @@ ThemeMoodin::ThemeMoodin(TQWidget* parent, const char* name, const TQStringList&
void ThemeMoodin::readSettings()
{
const TQRect screen = kapp->desktop()->screenGeometry(mTheme->xineramaScreen());
const TQRect screen = tdeApp->desktop()->screenGeometry(mTheme->xineramaScreen());
if (!mTheme)
return;
@ -92,7 +92,7 @@ void ThemeMoodin::readSettings()
// so we can centre icons, JRiddell
int iconX = mBaseResolution.width();
int iconY = mBaseResolution.height();
TQRect defaultScreen = kapp->desktop()->screenGeometry(0);
TQRect defaultScreen = tdeApp->desktop()->screenGeometry(0);
float scaleRatioWidth = ((float)mBaseResolution.width()) / ((float)defaultScreen.width());
// unused. float scaleRatioHeight = ((float)mBaseResolution.height()) / ((float)desktopWidget.height());

Loading…
Cancel
Save