diff options
| author | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-01-21 14:25:31 +0900 |
|---|---|---|
| committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-02-03 22:24:26 +0900 |
| commit | edfc85e62cba9be0a16a44c060141f33d0f28481 (patch) | |
| tree | cf90faf51aca0a8e89f7fbdcbfcc11b02f3021b5 /src/imageplugins/coreplugin/sharpnesseditor/sharpentool.cpp | |
| parent | 0bf733ec1780acd7d7f0122559029e09001b840e (diff) | |
| download | digikam-edfc85e62cba9be0a16a44c060141f33d0f28481.tar.gz digikam-edfc85e62cba9be0a16a44c060141f33d0f28481.zip | |
Use tdeApp
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'src/imageplugins/coreplugin/sharpnesseditor/sharpentool.cpp')
| -rw-r--r-- | src/imageplugins/coreplugin/sharpnesseditor/sharpentool.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/imageplugins/coreplugin/sharpnesseditor/sharpentool.cpp b/src/imageplugins/coreplugin/sharpnesseditor/sharpentool.cpp index aee5d841..de0a3d3c 100644 --- a/src/imageplugins/coreplugin/sharpnesseditor/sharpentool.cpp +++ b/src/imageplugins/coreplugin/sharpnesseditor/sharpentool.cpp @@ -375,7 +375,7 @@ void SharpenTool::slotSharpMethodActived(int w) void SharpenTool::readSettings() { - TDEConfig* config = kapp->config(); + TDEConfig* config = tdeApp->config(); config->setGroup("sharpen Tool"); m_radiusInput->blockSignals(true); m_radiusInput2->blockSignals(true); @@ -415,7 +415,7 @@ void SharpenTool::readSettings() void SharpenTool::writeSettings() { - TDEConfig* config = kapp->config(); + TDEConfig* config = tdeApp->config(); config->setGroup("sharpen Tool"); config->writeEntry("SimpleSharpRadiusAjustment", m_radiusInput->value()); config->writeEntry("UnsharpMaskRadiusAjustment", m_radiusInput2->value()); @@ -679,7 +679,7 @@ void SharpenTool::putFinalData() void SharpenTool::slotLoadSettings() { KURL loadRestorationFile = KFileDialog::getOpenURL(TDEGlobalSettings::documentPath(), - TQString( "*" ), kapp->activeWindow(), + TQString( "*" ), tdeApp->activeWindow(), TQString( i18n("Photograph Refocus Settings File to Load")) ); if ( loadRestorationFile.isEmpty() ) return; @@ -691,7 +691,7 @@ void SharpenTool::slotLoadSettings() TQTextStream stream( &file ); if ( stream.readLine() != "# Photograph Refocus Configuration File" ) { - KMessageBox::error(kapp->activeWindow(), + KMessageBox::error(tdeApp->activeWindow(), i18n("\"%1\" is not a Photograph Refocus settings text file.") .arg(loadRestorationFile.fileName())); file.close(); @@ -707,7 +707,7 @@ void SharpenTool::slotLoadSettings() blockSignals(false); } else - KMessageBox::error(kapp->activeWindow(), i18n("Cannot load settings from the Photograph Refocus text file.")); + KMessageBox::error(tdeApp->activeWindow(), i18n("Cannot load settings from the Photograph Refocus text file.")); file.close(); } @@ -715,7 +715,7 @@ void SharpenTool::slotLoadSettings() void SharpenTool::slotSaveAsSettings() { KURL saveRestorationFile = KFileDialog::getSaveURL(TDEGlobalSettings::documentPath(), - TQString( "*" ), kapp->activeWindow(), + TQString( "*" ), tdeApp->activeWindow(), TQString( i18n("Photograph Refocus Settings File to Save")) ); if ( saveRestorationFile.isEmpty() ) return; @@ -733,7 +733,7 @@ void SharpenTool::slotSaveAsSettings() stream << m_noise->value() << "\n"; } else - KMessageBox::error(kapp->activeWindow(), i18n("Cannot save settings to the Photograph Refocus text file.")); + KMessageBox::error(tdeApp->activeWindow(), i18n("Cannot save settings to the Photograph Refocus text file.")); file.close(); } |
