|
|
|
@ -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());
|
|
|
|
|
|
|
|
|
|