diff options
| author | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-01-21 17:20:19 +0900 |
|---|---|---|
| committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-01-21 17:20:19 +0900 |
| commit | 988c8e0a88b3b7418865247fd663dfe77e4422c4 (patch) | |
| tree | 6b318fa901bdc49f431ba41a1e48f6cb2e7955f9 /src/htmlwidget.cpp | |
| parent | c9260f2315b936aeb09fa117c965e8c603598d4d (diff) | |
| download | knmap-988c8e0a88b3b7418865247fd663dfe77e4422c4.tar.gz knmap-988c8e0a88b3b7418865247fd663dfe77e4422c4.zip | |
Use tdeApp
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'src/htmlwidget.cpp')
| -rw-r--r-- | src/htmlwidget.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/htmlwidget.cpp b/src/htmlwidget.cpp index 6c4cb8c..651fc85 100644 --- a/src/htmlwidget.cpp +++ b/src/htmlwidget.cpp @@ -118,7 +118,7 @@ void HTMLWidget::loadManPage( const bool localManPage ) // ============ void HTMLWidget::readSettings( ) -{ TDEConfig* config = kapp->config( ); +{ TDEConfig* config = tdeApp->config( ); config->setGroup( "General" ); m_zoomFactor = config->readDoubleNumEntry( "zoomFactor", 100.0 ); m_stylesheetURL.setPath( config->readPathEntry( "stylesheetURL" )); @@ -136,7 +136,7 @@ void HTMLWidget::resizeEvent( TQResizeEvent* event ) // ============ void HTMLWidget::saveSettings( ) -{ TDEConfig* config = kapp->config( ); +{ TDEConfig* config = tdeApp->config( ); config->setGroup( "General" ); config->writeEntry( "stylesheetURL", m_stylesheetURL.path( )); config->writeEntry( "zoomFactor", m_zoomFactor ); |
