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/scanwidget.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/scanwidget.cpp')
| -rw-r--r-- | src/scanwidget.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/scanwidget.cpp b/src/scanwidget.cpp index 4f0bfd2..9a85ef1 100644 --- a/src/scanwidget.cpp +++ b/src/scanwidget.cpp @@ -651,9 +651,9 @@ void ScanWidget::profileLoad( ) // =========== void ScanWidget::profileRead( ) -{ TDEConfig* config = kapp->config( ); +{ TDEConfig* config = tdeApp->config( ); - kapp->config( )->setGroup( m_profileName ); + tdeApp->config( )->setGroup( m_profileName ); m_commonWidget->readProfile( config ); m_compoundWidget->readProfile( config ); m_loggingWidget->readProfile( config ); @@ -688,7 +688,7 @@ void ScanWidget::profileSave( ) if( KMessageBox::Yes != KMessageBox::questionYesNo( this, i18n( "Do you still want to save the profile? (It may be in an inconsistent state." ), i18n( "Save inconsistent profile" ))) return; - TDEConfig* config = kapp->config( ); + TDEConfig* config = tdeApp->config( ); config->setGroup( m_profileName ); m_commonWidget->saveProfile( config ); @@ -729,7 +729,7 @@ void ScanWidget::profileSaveAs( ) // ============ void ScanWidget::readSettings( ) -{ TDEConfig* config = kapp->config( ); +{ TDEConfig* config = tdeApp->config( ); config->setGroup( m_scanName ); m_profileName = config->readEntry( "profileName", DEFAULT_PROFILE ); @@ -740,7 +740,7 @@ void ScanWidget::readSettings( ) // ========== void ScanWidget::renameScan( const TQString& newScanName ) -{ kapp->config( )->deleteGroup( m_scanName ); +{ tdeApp->config( )->deleteGroup( m_scanName ); m_scanName = newScanName; } @@ -748,7 +748,7 @@ void ScanWidget::renameScan( const TQString& newScanName ) // =============== void ScanWidget::saveProfileName( ) -{ TDEConfig* config = kapp->config( ); +{ TDEConfig* config = tdeApp->config( ); config->setGroup( m_scanName ); config->writeEntry( "profileName", m_profileName ); } |
