summaryrefslogtreecommitdiffstats
path: root/tools/assistant/config.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-02-27 02:13:42 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-02-27 02:13:42 -0600
commit520c05ef06ce203ad32470730f68402bc7719157 (patch)
tree8d0bb18bbbecb4c837e232848905e5819db84b81 /tools/assistant/config.cpp
parentb82553bf90cb5311cfe8e673b07cf6cffc95fd3c (diff)
downloadtqt3-520c05ef06ce203ad32470730f68402bc7719157.tar.gz
tqt3-520c05ef06ce203ad32470730f68402bc7719157.zip
Automated update from qt3
Diffstat (limited to 'tools/assistant/config.cpp')
-rw-r--r--tools/assistant/config.cpp12
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 )