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.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/ksirc/KSPrefs/page_font.cpp b/ksirc/KSPrefs/page_font.cpp
index 5ea0dd9b..d10f8925 100644
--- a/ksirc/KSPrefs/page_font.cpp
+++ b/ksirc/KSPrefs/page_font.cpp
@@ -1,11 +1,11 @@
#include "page_font.h"
#include "tqapplication.h"
-PageFont::PageFont( TQWidget *parent, const char *name ) :
- TQWidget( parent, name)
+PageFont::PageFont( TQWidget *tqparent, const char *name ) :
+ TQWidget( tqparent, 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 )