diff options
Diffstat (limited to 'tools/assistant/config.cpp')
-rw-r--r-- | tools/assistant/config.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/tools/assistant/config.cpp b/tools/assistant/config.cpp index e47e38bdc..ad7e7edda 100644 --- a/tools/assistant/config.cpp +++ b/tools/assistant/config.cpp @@ -53,7 +53,7 @@ inline TQString getVersionString() Config::Config() : hideSidebar( FALSE ), profil( 0 ), maximized(FALSE) { - fontSiz = qApp->font().pointSize(); + fontSiz = tqApp->font().pointSize(); if( !static_configuration ) { static_configuration = this; } else { @@ -120,13 +120,13 @@ void Config::load() linkCol = settings.readEntry( key + "LinkColor", "#0000FF" ); src = settings.readListEntry( profkey + "Source" ); sideBar = settings.readNumEntry( key + "SideBarPage" ); - if (qApp->type() != TQApplication::Tty) { - fontFam = settings.readEntry( key + "Family", qApp->font().family() ); + if (tqApp->type() != TQApplication::Tty) { + fontFam = settings.readEntry( key + "Family", tqApp->font().family() ); fontFix = settings.readEntry( key + "FixedFamily", "courier" ); fontSiz = settings.readNumEntry( key + "Size", -1 ); if ( fontSiz < 4 ) { - fontSiz = qApp->font().pointSize(); + fontSiz = tqApp->font().pointSize(); } geom.setRect( settings.readNumEntry( key + "GeometryX", TQApplication::desktop()->availableGeometry().x() ), @@ -162,14 +162,14 @@ void Config::saveSettings() settings.writeEntry( key + "LinkColor", linkCol ); settings.writeEntry( profkey + "Source", src ); settings.writeEntry( key + "SideBarPage", sideBarPage() ); - if (qApp->type() != TQApplication::Tty) { + if (tqApp->type() != TQApplication::Tty) { settings.writeEntry( key + "GeometryX", geom.x() ); settings.writeEntry( key + "GeometryY", geom.y() ); settings.writeEntry( key + "GeometryWidth", geom.width() ); settings.writeEntry( key + "GeometryHeight", geom.height() ); settings.writeEntry( key + "GeometryMaximized", maximized ); settings.writeEntry( key + "Family", fontFam ); - settings.writeEntry( key + "Size", fontSiz < 4 ? qApp->font().pointSize() : fontSiz ); + settings.writeEntry( key + "Size", fontSiz < 4 ? tqApp->font().pointSize() : fontSiz ); settings.writeEntry( key + "FixedFamily", fontFix ); } if ( !hideSidebar ) |