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/mainwidget.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/mainwidget.cpp')
| -rw-r--r-- | src/mainwidget.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mainwidget.cpp b/src/mainwidget.cpp index e355677..238e285 100644 --- a/src/mainwidget.cpp +++ b/src/mainwidget.cpp @@ -122,7 +122,7 @@ void MainWidget::loadManPage( ) void MainWidget::readSettings( ) { m_htmlWidget->readSettings( ); - TDEConfig* config = kapp->config( ); + TDEConfig* config = tdeApp->config( ); config->setGroup( "General" ); m_stylesheetURLs = config->readListEntry( "stylesheetURLs" ); @@ -151,7 +151,7 @@ void MainWidget::readSettings( ) if( visibleScanWidget == NULL ) { KMessageBox::error( this, i18n( "Internal error - no ScanWidget to display!" ), i18n( "Internal error" )); - kapp->quit( ); + tdeApp->quit( ); } } @@ -188,7 +188,7 @@ void MainWidget::saveSettings( ) } TQValueList<int> splitterSizes = sizes( ); - TDEConfig* config = kapp->config( ); + TDEConfig* config = tdeApp->config( ); config->setGroup( "General" ); config->writeEntry( "scanNames", scanNames ); |
