summaryrefslogtreecommitdiffstats
path: root/digikam/imageplugins
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-12-07 16:38:41 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-12-09 15:42:06 +0900
commitdfb59e25d9709d5fb6f8190ff86eee1718b7d13b (patch)
treef16eef1ac1d7d2ca9b22008fc143802fb57fda36 /digikam/imageplugins
parent8fa69390401403aa6a13eeb44f3daaf303f0ef08 (diff)
downloaddigikam-dfb59e25d9709d5fb6f8190ff86eee1718b7d13b.tar.gz
digikam-dfb59e25d9709d5fb6f8190ff86eee1718b7d13b.zip
Replaced various '#define' with actual strings - part 6
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 375a163957c4bfae0cacfd7794f1597e65e59eb7)
Diffstat (limited to 'digikam/imageplugins')
-rw-r--r--digikam/imageplugins/coreplugin/sharpnesseditor/sharpentool.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/digikam/imageplugins/coreplugin/sharpnesseditor/sharpentool.cpp b/digikam/imageplugins/coreplugin/sharpnesseditor/sharpentool.cpp
index b2a82398..7ec52f45 100644
--- a/digikam/imageplugins/coreplugin/sharpnesseditor/sharpentool.cpp
+++ b/digikam/imageplugins/coreplugin/sharpnesseditor/sharpentool.cpp
@@ -679,7 +679,7 @@ void SharpenTool::putFinalData()
void SharpenTool::slotLoadSettings()
{
KURL loadRestorationFile = KFileDialog::getOpenURL(TDEGlobalSettings::documentPath(),
- TQString( "*" ), TQT_TQWIDGET(kapp->activeWindow()),
+ TQString( "*" ), kapp->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(TQT_TQWIDGET(kapp->activeWindow()),
+ KMessageBox::error(kapp->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(TQT_TQWIDGET(kapp->activeWindow()), i18n("Cannot load settings from the Photograph Refocus text file."));
+ KMessageBox::error(kapp->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( "*" ), TQT_TQWIDGET(kapp->activeWindow()),
+ TQString( "*" ), kapp->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(TQT_TQWIDGET(kapp->activeWindow()), i18n("Cannot save settings to the Photograph Refocus text file."));
+ KMessageBox::error(kapp->activeWindow(), i18n("Cannot save settings to the Photograph Refocus text file."));
file.close();
}