summaryrefslogtreecommitdiffstats
path: root/ksirc/KSPrefs/page_font.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ksirc/KSPrefs/page_font.cpp')
-rw-r--r--ksirc/KSPrefs/page_font.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/ksirc/KSPrefs/page_font.cpp b/ksirc/KSPrefs/page_font.cpp
index 5ea0dd9b..d320a3f5 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)
{
- layout = new TQHBoxLayout(this);
+ tqlayout = new TQHBoxLayout(this);
fontchooser = new KFontChooser(this);
- layout->addWidget(fontchooser);
+ tqlayout->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::setFont(fontchooser->font(), true, "KSirc::TextView" );
+ TQApplication::tqsetFont(fontchooser->font(), true, "KSirc::TextView" );
}
void PageFont::readConfig( const KSOColors * opts )