summaryrefslogtreecommitdiffstats
path: root/ksirc/KSPrefs/page_font.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-15 15:49:40 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-15 15:49:40 -0600
commit808e453c56036211f57482ed847d54aca01bba68 (patch)
tree75515d5768dea10d4fbe4cd772e0a89c1c4b3aa9 /ksirc/KSPrefs/page_font.cpp
parentcd9b9ed7fd0ac8a75106148254aa58e2e5c04863 (diff)
downloadtdenetwork-808e453c56036211f57482ed847d54aca01bba68.tar.gz
tdenetwork-808e453c56036211f57482ed847d54aca01bba68.zip
Rename a number of old tq methods that are no longer tq specific
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 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 )