diff options
Diffstat (limited to 'ksirc/KSPrefs/page_font.cpp')
-rw-r--r-- | ksirc/KSPrefs/page_font.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ksirc/KSPrefs/page_font.cpp b/ksirc/KSPrefs/page_font.cpp index d320a3f5..5ea0dd9b 100644 --- a/ksirc/KSPrefs/page_font.cpp +++ b/ksirc/KSPrefs/page_font.cpp @@ -3,9 +3,9 @@ PageFont::PageFont( TQWidget *parent, const char *name ) : TQWidget( parent, name) { - tqlayout = new TQHBoxLayout(this); + layout = new TQHBoxLayout(this); fontchooser = new KFontChooser(this); - tqlayout->addWidget(fontchooser); + layout->addWidget(fontchooser); connect(fontchooser,TQT_SIGNAL(fontSelected ( const TQFont&)), this, TQT_SLOT(update())); } @@ -21,7 +21,7 @@ void PageFont::update( void ){ void PageFont::saveConfig( void ) { ksopts->defaultFont = fontchooser->font(); - TQApplication::tqsetFont(fontchooser->font(), true, "KSirc::TextView" ); + TQApplication::setFont(fontchooser->font(), true, "KSirc::TextView" ); } void PageFont::readConfig( const KSOColors * opts ) |